summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2016-09-08 11:09:32 +0200
committerDavid Tardon <dtardon@redhat.com>2016-09-09 07:30:30 +0200
commit45df4baf4e311e3f0e785bd7b2af9f65ffc436e8 (patch)
treeec55a3991d885999e533f3746214a1d454dfc12f /include
parentbb35e4dcf986619edb300f4dcd35d54b04dce034 (diff)
use std::unique_ptr
Change-Id: Ic6ebe839fa22e6a7b9904ad00877eddd78331ba4
Diffstat (limited to 'include')
-rw-r--r--include/xmloff/shapeimport.hxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/include/xmloff/shapeimport.hxx b/include/xmloff/shapeimport.hxx
index eda682d53bed..e9bc24f7eea7 100644
--- a/include/xmloff/shapeimport.hxx
+++ b/include/xmloff/shapeimport.hxx
@@ -279,14 +279,14 @@ class XMLOFF_DLLPUBLIC XMLShapeImportHelper : public salhelper::SimpleReferenceO
css::uno::Reference<SvXMLStylesContext> mxAutoStylesContext;
// contexts for xShape contents TokenMaps
- SvXMLTokenMap* mpGroupShapeElemTokenMap;
- SvXMLTokenMap* mpFrameShapeElemTokenMap;
- SvXMLTokenMap* mp3DSceneShapeElemTokenMap;
- SvXMLTokenMap* mp3DObjectAttrTokenMap;
- SvXMLTokenMap* mp3DPolygonBasedAttrTokenMap;
- SvXMLTokenMap* mp3DCubeObjectAttrTokenMap;
- SvXMLTokenMap* mp3DSphereObjectAttrTokenMap;
- SvXMLTokenMap* mp3DLightAttrTokenMap;
+ std::unique_ptr<SvXMLTokenMap> mpGroupShapeElemTokenMap;
+ std::unique_ptr<SvXMLTokenMap> mpFrameShapeElemTokenMap;
+ std::unique_ptr<SvXMLTokenMap> mp3DSceneShapeElemTokenMap;
+ std::unique_ptr<SvXMLTokenMap> mp3DObjectAttrTokenMap;
+ std::unique_ptr<SvXMLTokenMap> mp3DPolygonBasedAttrTokenMap;
+ std::unique_ptr<SvXMLTokenMap> mp3DCubeObjectAttrTokenMap;
+ std::unique_ptr<SvXMLTokenMap> mp3DSphereObjectAttrTokenMap;
+ std::unique_ptr<SvXMLTokenMap> mp3DLightAttrTokenMap;
const OUString msStartShape;
const OUString msEndShape;