loplugin:ostr in cppcanvas

Change-Id: I59c10b0d82297157a87cb366be69c8e757638c20
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167257
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
This commit is contained in:
Noel Grandin
2024-05-07 12:53:11 +02:00
parent bd9cd4365e
commit 04d3831914
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ class Test : public UnoApiTest
{
public:
Test()
: UnoApiTest("/cppcanvas/qa/extras/emfplus/data/")
: UnoApiTest(u"/cppcanvas/qa/extras/emfplus/data/"_ustr)
{
}
@@ -830,7 +830,7 @@ namespace cppcanvas::internal
if (rFont.GetEmphasisMark() != FontEmphasisMark::NONE)
{
uno::Sequence< beans::PropertyValue > aProperties{ comphelper::makePropertyValue(
"EmphasisMark", sal_uInt32(rFont.GetEmphasisMark())) };
u"EmphasisMark"_ustr, sal_uInt32(rFont.GetEmphasisMark())) };
return rParms.mrCanvas->getUNOCanvas()->createFont(aFontRequest,
aProperties,
aFontMatrix);
+1 -1
View File
@@ -70,7 +70,7 @@ namespace cppcanvas::tools
default:
throw css::uno::RuntimeException(
"tools::getBaselineOffset(): Unexpected TextAlign value" );
u"tools::getBaselineOffset(): Unexpected TextAlign value"_ustr );
}
}