diff options
author | Maxim Monastirsky <momonasmon@gmail.com> | 2015-08-11 02:09:25 +0300 |
---|---|---|
committer | Maxim Monastirsky <momonasmon@gmail.com> | 2015-08-11 02:25:27 +0300 |
commit | e98cf0c63d6c48ca7c1db87d7413d5c419690c76 (patch) | |
tree | 9224162c4469e7e1aa3d5eed98cece1ba1da7428 /sfx2/source/sidebar/SidebarController.cxx | |
parent | 066f3132effa9017fe9127e9d311d6ae88d0c729 (diff) |
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
Diffstat (limited to 'sfx2/source/sidebar/SidebarController.cxx')
-rw-r--r-- | sfx2/source/sidebar/SidebarController.cxx | 1 |
1 files changed, 0 insertions, 1 deletions
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); } |