diff options
author | Aron Budea <aron.budea@collabora.com> | 2025-01-06 18:20:34 +1030 |
---|---|---|
committer | Aron Budea <aron.budea@collabora.com> | 2025-01-13 03:19:24 +0100 |
commit | 899d87a844c2aa2990df4a9268008960d8489379 (patch) | |
tree | ba4d7578edfb497eb21ea6076ab5cab4aede1dae /xmloff/source | |
parent | 6efdd1444810e132ba37379dd39afa6a3220f541 (diff) |
Slightly more informative logging
Change-Id: Ia474a208d5a562e424df76ff389cfcc4e3f2b1fc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/179817
Tested-by: Jenkins
Reviewed-by: Aron Budea <aron.budea@collabora.com>
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; |