diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-02-15 20:41:33 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-02-16 12:54:44 +0000 |
commit | a1ceacc17e3f30d5e9c06b3218ad8ec26ca2f1b9 (patch) | |
tree | 56a29f66f75f326a0a677ab1697ce28f1bc9fcbf /include/svl/undo.hxx | |
parent | 18f41dfaf19d656d290c47d196ef2702e169a522 (diff) |
boost::foo_ptr->std::foo_ptr
Change-Id: I9219619b538b6530a89f5932ac51eb3b62eb396a
Diffstat (limited to 'include/svl/undo.hxx')
-rw-r--r-- | include/svl/undo.hxx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/include/svl/undo.hxx b/include/svl/undo.hxx index d0132daf9d6c..d9b12274aae5 100644 --- a/include/svl/undo.hxx +++ b/include/svl/undo.hxx @@ -23,9 +23,8 @@ #include <rtl/ustring.hxx> #include <tools/rtti.hxx> -#include <boost/scoped_ptr.hpp> - #include <limits> +#include <memory> struct MarkedUndoAction; @@ -313,8 +312,8 @@ class SVL_DLLPUBLIC SfxUndoManager : public ::svl::IUndoManager { friend class SfxLinkUndoAction; - ::boost::scoped_ptr< SfxUndoManager_Data > - m_pData; + std::unique_ptr< SfxUndoManager_Data > + m_xData; public: SfxUndoManager( size_t nMaxUndoActionCount = 20 ); virtual ~SfxUndoManager(); |