summaryrefslogtreecommitdiff
path: root/sax
diff options
context:
space:
mode:
authorLionel Elie Mamane <lionel@mamane.lu>2015-02-05 21:32:12 +0100
committerLionel Elie Mamane <lionel@mamane.lu>2015-02-05 21:45:26 +0100
commit87934ed763b62d6e4b1245d6fe93befb6640f8ca (patch)
tree34b56ba21e8423e20552f8dfff907a6fbaa18d54 /sax
parentf40b11f901d440b6d259c5c030d78f1ac2705647 (diff)
destructors are not allowed to throw
so move potentially throwing call to a manually called finish() additionally don't make it leak something that is not a RuntimeException, the caller does not expect it. Change-Id: I8b19585ae197f5ac8625dc85d4c4860a1c11b262
Diffstat (limited to 'sax')
-rw-r--r--sax/source/expatwrap/sax_expat.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sax/source/expatwrap/sax_expat.cxx b/sax/source/expatwrap/sax_expat.cxx
index df1870e66328..2aa30415e0f8 100644
--- a/sax/source/expatwrap/sax_expat.cxx
+++ b/sax/source/expatwrap/sax_expat.cxx
@@ -31,6 +31,7 @@
#include <com/sun/star/xml/sax/XParser.hpp>
#include <com/sun/star/xml/sax/SAXParseException.hpp>
#include <com/sun/star/io/XSeekable.hpp>
+#include <com/sun/star/lang/WrappedTargetRuntimeException.hpp>
#include <cppuhelper/weak.hxx>
#include <cppuhelper/implbase3.hxx>