summaryrefslogtreecommitdiff
path: root/writerfilter
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-10-01 17:20:16 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-10-01 17:35:15 +0200
commit557737b748e4d1ffc548123a58b4fbcb4879999b (patch)
tree3ed0d5c1d0766f116464a72379047acc1b26776d /writerfilter
parent701d024e41e9f085040fd3e9c07e2737464ae4f2 (diff)
writerfilter: std::auto_ptr -> std::unique_ptr
Change-Id: I57f010076f73758bd5bdcf78b58553baa257df08
Diffstat (limited to 'writerfilter')
-rw-r--r--writerfilter/inc/resourcemodel/WW8ResourceModel.hxx8
1 files changed, 2 insertions, 6 deletions
diff --git a/writerfilter/inc/resourcemodel/WW8ResourceModel.hxx b/writerfilter/inc/resourcemodel/WW8ResourceModel.hxx
index 63fe0a56fe75..b72f9f7b1363 100644
--- a/writerfilter/inc/resourcemodel/WW8ResourceModel.hxx
+++ b/writerfilter/inc/resourcemodel/WW8ResourceModel.hxx
@@ -297,9 +297,7 @@ public:
/**
Pointer to a value.
*/
- SAL_WNODEPRECATED_DECLARATIONS_PUSH
- typedef std::auto_ptr<Value> Pointer_t;
- SAL_WNODEPRECATED_DECLARATIONS_POP
+ typedef std::unique_ptr<Value> Pointer_t;
virtual ~Value() {}
@@ -348,9 +346,7 @@ public:
class Sprm
{
public:
- SAL_WNODEPRECATED_DECLARATIONS_PUSH
- typedef std::auto_ptr<Sprm> Pointer_t;
- SAL_WNODEPRECATED_DECLARATIONS_POP
+ typedef std::unique_ptr<Sprm> Pointer_t;
/**
Returns id of the SPRM.