From a1ceacc17e3f30d5e9c06b3218ad8ec26ca2f1b9 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sun, 15 Feb 2015 20:41:33 +0000 Subject: boost::foo_ptr->std::foo_ptr Change-Id: I9219619b538b6530a89f5932ac51eb3b62eb396a --- include/framework/documentundoguard.hxx | 8 ++------ include/framework/undomanagerhelper.hxx | 4 ++-- 2 files changed, 4 insertions(+), 8 deletions(-) (limited to 'include/framework') 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 -#include - +#include 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 #include -#include +#include 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; }; -- cgit