From 64dcfe295762864656bc5876da10bec37b7fb6ec Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 4 Nov 2020 15:22:53 +0000 Subject: weld panel TitleBar MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit use an expander for the expander-like feature Change-Id: I3af63dc252479914a0000aab59a30744f8073fd1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105310 Tested-by: Jenkins Reviewed-by: Caolán McNamara --- include/sfx2/sidebar/Panel.hxx | 3 +-- include/sfx2/sidebar/Theme.hxx | 5 ----- 2 files changed, 1 insertion(+), 7 deletions(-) (limited to 'include') diff --git a/include/sfx2/sidebar/Panel.hxx b/include/sfx2/sidebar/Panel.hxx index ee635220cf55..cdeee5223559 100644 --- a/include/sfx2/sidebar/Panel.hxx +++ b/include/sfx2/sidebar/Panel.hxx @@ -73,7 +73,6 @@ public: private: const OUString msPanelId; - VclPtr mpTitleBar; const bool mbIsTitleBarOptional; css::uno::Reference mxElement; css::uno::Reference mxPanelComponent; @@ -81,8 +80,8 @@ private: bool mbLurking; const std::function maDeckLayoutTrigger; const std::function maContextAccess; - const css::uno::Reference& mxFrame; + VclPtr mpTitleBar; }; typedef std::vector > SharedPanelContainer; diff --git a/include/sfx2/sidebar/Theme.hxx b/include/sfx2/sidebar/Theme.hxx index 38ba8d1e7078..7c6b441334e1 100644 --- a/include/sfx2/sidebar/Theme.hxx +++ b/include/sfx2/sidebar/Theme.hxx @@ -56,12 +56,7 @@ public: AnyItem_ = Pre_Image_, - Image_Grip, - Image_Expand, - Image_Collapse, Image_TabBarMenu, - Image_PanelMenu, - Image_Closer, Image_CloseIndicator, Image_Color_, -- cgit