summaryrefslogtreecommitdiff
path: root/include/vcl/toolbox.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-01-12 20:10:40 +0100
committerStephan Bergmann <sbergman@redhat.com>2018-01-12 20:10:40 +0100
commit55f07d4daa76503530d96b9c20b53c59bcd5bcf9 (patch)
tree7ad8a720341e38258dab12597d25616c3bff8807 /include/vcl/toolbox.hxx
parente235da515af0e2a5d5a0cf80773943b65fdb8f7b (diff)
More loplugin:cstylecast: vcl
auto-rewrite with <https://gerrit.libreoffice.org/#/c/47798/> "Enable loplugin:cstylecast for some more cases" plus solenv/clang-format/reformat-formatted-files Change-Id: I363c01a1ae9e863fca4fb4589829492d7280d711
Diffstat (limited to 'include/vcl/toolbox.hxx')
-rw-r--r--include/vcl/toolbox.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/vcl/toolbox.hxx b/include/vcl/toolbox.hxx
index 8a98542f8ba4..eeab33c30104 100644
--- a/include/vcl/toolbox.hxx
+++ b/include/vcl/toolbox.hxx
@@ -40,10 +40,10 @@ struct ImplToolBoxPrivateData;
class ImplTrackRect;
class PopupMenu;
-#define TOOLBOX_STYLE_FLAT ((sal_uInt16)0x0004)
+#define TOOLBOX_STYLE_FLAT (sal_uInt16(0x0004))
// item ids in the custom menu may not exceed this constant
-#define TOOLBOX_MENUITEM_START ((sal_uInt16)0x1000)
+#define TOOLBOX_MENUITEM_START (sal_uInt16(0x1000))
// defines for the menubutton
enum class ToolBoxMenuType {