summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@suse.cz>2013-05-30 18:25:09 +0200
committerCaolán McNamara <caolanm@redhat.com>2013-06-05 10:06:49 +0100
commit0346a83833d2ed82715b0425abe36051cfb3f3a9 (patch)
tree478fa6552e140248338ba6b7911106b462528ddc /svx
parente6354cc0752c5de0efefb9e3bdb9b196b205a73a (diff)
sidebar: Allow creation of toolboxes using Widget layout / .ui.
Change-Id: Idc07614005a00401a51007b1a0aef00e17507daa (cherry picked from commit 6fe1ff54c667a4f669feee6954dd9b859fd442b2)
Diffstat (limited to 'svx')
-rw-r--r--svx/source/sidebar/PanelLayout.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/sidebar/PanelLayout.cxx b/svx/source/sidebar/PanelLayout.cxx
index 17c1e30e9a78..03ff1305570d 100644
--- a/svx/source/sidebar/PanelLayout.cxx
+++ b/svx/source/sidebar/PanelLayout.cxx
@@ -10,10 +10,10 @@
#include <svx/sidebar/PanelLayout.hxx>
#include <vcl/layout.hxx>
-PanelLayout::PanelLayout(Window* pParent, const OString& rID, const OUString& rUIXMLDescription)
+PanelLayout::PanelLayout(Window* pParent, const OString& rID, const OUString& rUIXMLDescription, const com::sun::star::uno::Reference<com::sun::star::frame::XFrame> &rFrame)
: Control(pParent)
{
- m_pUIBuilder = new VclBuilder(this, getUIRootDir(), rUIXMLDescription, rID);
+ m_pUIBuilder = new VclBuilder(this, getUIRootDir(), rUIXMLDescription, rID, rFrame);
}
Size PanelLayout::GetOptimalSize() const