diff options
author | Lionel Elie Mamane <lionel@mamane.lu> | 2015-02-05 21:32:12 +0100 |
---|---|---|
committer | Lionel Elie Mamane <lionel@mamane.lu> | 2015-02-05 21:45:26 +0100 |
commit | 87934ed763b62d6e4b1245d6fe93befb6640f8ca (patch) | |
tree | 34b56ba21e8423e20552f8dfff907a6fbaa18d54 /sax/source | |
parent | f40b11f901d440b6d259c5c030d78f1ac2705647 (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/source')
-rw-r--r-- | sax/source/expatwrap/sax_expat.cxx | 1 |
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> |