sw/source/core/unocore/unocontentcontrol.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit c6b15cdf99a84808f0747ac11127c4f3997f2600 Author: Julien Nabet <serval2...@yahoo.fr> AuthorDate: Sun Apr 3 09:40:07 2022 +0200 Commit: Miklos Vajna <vmik...@collabora.com> CommitDate: Sun Apr 3 13:30:26 2022 +0200 cid#1503361: Incorrect expression (USELESS_CALL) Since 5da08b21cd23f2e70f5003733b03a7aee7915225 sw content controls: add UNO API to insert this with custom props Change-Id: Id1ebcbe99df9a4d3a06b6714a471a686602f15ef Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132470 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmik...@collabora.com> diff --git a/sw/source/core/unocore/unocontentcontrol.cxx b/sw/source/core/unocore/unocontentcontrol.cxx index 2b431a20de96..bcd3be6de895 100644 --- a/sw/source/core/unocore/unocontentcontrol.cxx +++ b/sw/source/core/unocore/unocontentcontrol.cxx @@ -691,7 +691,7 @@ uno::Any SAL_CALL SwXContentControl::getPropertyValue(const OUString& rPropertyN } else { - m_pImpl->m_pContentControl->GetShowingPlaceHolder(); + aRet <<= m_pImpl->m_pContentControl->GetShowingPlaceHolder(); } } else