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