From 6da12ca82d7bdcbe6f83e9cc46fdb560f729bd63 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 30 Nov 2021 11:26:30 +0200 Subject: loplugin:stringliteraldefine in various Change-Id: Ib482e3982128dc47d88a79478d80eef43745d1b0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126086 Tested-by: Jenkins Reviewed-by: Noel Grandin --- UnoControls/source/inc/progressmonitor.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'UnoControls/source/inc/progressmonitor.hxx') 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 -- cgit