diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-11-30 11:26:30 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-11-30 14:07:26 +0100 |
commit | 6da12ca82d7bdcbe6f83e9cc46fdb560f729bd63 (patch) | |
tree | fb8b68d6c9d44442d110ae6e6a70b8d1297dae55 /UnoControls/source/inc/progressmonitor.hxx | |
parent | 81b3619fb59b617cda7335b5d6de32c5abf4e554 (diff) |
loplugin:stringliteraldefine in various
Change-Id: Ib482e3982128dc47d88a79478d80eef43745d1b0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126086
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'UnoControls/source/inc/progressmonitor.hxx')
-rw-r--r-- | UnoControls/source/inc/progressmonitor.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/UnoControls/source/inc/progressmonitor.hxx b/UnoControls/source/inc/progressmonitor.hxx index f8a463ca88a1..24f06380382b 100644 --- a/UnoControls/source/inc/progressmonitor.hxx +++ b/UnoControls/source/inc/progressmonitor.hxx @@ -37,8 +37,8 @@ namespace unocontrols { class ProgressBar; #define PROGRESSMONITOR_FREEBORDER 10 // border around and between the controls -#define PROGRESSMONITOR_DEFAULT_TOPIC "" -#define PROGRESSMONITOR_DEFAULT_TEXT "" +inline constexpr OUStringLiteral PROGRESSMONITOR_DEFAULT_TOPIC = u""; +inline constexpr OUStringLiteral PROGRESSMONITOR_DEFAULT_TEXT = u""; #define PROGRESSMONITOR_LINECOLOR_BRIGHT sal_Int32(Color( 0xFF, 0xFF, 0xFF )) // white #define PROGRESSMONITOR_LINECOLOR_SHADOW sal_Int32(Color( 0x00, 0x00, 0x00 )) // black #define PROGRESSMONITOR_DEFAULT_WIDTH 350 |