summaryrefslogtreecommitdiff
path: root/xmloff/source/draw/sdxmlexp.cxx
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2020-10-04 09:06:43 +0300
committerMike Kaganski <mike.kaganski@collabora.com>2020-10-04 11:52:34 +0200
commit835dfcbbe54b3903084e3ba402bcf582bb2f092a (patch)
tree76c79325041cb34e39161fcc77d17899fafc1ba4 /xmloff/source/draw/sdxmlexp.cxx
parentcf40efa7518fb78c6ec12a6fa2c0fef284fa2a87 (diff)
use more TOOLS_WARN_EXCEPTION
Change-Id: Iaa8f006526be2b16767f34ac0d7cd567314a50e3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103908 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'xmloff/source/draw/sdxmlexp.cxx')
-rw-r--r--xmloff/source/draw/sdxmlexp.cxx11
1 files changed, 6 insertions, 5 deletions
diff --git a/xmloff/source/draw/sdxmlexp.cxx b/xmloff/source/draw/sdxmlexp.cxx
index db5dafb4c3ae..7af35e0d4107 100644
--- a/xmloff/source/draw/sdxmlexp.cxx
+++ b/xmloff/source/draw/sdxmlexp.cxx
@@ -47,7 +47,7 @@
#include <com/sun/star/util/MeasureUnit.hpp>
#include <rtl/ustrbuf.hxx>
#include <sal/log.hxx>
-#include <osl/diagnose.h>
+#include <tools/diagnose_ex.h>
#include <tools/gen.hxx>
#include <sax/tools/converter.hxx>
#include <xmloff/xmlaustp.hxx>
@@ -1404,7 +1404,7 @@ HeaderFooterPageSettingsImpl SdXMLExport::ImpPrepDrawPageHeaderFooterDecls( cons
}
catch(const Exception&)
{
- OSL_FAIL( "SdXMLExport::ImpPrepDrawPageHeaderFooterDecls(), unexpected exception caught!" );
+ TOOLS_WARN_EXCEPTION("xmloff.draw", "");
}
return aSettings;
@@ -1979,7 +1979,7 @@ void SdXMLExport::exportPresentationSettings()
}
catch(const uno::Exception&)
{
- OSL_FAIL( "uno::Exception while exporting <presentation:settings>" );
+ TOOLS_WARN_EXCEPTION("xmloff.draw", "while exporting <presentation:settings>");
}
}
@@ -2490,7 +2490,8 @@ void SdXMLExport::collectAnnotationAutoStyles( const Reference<XDrawPage>& xDraw
}
catch(const Exception&)
{
- OSL_FAIL("SdXMLExport::collectAnnotationAutoStyles(), exception caught during export of annotation auto styles");
+ TOOLS_WARN_EXCEPTION("xmloff.draw",
+ "exception caught during export of annotation auto styles");
}
}
@@ -2582,7 +2583,7 @@ void SdXMLExport::exportAnnotations( const Reference<XDrawPage>& xDrawPage )
}
catch(const Exception&)
{
- OSL_FAIL("SdXMLExport::exportAnnotations(), exception caught during export of annotations");
+ TOOLS_WARN_EXCEPTION("xmloff.draw", "exception caught during export of annotations");
}
}