summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-03-04 16:34:18 +0000
committerCaolán McNamara <caolanm@redhat.com>2021-03-04 20:59:06 +0100
commitc7c99f89eeb119ae6062053eb37f5a9a51073a37 (patch)
tree7f9b12dacad4ced6756a02e1052117ebc9446161 /sfx2
parent82cce8f46d033a887886f1abae1f608d966c5e08 (diff)
SidebarPanelBase is always created with a PanelLayout
Change-Id: I825452fbd56435edcc0a2ffb7abe0f834bf10fb0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111976 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/sidebar/SidebarPanelBase.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/sfx2/source/sidebar/SidebarPanelBase.cxx b/sfx2/source/sidebar/SidebarPanelBase.cxx
index 6865047df252..0ed57e2f66c2 100644
--- a/sfx2/source/sidebar/SidebarPanelBase.cxx
+++ b/sfx2/source/sidebar/SidebarPanelBase.cxx
@@ -20,6 +20,7 @@
#include <sfx2/sidebar/Theme.hxx>
#include <sfx2/sidebar/ILayoutableWindow.hxx>
#include <sfx2/sidebar/IContextChangeReceiver.hxx>
+#include <sfx2/sidebar/PanelLayout.hxx>
#include <sfx2/sidebar/SidebarModelUpdate.hxx>
#include <vcl/layout.hxx>
#include <comphelper/processfactory.hxx>
@@ -35,7 +36,7 @@ namespace sfx2::sidebar {
Reference<ui::XUIElement> SidebarPanelBase::Create (
const OUString& rsResourceURL,
const css::uno::Reference<css::frame::XFrame>& rxFrame,
- vcl::Window* pWindow,
+ PanelLayout* pWindow,
const css::ui::LayoutSize& rLayoutSize)
{
Reference<ui::XUIElement> xUIElement (
@@ -50,7 +51,7 @@ Reference<ui::XUIElement> SidebarPanelBase::Create (
SidebarPanelBase::SidebarPanelBase (
const OUString& rsResourceURL,
const css::uno::Reference<css::frame::XFrame>& rxFrame,
- vcl::Window* pWindow,
+ PanelLayout* pWindow,
const css::ui::LayoutSize& rLayoutSize)
: SidebarPanelBaseInterfaceBase(m_aMutex),
mxFrame(rxFrame),