From d0c73ce13c02c37fcc094ac6612d6a8eee2a4026 Mon Sep 17 00:00:00 2001 From: Samuel Mehrbrodt Date: Fri, 22 Mar 2019 11:39:18 +0100 Subject: tdf#124263 Respect XSidebarPanel::getMinimalWidth even if it's larger than max sidebar width (increase max sidebar width in that case). Change-Id: I2efbd546596f756df205196fae3e545beddd2f7c Reviewed-on: https://gerrit.libreoffice.org/69551 Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt --- include/sfx2/sidebar/SidebarController.hxx | 1 + 1 file changed, 1 insertion(+) (limited to 'include/sfx2/sidebar') diff --git a/include/sfx2/sidebar/SidebarController.hxx b/include/sfx2/sidebar/SidebarController.hxx index 68e97c51cee4..eaed146d3b47 100644 --- a/include/sfx2/sidebar/SidebarController.hxx +++ b/include/sfx2/sidebar/SidebarController.hxx @@ -169,6 +169,7 @@ public: css::uno::Reference getXFrame() {return mxFrame;} sal_Int32 getMaximumWidth() { return mnMaximumSidebarWidth; } + void setMaximumWidth(sal_Int32 nMaximumWidth) { mnMaximumSidebarWidth = nMaximumWidth; } private: SidebarController( -- cgit