svx/source/unodraw/unoshape.cxx | 3 +++ 1 file changed, 3 insertions(+)
New commits: commit 0246bfaf132a275e10367a188a0f79549bdf69e4 Author: Samuel Mehrbrodt <samuel.mehrbr...@cib.de> Date: Fri Nov 17 10:45:19 2017 +0100 UNO: Emit warning when trying to set an unknown property Change-Id: I51afd43c1fd52c7be521f8884dd41cecde312981 Reviewed-on: https://gerrit.libreoffice.org/44872 Reviewed-by: Samuel Mehrbrodt <samuel.mehrbr...@cib.de> Tested-by: Samuel Mehrbrodt <samuel.mehrbr...@cib.de> diff --git a/svx/source/unodraw/unoshape.cxx b/svx/source/unodraw/unoshape.cxx index ed19d6b359bf..ec0cd05601e0 100644 --- a/svx/source/unodraw/unoshape.cxx +++ b/svx/source/unodraw/unoshape.cxx @@ -1616,7 +1616,10 @@ void SAL_CALL SvxShape::_setPropertyValue( const OUString& rPropertyName, const } if (!pMap) + { + SAL_WARN("svx.uno", "Unknown Property: " << rPropertyName); throw beans::UnknownPropertyException( rPropertyName, static_cast<cppu::OWeakObject*>(this)); + } if ((pMap->nFlags & beans::PropertyAttribute::READONLY) != 0) throw beans::PropertyVetoException( _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits