diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-12-20 14:13:13 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-12-20 14:13:13 +0100 |
commit | 8a71eacef77c5b45df0078b92893e69b1140bac2 (patch) | |
tree | 197a8112b8dbbcf11cb5849cbf4e33a3c63e5644 /include/sfx2/sidebar | |
parent | d0c3dba866ba0900dcaf2c3a25200edb516bd608 (diff) |
Don't use 'this' in ctor
Change-Id: I405160743609aae92a37b2359bea5aa42ee66519
Diffstat (limited to 'include/sfx2/sidebar')
-rw-r--r-- | include/sfx2/sidebar/SidebarController.hxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/sfx2/sidebar/SidebarController.hxx b/include/sfx2/sidebar/SidebarController.hxx index 7aaefc188864..519daef5da82 100644 --- a/include/sfx2/sidebar/SidebarController.hxx +++ b/include/sfx2/sidebar/SidebarController.hxx @@ -65,7 +65,7 @@ class SFX2_DLLPUBLIC SidebarController public SidebarControllerInterfaceBase { public: - SidebarController( + static rtl::Reference<SidebarController> create( SidebarDockingWindow* pParentWindow, const css::uno::Reference<css::frame::XFrame>& rxFrame); virtual ~SidebarController() override; @@ -163,6 +163,9 @@ public: void FadeOut(); private: + SidebarController( + SidebarDockingWindow* pParentWindow, + const css::uno::Reference<css::frame::XFrame>& rxFrame); VclPtr<Deck> mpCurrentDeck; VclPtr<SidebarDockingWindow> mpParentWindow; |