diff options
Diffstat (limited to 'sfx2/source/sidebar/PanelLayout.cxx')
-rw-r--r-- | sfx2/source/sidebar/PanelLayout.cxx | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/sfx2/source/sidebar/PanelLayout.cxx b/sfx2/source/sidebar/PanelLayout.cxx index afe018db8a93..d741106369a4 100644 --- a/sfx2/source/sidebar/PanelLayout.cxx +++ b/sfx2/source/sidebar/PanelLayout.cxx @@ -17,8 +17,16 @@ using namespace sfx2::sidebar; -PanelLayout::PanelLayout(weld::Widget* pParent, const OUString& rID, const OUString& rUIXMLDescription) - : m_xBuilder(Application::CreateBuilder(pParent, rUIXMLDescription, false, reinterpret_cast<sal_uInt64>(SfxViewShell::Current()))) +PanelLayout::PanelLayout(weld::Widget* pParent, const OUString& rID, + const OUString& rUIXMLDescription) + : PanelLayout(pParent, rID, rUIXMLDescription, + reinterpret_cast<sal_uInt64>(SfxViewShell::Current())) +{ +} + +PanelLayout::PanelLayout(weld::Widget* pParent, const OUString& rID, + const OUString& rUIXMLDescription, sal_uInt64 nWindowId) + : m_xBuilder(Application::CreateBuilder(pParent, rUIXMLDescription, false, nWindowId)) , m_xContainer(m_xBuilder->weld_container(rID)) , m_pPanel(nullptr) { |