diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-10-20 10:40:11 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-10-20 13:26:23 +0200 |
commit | 123a0ef011f5627b213aef0a20215970ada30fe6 (patch) | |
tree | 4306c864cca40ba65e35affbf655b1273818b020 /svx/source/unodraw/unoshape.cxx | |
parent | c920605dd4c4520ab8ee80f9fb4746287835918c (diff) |
remove SAL_WARN in _setPropertyValue
since so much code higher level code is now just asking for random
properties and just catching the UnknownPropertyException for the cases
where the object does not support that property
Change-Id: I9198ec0c540252783015cffa088be30451f92c3d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158231
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx/source/unodraw/unoshape.cxx')
-rw-r--r-- | svx/source/unodraw/unoshape.cxx | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/svx/source/unodraw/unoshape.cxx b/svx/source/unodraw/unoshape.cxx index c7fb448fe575..45d1589728be 100644 --- a/svx/source/unodraw/unoshape.cxx +++ b/svx/source/unodraw/unoshape.cxx @@ -1506,12 +1506,7 @@ void SvxShape::_setPropertyValue( const OUString& rPropertyName, const uno::Any& } if (!pMap) - { - // reduce log noise by ignoring two properties that higher level code queries for on all objects - SAL_WARN_IF(rPropertyName != "FromWordArt" && rPropertyName != "GraphicColorMode", - "svx.uno", "Unknown Property: " << rPropertyName); throw beans::UnknownPropertyException( rPropertyName, getXWeak()); - } if ((pMap->nFlags & beans::PropertyAttribute::READONLY) != 0) throw beans::PropertyVetoException( |