summaryrefslogtreecommitdiffstats
path: root/include/xmloff/DocumentSettingsContext.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-09-21 12:12:33 +0100
committerCaolán McNamara <caolanm@redhat.com>2017-09-22 11:01:53 +0200
commit442df6cf8345f8029d5a3b470bc4981a5aa2bf20 (patch)
tree9efa6f2b29f41d79f968d1e8ad2588c323305776 /include/xmloff/DocumentSettingsContext.hxx
parentallow system-libepubgen to limp along (diff)
downloadcore-442df6cf8345f8029d5a3b470bc4981a5aa2bf20.tar.gz
core-442df6cf8345f8029d5a3b470bc4981a5aa2bf20.zip
ofz: don't leak in face of exceptions
Change-Id: Ic15590a13bd3770ee5dd7db76b21c830a4fe73e2 Reviewed-on: https://gerrit.libreoffice.org/42587 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include/xmloff/DocumentSettingsContext.hxx')
-rw-r--r--include/xmloff/DocumentSettingsContext.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/xmloff/DocumentSettingsContext.hxx b/include/xmloff/DocumentSettingsContext.hxx
index 01443e57094b..9fd34a38a44d 100644
--- a/include/xmloff/DocumentSettingsContext.hxx
+++ b/include/xmloff/DocumentSettingsContext.hxx
@@ -38,7 +38,7 @@ public:
const css::uno::Reference< css::xml::sax::XAttributeList>& xAttrList);
virtual ~XMLDocumentSettingsContext() override;
- virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix,
+ virtual SvXMLImportContextRef CreateChildContext( sal_uInt16 nPrefix,
const OUString& rLocalName,
const css::uno::Reference< css::xml::sax::XAttributeList>& xAttrList ) override;
virtual void EndElement() override;