diff options
Diffstat (limited to 'xmloff/source')
-rw-r--r-- | xmloff/source/core/ProgressBarHelper.cxx | 4 | ||||
-rw-r--r-- | xmloff/source/core/SettingsExportHelper.cxx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/xmloff/source/core/ProgressBarHelper.cxx b/xmloff/source/core/ProgressBarHelper.cxx index 3ff70fb0434d..9f2ddcd585c3 100644 --- a/xmloff/source/core/ProgressBarHelper.cxx +++ b/xmloff/source/core/ProgressBarHelper.cxx @@ -20,7 +20,7 @@ #include <utility> #include <xmloff/ProgressBarHelper.hxx> -#include <osl/diagnose.h> +#include <sal/log.hxx> using namespace ::com::sun::star; @@ -99,7 +99,7 @@ void ProgressBarHelper::SetValue(sal_Int32 nTempValue) #ifdef DBG_UTIL else if (!m_bFailure) { - OSL_FAIL("tried to set a wrong value on the progressbar"); + SAL_WARN("xmloff", "tried to set a wrong value (" << nTempValue << ") on the progressbar"); m_bFailure = true; } #endif diff --git a/xmloff/source/core/SettingsExportHelper.cxx b/xmloff/source/core/SettingsExportHelper.cxx index 3f6f87fa1bbb..db6f29a1512b 100644 --- a/xmloff/source/core/SettingsExportHelper.cxx +++ b/xmloff/source/core/SettingsExportHelper.cxx @@ -168,7 +168,7 @@ void XMLSettingsExportHelper::CallTypeFunction(const uno::Any& rAny, exportSymbolDescriptors(aProps, rName); } else { - OSL_FAIL("this type is not implemented now"); + SAL_WARN("xmloff", "this type (" << aType.getTypeName() << ") is not implemented now"); } } break; |