diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-09-30 17:26:48 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-09-30 17:51:30 +0200 |
commit | 89c72084b23b14780d0799f2f2f32c579212f497 (patch) | |
tree | 5d7aceedbe6be23b302c382e14d5148d460b0b89 /sc/source/filter/inc/xihelper.hxx | |
parent | 741629f48a3fe72fb1e9fb68077446907585e852 (diff) |
sc: std::auto_ptr -> std::unique_ptr
Change-Id: I25468d578de597ff9aeba3ffc850c630fa532767
Diffstat (limited to 'sc/source/filter/inc/xihelper.hxx')
-rw-r--r-- | sc/source/filter/inc/xihelper.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/filter/inc/xihelper.hxx b/sc/source/filter/inc/xihelper.hxx index ce49f0e9ccd7..3e54efe7dc0f 100644 --- a/sc/source/filter/inc/xihelper.hxx +++ b/sc/source/filter/inc/xihelper.hxx @@ -177,7 +177,7 @@ public: sal_Int32 GetTotalHeight() const; private: // types - typedef ::std::auto_ptr< XclFontData > XclFontDataPtr; + typedef ::std::unique_ptr< XclFontData > XclFontDataPtr; /** Enumerates the supported header/footer portions. */ enum XclImpHFPortion { EXC_HF_LEFT, EXC_HF_CENTER, EXC_HF_RIGHT, EXC_HF_PORTION_COUNT }; @@ -313,7 +313,7 @@ public: sal_uInt16 GetScError() const; protected: - typedef ::std::auto_ptr< const ScTokenArray > ScTokenArrayPtr; + typedef ::std::unique_ptr< const ScTokenArray > ScTokenArrayPtr; OUString maStr; /// Cached value is a string. double mfValue; /// Cached value is a double. |