From bd6fb0cd3eee3c7d414e55a7678c0097aadc7646 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 19 Oct 2023 16:39:09 +0200 Subject: Extended loplugin:ostr: Rewrite some O[U]StringLiteral -> O[U]String ...in include files. This is a mix of automatic rewriting in include files and manual fixups (mostly addressing loplugin:redundantfcast) in source files that include those. Change-Id: I1f3cc1e67b9cabd2e9d61a4d9e9a01e587ea35cc Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158337 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- 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 eaaa1bc80b3f..46a4dc735484 100644 --- a/UnoControls/source/inc/progressmonitor.hxx +++ b/UnoControls/source/inc/progressmonitor.hxx @@ -36,8 +36,8 @@ namespace unocontrols { class ProgressBar; #define PROGRESSMONITOR_FREEBORDER 10 // border around and between the controls -inline constexpr OUStringLiteral PROGRESSMONITOR_DEFAULT_TOPIC = u""; -inline constexpr OUStringLiteral PROGRESSMONITOR_DEFAULT_TEXT = u""; +inline constexpr OUString PROGRESSMONITOR_DEFAULT_TOPIC = u""_ustr; +inline constexpr OUString PROGRESSMONITOR_DEFAULT_TEXT = u""_ustr; #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