svx/source/unodraw/unoshape.cxx | 5 ----- 1 file changed, 5 deletions(-)
New commits: commit 123a0ef011f5627b213aef0a20215970ada30fe6 Author: Noel Grandin <noel.gran...@collabora.co.uk> AuthorDate: Fri Oct 20 10:40:11 2023 +0200 Commit: Noel Grandin <noel.gran...@collabora.co.uk> CommitDate: Fri Oct 20 13:26:23 2023 +0200 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.gran...@collabora.co.uk> 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(