diff options
author | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2017-11-17 10:45:19 +0100 |
---|---|---|
committer | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2017-11-21 14:27:06 +0100 |
commit | 0246bfaf132a275e10367a188a0f79549bdf69e4 (patch) | |
tree | a8ae539e32d593b35608c92db53d858a43f5f3ed /svx/source | |
parent | d4164c41a169a5dd60283eb9c2d8da56605dec67 (diff) |
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.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'svx/source')
-rw-r--r-- | svx/source/unodraw/unoshape.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
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( |