[Libreoffice-commits] core.git: svx/source

Noel Grandin (via logerrit) logerrit at kemper.freedesktop.org
Tue Feb 18 16:40:13 UTC 2020


 svx/source/unodraw/unoshape.cxx |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

New commits:
commit bf465ddb4057e04d17eb6ff9063b28a408b2d9b8
Author:     Noel Grandin <noel.grandin at collabora.co.uk>
AuthorDate: Tue Feb 18 15:10:42 2020 +0200
Commit:     Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Tue Feb 18 17:39:38 2020 +0100

    reduce log noise a little
    
    Change-Id: I5a5c2f70d416fd0daefa3a4a05c4cf1c73b214dc
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88936
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>

diff --git a/svx/source/unodraw/unoshape.cxx b/svx/source/unodraw/unoshape.cxx
index dacc9d6f9c33..5f395f19b105 100644
--- a/svx/source/unodraw/unoshape.cxx
+++ b/svx/source/unodraw/unoshape.cxx
@@ -1625,7 +1625,9 @@ void SvxShape::_setPropertyValue( const OUString& rPropertyName, const uno::Any&
 
     if (!pMap)
     {
-        SAL_WARN("svx.uno", "Unknown Property: " << rPropertyName);
+        // 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, static_cast<cppu::OWeakObject*>(this));
     }
 


More information about the Libreoffice-commits mailing list