From bc91cc47505c448ded7297074ccff809b59e8ed1 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 10 May 2024 13:18:59 +0200 Subject: loplugin:ostr in svx Change-Id: Ia765a03e033acb82e367873380d289587ea87d6c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167449 Reviewed-by: Noel Grandin Tested-by: Jenkins --- svx/source/styles/ColorSets.cxx | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'svx/source/styles') diff --git a/svx/source/styles/ColorSets.cxx b/svx/source/styles/ColorSets.cxx index 7c3c6d972329..92b4973cbcca 100644 --- a/svx/source/styles/ColorSets.cxx +++ b/svx/source/styles/ColorSets.cxx @@ -36,7 +36,7 @@ ColorSets& ColorSets::get() void ColorSets::init() { { - model::ColorSet aColorSet("LibreOffice"); + model::ColorSet aColorSet(u"LibreOffice"_ustr); aColorSet.add(model::ThemeColorType::Dark1, 0x000000); aColorSet.add(model::ThemeColorType::Light1, 0xFFFFFF); aColorSet.add(model::ThemeColorType::Dark2, 0x000000); @@ -52,7 +52,7 @@ void ColorSets::init() maColorSets.push_back(aColorSet); } { - model::ColorSet aColorSet("Rainbow"); + model::ColorSet aColorSet(u"Rainbow"_ustr); aColorSet.add(model::ThemeColorType::Dark1, 0x000000); aColorSet.add(model::ThemeColorType::Light1, 0xFFFFFF); aColorSet.add(model::ThemeColorType::Dark2, 0x1C1C1C); @@ -68,7 +68,7 @@ void ColorSets::init() maColorSets.push_back(aColorSet); } { - model::ColorSet aColorSet("Beach"); + model::ColorSet aColorSet(u"Beach"_ustr); aColorSet.add(model::ThemeColorType::Dark1, 0x000000); aColorSet.add(model::ThemeColorType::Light1, 0xFFFFFF); aColorSet.add(model::ThemeColorType::Dark2, 0xFFBF00); @@ -84,7 +84,7 @@ void ColorSets::init() maColorSets.push_back(aColorSet); } { - model::ColorSet aColorSet("Sunset"); + model::ColorSet aColorSet(u"Sunset"_ustr); aColorSet.add(model::ThemeColorType::Dark1, 0x000000); aColorSet.add(model::ThemeColorType::Light1, 0xFFFFFF); aColorSet.add(model::ThemeColorType::Dark2, 0x492300); @@ -100,7 +100,7 @@ void ColorSets::init() maColorSets.push_back(aColorSet); } { - model::ColorSet aColorSet("Ocean"); + model::ColorSet aColorSet(u"Ocean"_ustr); aColorSet.add(model::ThemeColorType::Dark1, 0x000000); aColorSet.add(model::ThemeColorType::Light1, 0xFFFFFF); aColorSet.add(model::ThemeColorType::Dark2, 0x2A6099); @@ -116,7 +116,7 @@ void ColorSets::init() maColorSets.push_back(aColorSet); } { - model::ColorSet aColorSet("Forest"); + model::ColorSet aColorSet(u"Forest"_ustr); aColorSet.add(model::ThemeColorType::Dark1, 0x000000); aColorSet.add(model::ThemeColorType::Light1, 0xFFFFFF); aColorSet.add(model::ThemeColorType::Dark2, 0x000000); @@ -132,7 +132,7 @@ void ColorSets::init() maColorSets.push_back(aColorSet); } { - model::ColorSet aColorSet("Breeze"); + model::ColorSet aColorSet(u"Breeze"_ustr); aColorSet.add(model::ThemeColorType::Dark1, 0x232629); aColorSet.add(model::ThemeColorType::Light1, 0xFCFCFC); aColorSet.add(model::ThemeColorType::Dark2, 0x31363B); -- cgit