diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-09-18 09:09:12 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-09-23 11:19:17 +0000 |
commit | 177ea7a2818ee64de3eaa9b587d70fe461468005 (patch) | |
tree | 60d3838c3f7daff05fc94e4bf2d7c83b2c013041 /sd/inc/Outliner.hxx | |
parent | a44e03b5d7822d026a3b2fbaf039522f085defed (diff) |
boost::shared_ptr->std::shared_ptr
Change-Id: I2c6ac98f0984534894759cfbf4449eb554801cf8
Reviewed-on: https://gerrit.libreoffice.org/18678
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sd/inc/Outliner.hxx')
-rw-r--r-- | sd/inc/Outliner.hxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sd/inc/Outliner.hxx b/sd/inc/Outliner.hxx index a97d2092ecc5..fda3206e92d2 100644 --- a/sd/inc/Outliner.hxx +++ b/sd/inc/Outliner.hxx @@ -26,8 +26,6 @@ #include "OutlinerIterator.hxx" #include <editeng/SpellPortions.hxx> #include <memory> -#include <boost/shared_ptr.hpp> -#include <boost/weak_ptr.hpp> #include <boost/noncopyable.hpp> class Dialog; @@ -183,7 +181,7 @@ private: pointer to avoid keeping it alive when the view is changed during searching. */ - ::boost::weak_ptr<ViewShell> mpWeakViewShell; + std::weak_ptr<ViewShell> mpWeakViewShell; /// This window contains the view. VclPtr< ::sd::Window> mpWindow; /// The document on whose objects and pages this class operates. @@ -504,7 +502,7 @@ private: It handles i.e. registering at the associated view as selection change listener. */ - void SetViewShell (const ::boost::shared_ptr<ViewShell>& rpViewShell); + void SetViewShell (const std::shared_ptr<ViewShell>& rpViewShell); /** Activate or deactivate the search in the current selection. Call this method whenever the selection has changed. This method creates |