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

Pelin Kuran (via logerrit) logerrit at kemper.freedesktop.org
Fri Feb 28 06:15:53 UTC 2020


 sd/source/ui/animations/STLPropertySet.cxx |   11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

New commits:
commit d61cd023f549c41a48f2b7fbf821ad547897ae8a
Author:     Pelin Kuran <pelinrkuran at gmail.com>
AuthorDate: Sat Feb 22 17:10:20 2020 +0300
Commit:     Mike Kaganski <mike.kaganski at collabora.com>
CommitDate: Fri Feb 28 07:15:21 2020 +0100

    tdf#43157: Clean up OSL_ASSERT, DBG_ASSERT, etc.
    
    Change-Id: I07bafce9360ea06bf7053f1c1f76a0e2a9559079
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89256
    Reviewed-by: Mike Kaganski <mike.kaganski at collabora.com>
    Tested-by: Jenkins

diff --git a/sd/source/ui/animations/STLPropertySet.cxx b/sd/source/ui/animations/STLPropertySet.cxx
index d7dff8df1a05..592d7639cd5d 100644
--- a/sd/source/ui/animations/STLPropertySet.cxx
+++ b/sd/source/ui/animations/STLPropertySet.cxx
@@ -18,8 +18,7 @@
  */
 
 #include "STLPropertySet.hxx"
-
-#include <osl/diagnose.h>
+#include <sal/log.hxx>
 
 using com::sun::star::uno::Any;
 
@@ -50,7 +49,7 @@ void STLPropertySet::setPropertyValue( sal_Int32 nHandle, const Any& rValue )
     }
     else
     {
-        OSL_FAIL( "sd::STLPropertySet::setPropertyValue(), unknown property!" );
+        SAL_WARN("sd", "sd::STLPropertySet::setPropertyValue(), unknown property!");
     }
 }
 
@@ -63,7 +62,7 @@ Any STLPropertySet::getPropertyValue( sal_Int32 nHandle ) const
     }
     else
     {
-        OSL_FAIL( "sd::STLPropertySet::setPropertyValue(), unknown property!" );
+        SAL_WARN("sd", "sd::STLPropertySet::getPropertyValue(), unknown property!");
 
         Any aAny;
         return aAny;
@@ -79,7 +78,7 @@ STLPropertyState STLPropertySet::getPropertyState( sal_Int32 nHandle ) const
     }
     else
     {
-        OSL_FAIL( "sd::STLPropertySet::setPropertyState(), unknown property!" );
+        SAL_WARN("sd", "sd::STLPropertySet::getPropertyState(), unknown property!");
         return STLPropertyState::Ambiguous;
     }
 }
@@ -93,7 +92,7 @@ void STLPropertySet::setPropertyState( sal_Int32 nHandle, STLPropertyState nStat
     }
     else
     {
-        OSL_FAIL( "sd::STLPropertySet::setPropertyState(), unknown property!" );
+        SAL_WARN("sd","sd::STLPropertySet::setPropertyState(), unknown property!");
     }
 }
 


More information about the Libreoffice-commits mailing list