summaryrefslogtreecommitdiff
path: root/writerperfect/source/writer/exp/XMLTextListItemContext.hxx
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2017-09-25 10:33:48 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2017-09-25 14:11:23 +0200
commit68af7378074397466c15509a5d813dce69a54a41 (patch)
tree0db6984a4649e0acf32ddc4516aacded7a5d168e /writerperfect/source/writer/exp/XMLTextListItemContext.hxx
parent7810858ee6cac233ce5868de1f2ef5de1d443af4 (diff)
EPUB export: don't leak when exceptions are thrown
Additional benefit is that this way we're again in sync with xmloff code. Change-Id: Ifa1dd976fbd2ce04cb47814060508c65e35474ca
Diffstat (limited to 'writerperfect/source/writer/exp/XMLTextListItemContext.hxx')
-rw-r--r--writerperfect/source/writer/exp/XMLTextListItemContext.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/writerperfect/source/writer/exp/XMLTextListItemContext.hxx b/writerperfect/source/writer/exp/XMLTextListItemContext.hxx
index cb6a68aedf5a..cbca5bf7feac 100644
--- a/writerperfect/source/writer/exp/XMLTextListItemContext.hxx
+++ b/writerperfect/source/writer/exp/XMLTextListItemContext.hxx
@@ -23,7 +23,7 @@ class XMLTextListItemContext : public XMLImportContext
public:
XMLTextListItemContext(XMLImport &rImport);
- XMLImportContext *CreateChildContext(const OUString &rName, const css::uno::Reference<css::xml::sax::XAttributeList> &xAttribs) override;
+ rtl::Reference<XMLImportContext> CreateChildContext(const OUString &rName, const css::uno::Reference<css::xml::sax::XAttributeList> &xAttribs) override;
};
} // namespace exp