summaryrefslogtreecommitdiff
path: root/include/sfx2/sidebar
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@suse.cz>2013-06-02 04:46:58 +0200
committerJan Holesovsky <kendy@suse.cz>2013-06-02 04:54:55 +0200
commite66be44b69ee2a1b99bda32af93ea453c669b319 (patch)
tree707027d8074f61a6e6fc8fab3c7a797117d1b8f3 /include/sfx2/sidebar
parentb441420e072a1f09098f89ed646e423c60e1895b (diff)
sidebar: Restrict the minimal width of the sidebar.
Change-Id: I99051830c4393b420125332e787c3abdc5a6aa61
Diffstat (limited to 'include/sfx2/sidebar')
-rw-r--r--include/sfx2/sidebar/SidebarPanelBase.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sfx2/sidebar/SidebarPanelBase.hxx b/include/sfx2/sidebar/SidebarPanelBase.hxx
index 330533a4947e..a7e8db165543 100644
--- a/include/sfx2/sidebar/SidebarPanelBase.hxx
+++ b/include/sfx2/sidebar/SidebarPanelBase.hxx
@@ -97,6 +97,8 @@ public:
// XSidebarPanel
virtual css::ui::LayoutSize SAL_CALL getHeightForWidth (sal_Int32 nWidth)
throw(cssu::RuntimeException);
+ virtual sal_Int32 SAL_CALL getMinimalWidth ()
+ throw(cssu::RuntimeException);
protected:
cssu::Reference<css::frame::XFrame> mxFrame;