summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sc/source/ui/cctrl/checklistmenu.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sc/source/ui/cctrl/checklistmenu.cxx b/sc/source/ui/cctrl/checklistmenu.cxx
index 7a959023d3e0..e1c68406b8db 100644
--- a/sc/source/ui/cctrl/checklistmenu.cxx
+++ b/sc/source/ui/cctrl/checklistmenu.cxx
@@ -144,6 +144,8 @@ void ScCheckListMenuControl::addSeparator()
IMPL_LINK(ScCheckListMenuControl, TreeSizeAllocHdl, const Size&, rSize, void)
{
+ if (maAllocatedSize == rSize)
+ return;
maAllocatedSize = rSize;
SetDropdownPos();
if (!mnAsyncSetDropdownPosId && Application::GetToolkitName().startsWith("gtk"))