summaryrefslogtreecommitdiff
path: root/sd/source/ui/inc/ViewShellBase.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-09-17 15:41:33 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-09-17 17:01:14 +0100
commit6f495a195b794257e8b1302d384148be43c04cee (patch)
treec0ef4b8eeed1b1bb2e8da0deffac0a74b2eb5467 /sd/source/ui/inc/ViewShellBase.hxx
parent74efa4f0e87e2b5fe7a577fa4673cb947c947c74 (diff)
boost->std
Change-Id: I1e6a7fd66f90e6acd803c6cd464f1d73252f7bcb
Diffstat (limited to 'sd/source/ui/inc/ViewShellBase.hxx')
-rw-r--r--sd/source/ui/inc/ViewShellBase.hxx15
1 files changed, 7 insertions, 8 deletions
diff --git a/sd/source/ui/inc/ViewShellBase.hxx b/sd/source/ui/inc/ViewShellBase.hxx
index 832add5cfb3f..6ce7e4d5ed04 100644
--- a/sd/source/ui/inc/ViewShellBase.hxx
+++ b/sd/source/ui/inc/ViewShellBase.hxx
@@ -27,8 +27,7 @@
#include "glob.hxx"
#include <sfx2/viewsh.hxx>
#include <sfx2/viewfac.hxx>
-#include <boost/shared_ptr.hpp>
-#include <boost/scoped_ptr.hpp>
+#include <memory>
class SdDrawDocument;
class SfxRequest;
@@ -85,13 +84,13 @@ public:
*/
void LateInit (const OUString& rsDefaultView);
- ::boost::shared_ptr<ViewShellManager> GetViewShellManager() const;
+ std::shared_ptr<ViewShellManager> GetViewShellManager() const;
/** Return the main view shell stacked on the called ViewShellBase
object. This is usually the view shell displayed in the center
pane.
*/
- ::boost::shared_ptr<ViewShell> GetMainViewShell() const;
+ std::shared_ptr<ViewShell> GetMainViewShell() const;
/** When given a view frame this static method returns the
corresponding sd::ViewShellBase object.
@@ -201,15 +200,15 @@ public:
events from various sources. This method must not be called before
LateInit() has terminated.
*/
- ::boost::shared_ptr<tools::EventMultiplexer> GetEventMultiplexer();
+ std::shared_ptr<tools::EventMultiplexer> GetEventMultiplexer();
/** returns the complete area of the current view relative to the frame
window
*/
const Rectangle& getClientRectangle() const;
- ::boost::shared_ptr<ToolBarManager> GetToolBarManager() const;
- ::boost::shared_ptr<FormShellManager> GetFormShellManager() const;
+ std::shared_ptr<ToolBarManager> GetToolBarManager() const;
+ std::shared_ptr<FormShellManager> GetFormShellManager() const;
DrawController& GetDrawController() const;
@@ -234,7 +233,7 @@ protected:
private:
class Implementation;
- ::boost::scoped_ptr<Implementation> mpImpl;
+ std::unique_ptr<Implementation> mpImpl;
DrawDocShell* mpDocShell;
SdDrawDocument* mpDocument;