summaryrefslogtreecommitdiff
path: root/svx/source/unodraw/unoshap2.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2024-05-10 13:18:59 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2024-05-11 12:41:09 +0200
commitbc91cc47505c448ded7297074ccff809b59e8ed1 (patch)
treeddd3d33ff41ae6021738a0dcda4f9dbb5c177dea /svx/source/unodraw/unoshap2.cxx
parent28a43d53b25c183a7997cc18819d6ee0c675df19 (diff)
loplugin:ostr in svx
Change-Id: Ia765a03e033acb82e367873380d289587ea87d6c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167449 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Jenkins
Diffstat (limited to 'svx/source/unodraw/unoshap2.cxx')
-rw-r--r--svx/source/unodraw/unoshap2.cxx64
1 files changed, 32 insertions, 32 deletions
diff --git a/svx/source/unodraw/unoshap2.cxx b/svx/source/unodraw/unoshap2.cxx
index bbaf8db3bff6..2cf5c33e26b6 100644
--- a/svx/source/unodraw/unoshap2.cxx
+++ b/svx/source/unodraw/unoshap2.cxx
@@ -573,40 +573,40 @@ struct
const SvxShapeControlPropertyMapping[] =
{
// Warning: The first entry must be FontSlant because the any needs to be converted
- { UNO_NAME_EDIT_CHAR_POSTURE, "FontSlant" }, // const sal_Int16 => css::awt::FontSlant
- { UNO_NAME_EDIT_CHAR_FONTNAME, "FontName" },
- { UNO_NAME_EDIT_CHAR_FONTSTYLENAME, "FontStyleName" },
- { UNO_NAME_EDIT_CHAR_FONTFAMILY, "FontFamily" },
- { UNO_NAME_EDIT_CHAR_FONTCHARSET, "FontCharset" },
- { UNO_NAME_EDIT_CHAR_HEIGHT, "FontHeight" },
- { UNO_NAME_EDIT_CHAR_FONTPITCH, "FontPitch" },
- { UNO_NAME_EDIT_CHAR_WEIGHT, "FontWeight" },
- { UNO_NAME_EDIT_CHAR_UNDERLINE, "FontUnderline" },
- { UNO_NAME_EDIT_CHAR_STRIKEOUT, "FontStrikeout" },
- { "CharKerning", "FontKerning" },
- { "CharWordMode", "FontWordLineMode" },
- { UNO_NAME_EDIT_CHAR_COLOR, "TextColor" },
- { "CharBackColor", "CharBackColor" },
- { "CharBackTransparent", "CharBackTransparent" },
+ { UNO_NAME_EDIT_CHAR_POSTURE, u"FontSlant"_ustr }, // const sal_Int16 => css::awt::FontSlant
+ { UNO_NAME_EDIT_CHAR_FONTNAME, u"FontName"_ustr },
+ { UNO_NAME_EDIT_CHAR_FONTSTYLENAME, u"FontStyleName"_ustr },
+ { UNO_NAME_EDIT_CHAR_FONTFAMILY, u"FontFamily"_ustr },
+ { UNO_NAME_EDIT_CHAR_FONTCHARSET, u"FontCharset"_ustr },
+ { UNO_NAME_EDIT_CHAR_HEIGHT, u"FontHeight"_ustr },
+ { UNO_NAME_EDIT_CHAR_FONTPITCH, u"FontPitch"_ustr },
+ { UNO_NAME_EDIT_CHAR_WEIGHT, u"FontWeight"_ustr },
+ { UNO_NAME_EDIT_CHAR_UNDERLINE, u"FontUnderline"_ustr },
+ { UNO_NAME_EDIT_CHAR_STRIKEOUT, u"FontStrikeout"_ustr },
+ { u"CharKerning"_ustr, u"FontKerning"_ustr },
+ { u"CharWordMode"_ustr, u"FontWordLineMode"_ustr },
+ { UNO_NAME_EDIT_CHAR_COLOR, u"TextColor"_ustr },
+ { u"CharBackColor"_ustr, u"CharBackColor"_ustr },
+ { u"CharBackTransparent"_ustr, u"CharBackTransparent"_ustr },
{ UNO_NAME_TEXT_CHAINNEXTNAME, UNO_NAME_TEXT_CHAINNEXTNAME },
- { "CharRelief", "FontRelief" },
- { "CharUnderlineColor", "TextLineColor" },
- { UNO_NAME_EDIT_PARA_ADJUST, "Align" },
- { "TextVerticalAdjust", "VerticalAlign" },
- { "ControlBackground", "BackgroundColor" },
- { "ControlSymbolColor", "SymbolColor" },
- { "ControlBorder", "Border" },
- { "ControlBorderColor", "BorderColor" },
- { "ControlTextEmphasis", "FontEmphasisMark" },
- { "ImageScaleMode", "ScaleMode" },
- { "ControlWritingMode", "WritingMode" },
+ { u"CharRelief"_ustr, u"FontRelief"_ustr },
+ { u"CharUnderlineColor"_ustr, u"TextLineColor"_ustr },
+ { UNO_NAME_EDIT_PARA_ADJUST, u"Align"_ustr },
+ { u"TextVerticalAdjust"_ustr, u"VerticalAlign"_ustr },
+ { u"ControlBackground"_ustr, u"BackgroundColor"_ustr },
+ { u"ControlSymbolColor"_ustr, u"SymbolColor"_ustr },
+ { u"ControlBorder"_ustr, u"Border"_ustr },
+ { u"ControlBorderColor"_ustr, u"BorderColor"_ustr },
+ { u"ControlTextEmphasis"_ustr, u"FontEmphasisMark"_ustr },
+ { u"ImageScaleMode"_ustr, u"ScaleMode"_ustr },
+ { u"ControlWritingMode"_ustr, u"WritingMode"_ustr },
//added for exporting OCX control
- { "ControlTypeinMSO", "ControlTypeinMSO" },
- { "ObjIDinMSO", "ObjIDinMSO" },
- { "CharCaseMap", "CharCaseMap" },
- { "CharColorTheme", "CharColorTheme" },
- { "CharColorTintOrShade", "CharColorTintOrShade" },
- { UNO_NAME_EDIT_CHAR_COMPLEX_COLOR, "CharComplexColor" },
+ { u"ControlTypeinMSO"_ustr, u"ControlTypeinMSO"_ustr },
+ { u"ObjIDinMSO"_ustr, u"ObjIDinMSO"_ustr },
+ { u"CharCaseMap"_ustr, u"CharCaseMap"_ustr },
+ { u"CharColorTheme"_ustr, u"CharColorTheme"_ustr },
+ { u"CharColorTintOrShade"_ustr, u"CharColorTintOrShade"_ustr },
+ { UNO_NAME_EDIT_CHAR_COMPLEX_COLOR, u"CharComplexColor"_ustr },
};
namespace