diff options
-rw-r--r-- | include/oox/core/recordparser.hxx | 2 | ||||
-rw-r--r-- | include/oox/core/xmlfilterbase.hxx | 2 | ||||
-rw-r--r-- | include/oox/vml/vmldrawing.hxx | 6 | ||||
-rw-r--r-- | include/oox/vml/vmlshape.hxx | 10 |
4 files changed, 7 insertions, 13 deletions
diff --git a/include/oox/core/recordparser.hxx b/include/oox/core/recordparser.hxx index f3d1243ef29f..8d97af4be69f 100644 --- a/include/oox/core/recordparser.hxx +++ b/include/oox/core/recordparser.hxx @@ -73,7 +73,7 @@ private: RecordInputSource maSource; ::rtl::Reference< FragmentHandler > mxHandler; ::rtl::Reference< prv::Locator > mxLocator; - ::std::auto_ptr< prv::ContextStack > mxStack; + ::std::unique_ptr< prv::ContextStack > mxStack; RecordInfoMap maStartMap; RecordInfoMap maEndMap; }; diff --git a/include/oox/core/xmlfilterbase.hxx b/include/oox/core/xmlfilterbase.hxx index c4aaff1b55bc..a8c950e3ed59 100644 --- a/include/oox/core/xmlfilterbase.hxx +++ b/include/oox/core/xmlfilterbase.hxx @@ -252,7 +252,7 @@ private: const ::com::sun::star::uno::Reference< ::com::sun::star::io::XStream >& rxOutStream ) const SAL_OVERRIDE; private: - ::std::auto_ptr< XmlFilterBaseImpl > mxImpl; + ::std::unique_ptr< XmlFilterBaseImpl > mxImpl; sal_Int32 mnRelId; sal_Int32 mnMaxDocId; }; diff --git a/include/oox/vml/vmldrawing.hxx b/include/oox/vml/vmldrawing.hxx index c6c53fd19409..1fbdf23b9bce 100644 --- a/include/oox/vml/vmldrawing.hxx +++ b/include/oox/vml/vmldrawing.hxx @@ -185,10 +185,8 @@ public: private: typedef ::std::vector< sal_Int32 > BlockIdVector; - SAL_WNODEPRECATED_DECLARATIONS_PUSH - typedef ::std::auto_ptr< ::oox::ole::EmbeddedForm > EmbeddedFormPtr; - typedef ::std::auto_ptr< ShapeContainer > ShapeContainerPtr; - SAL_WNODEPRECATED_DECLARATIONS_POP + typedef ::std::unique_ptr< ::oox::ole::EmbeddedForm > EmbeddedFormPtr; + typedef ::std::unique_ptr< ShapeContainer > ShapeContainerPtr; typedef ::std::map< OUString, OleObjectInfo > OleObjectInfoMap; typedef ::std::map< OUString, ControlInfo > ControlInfoMap; diff --git a/include/oox/vml/vmlshape.hxx b/include/oox/vml/vmlshape.hxx index 832d3be95744..6cc180cbdc21 100644 --- a/include/oox/vml/vmlshape.hxx +++ b/include/oox/vml/vmlshape.hxx @@ -192,10 +192,8 @@ struct ClientData struct ShapeModel { typedef ::std::vector< ::com::sun::star::awt::Point > PointVector; - SAL_WNODEPRECATED_DECLARATIONS_PUSH - typedef ::std::auto_ptr< TextBox > TextBoxPtr; - typedef ::std::auto_ptr< ClientData > ClientDataPtr; - SAL_WNODEPRECATED_DECLARATIONS_POP + typedef ::std::unique_ptr< TextBox > TextBoxPtr; + typedef ::std::unique_ptr< ClientData > ClientDataPtr; OUString maType; ///< Shape template with default properties. PointVector maPoints; ///< Points for the polyline shape. @@ -435,9 +433,7 @@ protected: const ::com::sun::star::awt::Rectangle& rShapeRect ) const SAL_OVERRIDE; private: - SAL_WNODEPRECATED_DECLARATIONS_PUSH - typedef ::std::auto_ptr< ShapeContainer > ShapeContainerPtr; - SAL_WNODEPRECATED_DECLARATIONS_POP + typedef ::std::unique_ptr< ShapeContainer > ShapeContainerPtr; ShapeContainerPtr mxChildren; ///< Shapes and templates that are part of this group. }; |