From 8332d6d8200e8ca1f22dd98d9373efd5a431d09c Mon Sep 17 00:00:00 2001 From: Noel Date: Wed, 25 Nov 2020 08:14:07 +0200 Subject: loplugin:stringviewparam include comparisons with string literals Change-Id: I8ba1214500dddaf413c506a4b82f43d63cda804b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106559 Tested-by: Jenkins Reviewed-by: Noel Grandin --- include/editeng/unoprnms.hxx | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'include/editeng') diff --git a/include/editeng/unoprnms.hxx b/include/editeng/unoprnms.hxx index 35355a2f3186..011e504ae7f4 100644 --- a/include/editeng/unoprnms.hxx +++ b/include/editeng/unoprnms.hxx @@ -92,18 +92,18 @@ #define UNO_NAME_EDGERADIUS "CornerRadius" #define UNO_NAME_TEXT_MINFRAMEHEIGHT "TextMinimumFrameHeight" -#define UNO_NAME_TEXT_AUTOGROWHEIGHT "TextAutoGrowHeight" +#define UNO_NAME_TEXT_AUTOGROWHEIGHT u"TextAutoGrowHeight" #define UNO_NAME_TEXT_FITTOSIZE "TextFitToSize" -#define UNO_NAME_TEXT_LEFTDIST "TextLeftDistance" -#define UNO_NAME_TEXT_RIGHTDIST "TextRightDistance" -#define UNO_NAME_TEXT_UPPERDIST "TextUpperDistance" -#define UNO_NAME_TEXT_LOWERDIST "TextLowerDistance" -#define UNO_NAME_TEXT_VERTADJUST "TextVerticalAdjust" +#define UNO_NAME_TEXT_LEFTDIST u"TextLeftDistance" +#define UNO_NAME_TEXT_RIGHTDIST u"TextRightDistance" +#define UNO_NAME_TEXT_UPPERDIST u"TextUpperDistance" +#define UNO_NAME_TEXT_LOWERDIST u"TextLowerDistance" +#define UNO_NAME_TEXT_VERTADJUST u"TextVerticalAdjust" #define UNO_NAME_TEXT_MAXFRAMEHEIGHT "TextMaximumFrameHeight" #define UNO_NAME_TEXT_MINFRAMEWIDTH "TextMinimumFrameWidth" #define UNO_NAME_TEXT_MAXFRAMEWIDTH "TextMaximumFrameWidth" #define UNO_NAME_TEXT_AUTOGROWWIDTH "TextAutoGrowWidth" -#define UNO_NAME_TEXT_HORZADJUST "TextHorizontalAdjust" +#define UNO_NAME_TEXT_HORZADJUST u"TextHorizontalAdjust" #define UNO_NAME_TEXT_ANIKIND "TextAnimationKind" #define UNO_NAME_TEXT_ANIDIRECTION "TextAnimationDirection" #define UNO_NAME_TEXT_ANISTARTINSIDE "TextAnimationStartInside" @@ -112,7 +112,7 @@ #define UNO_NAME_TEXT_ANIDELAY "TextAnimationDelay" #define UNO_NAME_TEXT_ANIAMOUNT "TextAnimationAmount" #define UNO_NAME_TEXT_CONTOURFRAME "TextContourFrame" -#define UNO_NAME_TEXT_WRITINGMODE "TextWritingMode" +#define UNO_NAME_TEXT_WRITINGMODE u"TextWritingMode" #define UNO_NAME_TEXT_FONTINDEPENDENTLINESPACING "FontIndependentLineSpacing" #define UNO_NAME_TEXT_WORDWRAP "TextWordWrap" #define UNO_NAME_TEXT_CHAINNEXTNAME "TextChainNextName" -- cgit v1.2.3