diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-12-01 14:09:25 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-12-01 20:36:01 +0100 |
commit | 01e75b9b5c4459a5a8fbc86cd37635161efa093d (patch) | |
tree | 12aedc5ab2e98ec5acbfe9004bd2f19a6bc255d1 /include | |
parent | 52a69f41e992efa2abc2e2e94414a2547df71329 (diff) |
cid#1401328 Uncaught exception
and
cid#1401334 Uncaught exception
Change-Id: I0d489a487c4c8148da4978cb613829b9cf69d14d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106985
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/xmloff/xmlimp.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/xmloff/xmlimp.hxx b/include/xmloff/xmlimp.hxx index 73f35b90f631..674a535c5d7f 100644 --- a/include/xmloff/xmlimp.hxx +++ b/include/xmloff/xmlimp.hxx @@ -25,6 +25,7 @@ #include <set> #include <stack> +#include <o3tl/deleter.hxx> #include <xmloff/dllapi.h> #include <sal/types.h> #include <com/sun/star/xml/sax/XExtendedDocumentHandler.hpp> @@ -245,7 +246,7 @@ class XMLOFF_DLLPUBLIC SvXMLImport : public cppu::WeakImplHelper< // tdf#69060 & tdf#137643 import embedded fonts and activate them in a // batch in EmbeddedFontsHelper's dtor - std::unique_ptr<EmbeddedFontsHelper> mxEmbeddedFontHelper; + std::unique_ptr<EmbeddedFontsHelper, o3tl::default_delete<EmbeddedFontsHelper>> mxEmbeddedFontHelper; protected: bool mbIsFormsSupported; |