diff options
author | Akshay Kumar Dubey <akshaymani513@gmail.com> | 2025-01-15 00:42:25 +0530 |
---|---|---|
committer | Stephan Bergmann <stephan.bergmann@allotropia.de> | 2025-01-21 08:56:00 +0100 |
commit | 3e706aa31d7d1a521710dfa544316e5d35bdf5f0 (patch) | |
tree | 73410a7dee482634167045cdc7881da5c69bc30a /vcl | |
parent | 9dc1faa1428cdf3e74be002bff51a1ce4823ff66 (diff) |
tdf#145614 Convert #define to constexpr
Change-Id: I0bdbb662b807c6ffc9030c4c695e5022949e172f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/180254
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/window/menu.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/window/menu.cxx b/vcl/source/window/menu.cxx index 75936aed46ca..bdb5bba774fa 100644 --- a/vcl/source/window/menu.cxx +++ b/vcl/source/window/menu.cxx @@ -77,8 +77,8 @@ struct MenuLayoutData : public ControlLayoutData using namespace vcl; -#define EXTRAITEMHEIGHT 4 -#define SPACE_AROUND_TITLE 4 +constexpr auto EXTRAITEMHEIGHT = 4; +constexpr auto SPACE_AROUND_TITLE = 4; static bool ImplAccelDisabled() { |