summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-06-10 14:05:28 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-06-10 14:06:19 +0100
commita4c07d983ab5562c914dad0d06cb24c61a7f3b41 (patch)
tree6e14ab7d7b708fe694b4eca36a63ee48bdb702e2
parent820901f91513ec4db2911a06f28b9d15417088fe (diff)
Resolves: fdo#65546 set Panel Layouts as DialogControl widgets
Change-Id: Iaf0e1dccf1af3bcec1057e42934d2931ccebfd32
-rw-r--r--svx/source/sidebar/PanelLayout.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/svx/source/sidebar/PanelLayout.cxx b/svx/source/sidebar/PanelLayout.cxx
index 568f151aad7c..2c5a5bbe563f 100644
--- a/svx/source/sidebar/PanelLayout.cxx
+++ b/svx/source/sidebar/PanelLayout.cxx
@@ -13,6 +13,7 @@
PanelLayout::PanelLayout(Window* pParent, const OString& rID, const OUString& rUIXMLDescription, const com::sun::star::uno::Reference<com::sun::star::frame::XFrame> &rFrame)
: Control(pParent)
{
+ SetStyle(GetStyle() | WB_DIALOGCONTROL);
m_pUIBuilder = new VclBuilder(this, getUIRootDir(), rUIXMLDescription, rID, rFrame);
}