summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorNoel <noelgrandin@gmail.com>2020-10-02 16:27:46 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-10-03 08:13:29 +0200
commit547b1d054162a73d49a828bed140ab8671da2ff8 (patch)
treed1e2f14c39440d678ba27cb5bd52ab91e8e499d0 /oox
parent1f40a488fcf95f90fdd18c41ef7041d475cf08a2 (diff)
use more TOOLS_WARN_EXCEPTION
Change-Id: I8b5cde993c13e0b7c8c830b1ff698933a6b7cfd0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103863 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'oox')
-rw-r--r--oox/source/drawingml/textparagraphpropertiescontext.cxx5
-rw-r--r--oox/source/ppt/timenodelistcontext.cxx3
2 files changed, 5 insertions, 3 deletions
diff --git a/oox/source/drawingml/textparagraphpropertiescontext.cxx b/oox/source/drawingml/textparagraphpropertiescontext.cxx
index 17fd33cd7081..b58d8952ca76 100644
--- a/oox/source/drawingml/textparagraphpropertiescontext.cxx
+++ b/oox/source/drawingml/textparagraphpropertiescontext.cxx
@@ -25,6 +25,7 @@
#include <svx/unopage.hxx>
#include <sal/log.hxx>
+#include <tools/diagnose_ex.h>
#include <drawingml/colorchoicecontext.hxx>
#include <drawingml/misccontexts.hxx>
@@ -222,7 +223,7 @@ ContextHandlerRef TextParagraphPropertiesContext::onCreateContext( sal_Int32 aEl
}
catch(SAXException& /* e */ )
{
- SAL_WARN("oox", "OOX: SAXException in XML_buAutoNum");
+ TOOLS_WARN_EXCEPTION("oox", "OOX: SAXException in XML_buAutoNum");
}
break;
}
@@ -234,7 +235,7 @@ ContextHandlerRef TextParagraphPropertiesContext::onCreateContext( sal_Int32 aEl
}
catch(SAXException& /* e */)
{
- SAL_WARN("oox", "OOX: SAXException in XML_buChar");
+ TOOLS_WARN_EXCEPTION("oox", "OOX: SAXException in XML_buChar");
}
break;
case A_TOKEN( buBlip ): // CT_TextBlipBullet
diff --git a/oox/source/ppt/timenodelistcontext.cxx b/oox/source/ppt/timenodelistcontext.cxx
index b13fbb9c9bf3..017b95673c84 100644
--- a/oox/source/ppt/timenodelistcontext.cxx
+++ b/oox/source/ppt/timenodelistcontext.cxx
@@ -21,6 +21,7 @@
#include <rtl/math.hxx>
#include <sal/log.hxx>
+#include <tools/diagnose_ex.h>
#include <com/sun/star/animations/AnimationTransformType.hpp>
#include <com/sun/star/animations/AnimationCalcMode.hpp>
@@ -333,7 +334,7 @@ namespace oox::ppt {
}
catch( RuntimeException& )
{
- SAL_WARN("oox.ppt", "OOX: Exception in CmdTimeNodeContext::endFastElement()" );
+ TOOLS_WARN_EXCEPTION("oox.ppt", "OOX: Exception in CmdTimeNodeContext::endFastElement()" );
}
}