diff options
author | David Tardon <dtardon@redhat.com> | 2016-09-08 11:05:39 +0200 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2016-09-09 07:30:30 +0200 |
commit | bb35e4dcf986619edb300f4dcd35d54b04dce034 (patch) | |
tree | 69b631d8e35ad2e4a6f3f6be211feda39e46ddf9 /include/xmloff | |
parent | 8b229333aeb98dae259dac068b67195a8baa1423 (diff) |
remove direct memory management
Change-Id: I5dd5d9130f11f47c4b48c1aae9748434ac751d95
Diffstat (limited to 'include/xmloff')
-rw-r--r-- | include/xmloff/shapeimport.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/xmloff/shapeimport.hxx b/include/xmloff/shapeimport.hxx index db54f5cb1ebd..eda682d53bed 100644 --- a/include/xmloff/shapeimport.hxx +++ b/include/xmloff/shapeimport.hxx @@ -275,8 +275,8 @@ class XMLOFF_DLLPUBLIC XMLShapeImportHelper : public salhelper::SimpleReferenceO rtl::Reference<SvXMLImportPropertyMapper> mpPresPagePropsMapper; // contexts for Style and AutoStyle import - SvXMLStylesContext* mpStylesContext; - SvXMLStylesContext* mpAutoStylesContext; + css::uno::Reference<SvXMLStylesContext> mxStylesContext; + css::uno::Reference<SvXMLStylesContext> mxAutoStylesContext; // contexts for xShape contents TokenMaps SvXMLTokenMap* mpGroupShapeElemTokenMap; @@ -335,9 +335,9 @@ public: const SvXMLTokenMap& Get3DLightAttrTokenMap(); // Styles and AutoStyles contexts - SvXMLStylesContext* GetStylesContext() const { return mpStylesContext; } + SvXMLStylesContext* GetStylesContext() const { return mxStylesContext.get(); } void SetStylesContext(SvXMLStylesContext* pNew); - SvXMLStylesContext* GetAutoStylesContext() const { return mpAutoStylesContext; } + SvXMLStylesContext* GetAutoStylesContext() const { return mxAutoStylesContext.get(); } void SetAutoStylesContext(SvXMLStylesContext* pNew); // get factories and mappers |