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/framework | |
parent | 18f41dfaf19d656d290c47d196ef2702e169a522 (diff) |
boost::foo_ptr->std::foo_ptr
Change-Id: I9219619b538b6530a89f5932ac51eb3b62eb396a
Diffstat (limited to 'include/framework')
-rw-r--r-- | include/framework/documentundoguard.hxx | 8 | ||||
-rw-r--r-- | include/framework/undomanagerhelper.hxx | 4 |
2 files changed, 4 insertions, 8 deletions
diff --git a/include/framework/documentundoguard.hxx b/include/framework/documentundoguard.hxx index 905038cedb0c..ab2f1c91b3b0 100644 --- a/include/framework/documentundoguard.hxx +++ b/include/framework/documentundoguard.hxx @@ -24,14 +24,10 @@ #include <com/sun/star/uno/XInterface.hpp> -#include <boost/scoped_ptr.hpp> - +#include <memory> namespace framework { - - - //= DocumentUndoGuard struct DocumentUndoGuard_Data; @@ -51,7 +47,7 @@ namespace framework ~DocumentUndoGuard(); private: - ::boost::scoped_ptr< DocumentUndoGuard_Data > m_pData; + std::unique_ptr< DocumentUndoGuard_Data > m_xData; }; diff --git a/include/framework/undomanagerhelper.hxx b/include/framework/undomanagerhelper.hxx index d4c12f3f23e8..1b94e3bf0251 100644 --- a/include/framework/undomanagerhelper.hxx +++ b/include/framework/undomanagerhelper.hxx @@ -26,7 +26,7 @@ #include <com/sun/star/document/XUndoManager.hpp> #include <com/sun/star/util/XModifyListener.hpp> -#include <boost/scoped_ptr.hpp> +#include <memory> namespace svl { @@ -150,7 +150,7 @@ namespace framework void removeModifyListener( const ::com::sun::star::uno::Reference< ::com::sun::star::util::XModifyListener >& i_listener ); private: - ::boost::scoped_ptr< UndoManagerHelper_Impl > m_pImpl; + std::unique_ptr< UndoManagerHelper_Impl > m_xImpl; }; |