diff options
Diffstat (limited to 'sd/source/ui/inc/ViewShellManager.hxx')
-rw-r--r-- | sd/source/ui/inc/ViewShellManager.hxx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sd/source/ui/inc/ViewShellManager.hxx b/sd/source/ui/inc/ViewShellManager.hxx index 66eb593f8c18..3b30fcc12c75 100644 --- a/sd/source/ui/inc/ViewShellManager.hxx +++ b/sd/source/ui/inc/ViewShellManager.hxx @@ -22,7 +22,6 @@ #include "ShellFactory.hxx" #include <memory> -#include <boost/shared_ptr.hpp> class FmFormShell; class SfxShell; @@ -54,7 +53,7 @@ class ViewShellBase; class ViewShellManager { public: - typedef ::boost::shared_ptr<ShellFactory<SfxShell> > SharedShellFactory; + typedef std::shared_ptr<ShellFactory<SfxShell> > SharedShellFactory; ViewShellManager (ViewShellBase& rBase); @@ -173,11 +172,11 @@ public: class UpdateLock { public: - UpdateLock (const ::boost::shared_ptr<ViewShellManager>& rpManager) + UpdateLock (const std::shared_ptr<ViewShellManager>& rpManager) : mpManager(rpManager) {mpManager->LockUpdate();} ~UpdateLock() {mpManager->UnlockUpdate();}; private: - ::boost::shared_ptr<ViewShellManager> mpManager; + std::shared_ptr<ViewShellManager> mpManager; }; friend class UpdateLock; |