summaryrefslogtreecommitdiff
path: root/include/xmloff
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2016-09-08 15:40:23 +0200
committerDavid Tardon <dtardon@redhat.com>2016-09-09 07:30:30 +0200
commit084de9dda40095937dfb990fc39edea31626dba3 (patch)
treee5614bbfd64b8cee09af41a00a97b475c8d1d985 /include/xmloff
parent7dd877b4be3ca9cad441b88e4510d5917d25b5b6 (diff)
remove manual memory management
Change-Id: Ic715adae42ff34be892d19802629aa50077dc120
Diffstat (limited to 'include/xmloff')
-rw-r--r--include/xmloff/txtstyli.hxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/xmloff/txtstyli.hxx b/include/xmloff/txtstyli.hxx
index bfcd7fc03f51..3b7cb23ba4c0 100644
--- a/include/xmloff/txtstyli.hxx
+++ b/include/xmloff/txtstyli.hxx
@@ -53,7 +53,7 @@ private:
// Introduce import of empty list style (#i69523#)
bool mbListStyleSet : 1;
- XMLEventsImportContext* pEventContext;
+ css::uno::Reference<XMLEventsImportContext> mxEventContext;
protected:
@@ -69,7 +69,6 @@ public:
const css::uno::Reference< css::xml::sax::XAttributeList > & xAttrList,
SvXMLStylesContext& rStyles, sal_uInt16 nFamily,
bool bDefaultStyle = false );
- virtual ~XMLTextStyleContext();
virtual SvXMLImportContext *CreateChildContext(
sal_uInt16 nPrefix,