diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2021-12-04 13:33:27 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-12-04 13:31:01 +0100 |
commit | 4a1e9a911e62f0421b7ed67603091d49d30f7b4b (patch) | |
tree | 5ef6753bbc1b9f46566db451b8fe3ecef704c34c /sc/inc | |
parent | b20ab49eeb703c755f3ac51ca12214fb4a2b6f63 (diff) |
use more OUStringLiteral in sc
Change-Id: I6d9547bd15fa255253e1309fc3f83b4f0ed6491e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126349
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/inc')
-rw-r--r-- | sc/inc/bitmaps.hlst | 3 | ||||
-rw-r--r-- | sc/inc/helpids.h | 4 |
2 files changed, 2 insertions, 5 deletions
diff --git a/sc/inc/bitmaps.hlst b/sc/inc/bitmaps.hlst index a95d0fd83a30..1b24f4b28851 100644 --- a/sc/inc/bitmaps.hlst +++ b/sc/inc/bitmaps.hlst @@ -24,9 +24,6 @@ inline constexpr OUStringLiteral RID_BMP_MINUS = u"sc/res/ou010.png"; inline constexpr OUStringLiteral RID_BMP_NOTPRESSED = u"sc/res/ou011.png"; inline constexpr OUStringLiteral RID_BMP_PRESSED = u"sc/res/ou012.png"; -#define RID_BMP_SELECT_CURRENT "sc/res/popup_select_current.png" -#define RID_BMP_UNSELECT_CURRENT "sc/res/popup_unselect_current.png" - inline constexpr OUStringLiteral RID_BMP_CONTENT_TABLE = u"sc/res/nc01.png"; inline constexpr OUStringLiteral RID_BMP_CONTENT_RANGENAME = u"sc/res/nc02.png"; inline constexpr OUStringLiteral RID_BMP_CONTENT_DBAREA = u"sc/res/nc03.png"; diff --git a/sc/inc/helpids.h b/sc/inc/helpids.h index 6034949292f8..01bafecc6457 100644 --- a/sc/inc/helpids.h +++ b/sc/inc/helpids.h @@ -39,8 +39,8 @@ inline constexpr OStringLiteral HID_SC_SCENWIN_BOTTOM = "SC_HID_SC_SCENWIN_BOTTO inline constexpr OStringLiteral HID_SC_INPUTWIN = "SC_HID_SC_INPUTWIN"; -#define HID_SC_RENAME_NAME "SC_HID_SC_RENAME_NAME" -#define HID_SC_APPEND_NAME "SC_HID_SC_APPEND_NAME" +inline constexpr OStringLiteral HID_SC_RENAME_NAME = "SC_HID_SC_RENAME_NAME"; +inline constexpr OStringLiteral HID_SC_APPEND_NAME = "SC_HID_SC_APPEND_NAME"; inline constexpr OStringLiteral HID_SC_ADD_AUTOFMT = "SC_HID_SC_ADD_AUTOFMT"; inline constexpr OStringLiteral HID_SC_AUTOFMT_NAME = "SC_HID_SC_AUTOFMT_NAME"; |