From e98cf0c63d6c48ca7c1db87d7413d5c419690c76 Mon Sep 17 00:00:00 2001 From: Maxim Monastirsky Date: Tue, 11 Aug 2015 02:09:25 +0300 Subject: Related: tdf#78111 Try to guard against too wide panel layouts The sidebar has width limit, so a panel shouldn't attempt to resize more than that. Otherwise we'll get an endless loop. Change-Id: Ia36535637e3585595c673c7fc46a1a7b162b74ba --- sfx2/source/sidebar/SidebarController.cxx | 1 - 1 file changed, 1 deletion(-) (limited to 'sfx2') diff --git a/sfx2/source/sidebar/SidebarController.cxx b/sfx2/source/sidebar/SidebarController.cxx index 6482717b00cc..aac2906bead4 100644 --- a/sfx2/source/sidebar/SidebarController.cxx +++ b/sfx2/source/sidebar/SidebarController.cxx @@ -64,7 +64,6 @@ namespace { const static char gsReadOnlyCommandName[] = ".uno:EditDoc"; const static char gsHideSidebarCommandName[] = ".uno:Sidebar"; - const static sal_Int32 gnMaximumSidebarWidth (400); const static sal_Int32 gnWidthCloseThreshold (70); const static sal_Int32 gnWidthOpenThreshold (40); } -- cgit