summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2015-11-20 07:44:17 +0100
committerSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2015-11-20 09:03:55 +0000
commite58120920f5dd978213ea4387a42ae7e376b2922 (patch)
treee0f2333fff5d1d6fa3d7e0fb3133797186a476fc /include
parent20b279e134e6d6d60f0ea46c5e000303e869d241 (diff)
tdf#95938 Toolbar context menu has no commands
because of an integer overflow Change-Id: I75103450d0af59fd6f3196f451984e0dce45c693 Reviewed-on: https://gerrit.libreoffice.org/20072 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'include')
-rw-r--r--include/vcl/toolbox.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/vcl/toolbox.hxx b/include/vcl/toolbox.hxx
index 81f629787078..362d9424a440 100644
--- a/include/vcl/toolbox.hxx
+++ b/include/vcl/toolbox.hxx
@@ -78,7 +78,7 @@ inline ToolBoxCustomizeEvent::ToolBoxCustomizeEvent( ToolBox* pDropBox,
#define TOOLBOX_ITEM_NOTFOUND ((sal_uInt16)0xFFFF)
// item ids in the custom menu may not exceed this constant
-#define TOOLBOX_MENUITEM_START ((sal_uInt16)0xE000)
+#define TOOLBOX_MENUITEM_START ((sal_uInt16)0x1000)
// defines for the menubutton
#define TOOLBOX_MENUTYPE_NONE ((sal_uInt16)0x0000) // no menu at all, scrolling by spin buttons