summaryrefslogtreecommitdiff
path: root/reportdesign/source/filter/xml/xmlFunction.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'reportdesign/source/filter/xml/xmlFunction.cxx')
-rw-r--r--reportdesign/source/filter/xml/xmlFunction.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/reportdesign/source/filter/xml/xmlFunction.cxx b/reportdesign/source/filter/xml/xmlFunction.cxx
index 1c26aa4dd27c..62dcaa9256f7 100644
--- a/reportdesign/source/filter/xml/xmlFunction.cxx
+++ b/reportdesign/source/filter/xml/xmlFunction.cxx
@@ -22,6 +22,7 @@
#include <xmloff/xmlnamespace.hxx>
#include <osl/diagnose.h>
#include <sal/log.hxx>
+#include <tools/diagnose_ex.h>
namespace rptxml
{
@@ -76,7 +77,7 @@ OXMLFunction::OXMLFunction( ORptFilter& _rImport
}
catch(const Exception&)
{
- OSL_FAIL("Exception caught while putting Function props!");
+ TOOLS_WARN_EXCEPTION( "reportdesign", "Exception caught while putting Function props!");
}
}
}
@@ -106,7 +107,7 @@ void OXMLFunction::endFastElement(sal_Int32 )
m_xFunction.clear();
}catch(uno::Exception&)
{
- OSL_FAIL("Exception caught!");
+ TOOLS_WARN_EXCEPTION( "reportdesign", "");
}
}
}