diff options
author | Pelin Kuran <pelinrkuran@gmail.com> | 2020-02-22 17:10:20 +0300 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2020-02-28 07:15:21 +0100 |
commit | d61cd023f549c41a48f2b7fbf821ad547897ae8a (patch) | |
tree | f26631be1a01a65ed218102319393f2179572c3d /sd | |
parent | 7de2cc2248384693d1cd5a1611fbe1996ca259d5 (diff) |
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@collabora.com>
Tested-by: Jenkins
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/animations/STLPropertySet.cxx | 11 |
1 files changed, 5 insertions, 6 deletions
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!"); } } |