diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-09-21 14:45:13 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-09-24 08:17:03 +0000 |
commit | 876e63e6295573e50886e37b3ca31716e0401af1 (patch) | |
tree | 7c86bf978039963bd9a91eabaf8eae796fa6966b /sd/inc | |
parent | c4fba6557cd7743d3f7ecc542f9cb2a36d0cd382 (diff) |
sd/inc boost::scoped_ptr->std::unique_ptr
Change-Id: I3830c451f685d7603c0271107bd1a0d477be464b
Reviewed-on: https://gerrit.libreoffice.org/18749
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sd/inc')
-rw-r--r-- | sd/inc/stlsheet.hxx | 3 | ||||
-rw-r--r-- | sd/inc/undoanim.hxx | 7 |
2 files changed, 4 insertions, 6 deletions
diff --git a/sd/inc/stlsheet.hxx b/sd/inc/stlsheet.hxx index a9a49d3fbf6c..d1e64baa7f61 100644 --- a/sd/inc/stlsheet.hxx +++ b/sd/inc/stlsheet.hxx @@ -38,7 +38,6 @@ #include <editeng/unoipset.hxx> #include <memory> -#include <boost/scoped_ptr.hpp> #include "prlayout.hxx" @@ -147,7 +146,7 @@ protected: /** broadcast helper for events */ ::cppu::OBroadcastHelper mrBHelper; - boost::scoped_ptr< ModifyListenerForewarder > mpModifyListenerForewarder; + std::unique_ptr< ModifyListenerForewarder > mpModifyListenerForewarder; private: SdStyleSheet& operator=( const SdStyleSheet& ) SAL_DELETED_FUNCTION; diff --git a/sd/inc/undoanim.hxx b/sd/inc/undoanim.hxx index be2eea83eef2..66e2823ab225 100644 --- a/sd/inc/undoanim.hxx +++ b/sd/inc/undoanim.hxx @@ -24,7 +24,6 @@ #include <com/sun/star/animations/XAnimationNode.hpp> #include <svx/svdundo.hxx> #include <memory> -#include <boost/scoped_ptr.hpp> #include "sdundo.hxx" @@ -47,7 +46,7 @@ public: virtual OUString GetComment() const SAL_OVERRIDE; private: - boost::scoped_ptr<UndoAnimationImpl> mpImpl; + std::unique_ptr<UndoAnimationImpl> mpImpl; }; struct UndoAnimationPathImpl; @@ -63,7 +62,7 @@ public: virtual OUString GetComment() const SAL_OVERRIDE; private: - boost::scoped_ptr<UndoAnimationPathImpl> mpImpl; + std::unique_ptr<UndoAnimationPathImpl> mpImpl; }; struct UndoTransitionImpl; @@ -80,7 +79,7 @@ public: virtual OUString GetComment() const SAL_OVERRIDE; private: - boost::scoped_ptr<UndoTransitionImpl> mpImpl; + std::unique_ptr<UndoTransitionImpl> mpImpl; }; } |