sw/source/core/unocore/unocontentcontrol.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 0253955319d6672f80ef10e470d6d151f4900ad7 Author: Julien Nabet <[email protected]> AuthorDate: Sun Apr 3 09:40:07 2022 +0200 Commit: Miklos Vajna <[email protected]> CommitDate: Fri Apr 22 08:30:51 2022 +0200 cid#1503361: Incorrect expression (USELESS_CALL) Since 5da08b21cd23f2e70f5003733b03a7aee7915225 sw content controls: add UNO API to insert this with custom props (cherry picked from commit c6b15cdf99a84808f0747ac11127c4f3997f2600) Change-Id: Id1ebcbe99df9a4d3a06b6714a471a686602f15ef Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133242 Tested-by: Jenkins CollaboraOffice <[email protected]> Reviewed-by: Miklos Vajna <[email protected]> diff --git a/sw/source/core/unocore/unocontentcontrol.cxx b/sw/source/core/unocore/unocontentcontrol.cxx index 0bc60662995b..50369181c357 100644 --- a/sw/source/core/unocore/unocontentcontrol.cxx +++ b/sw/source/core/unocore/unocontentcontrol.cxx @@ -689,7 +689,7 @@ uno::Any SAL_CALL SwXContentControl::getPropertyValue(const OUString& rPropertyN } else { - m_pImpl->m_pContentControl->GetShowingPlaceHolder(); + aRet <<= m_pImpl->m_pContentControl->GetShowingPlaceHolder(); } } else
