summaryrefslogtreecommitdiff
path: root/cppcanvas
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2024-05-07 08:50:53 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2024-05-07 12:53:11 +0200
commit04d383191403f400d7917412ea72a441e120b333 (patch)
tree4a34fe2e8162cc3838a4fa28c06fe92b7b1e7b35 /cppcanvas
parentbd9cd4365efd03223d619e0044fbeda0e687b0d9 (diff)
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>
Diffstat (limited to 'cppcanvas')
-rw-r--r--cppcanvas/qa/extras/emfplus/emfplus.cxx2
-rw-r--r--cppcanvas/source/mtfrenderer/implrenderer.cxx2
-rw-r--r--cppcanvas/source/mtfrenderer/mtftools.cxx2
3 files changed, 3 insertions, 3 deletions
diff --git a/cppcanvas/qa/extras/emfplus/emfplus.cxx b/cppcanvas/qa/extras/emfplus/emfplus.cxx
index 1ba179404f28..da1e40a5cc64 100644
--- a/cppcanvas/qa/extras/emfplus/emfplus.cxx
+++ b/cppcanvas/qa/extras/emfplus/emfplus.cxx
@@ -22,7 +22,7 @@ class Test : public UnoApiTest
{
public:
Test()
- : UnoApiTest("/cppcanvas/qa/extras/emfplus/data/")
+ : UnoApiTest(u"/cppcanvas/qa/extras/emfplus/data/"_ustr)
{
}
diff --git a/cppcanvas/source/mtfrenderer/implrenderer.cxx b/cppcanvas/source/mtfrenderer/implrenderer.cxx
index d3cfe793f45f..b62aa6ac90d0 100644
--- a/cppcanvas/source/mtfrenderer/implrenderer.cxx
+++ b/cppcanvas/source/mtfrenderer/implrenderer.cxx
@@ -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);
diff --git a/cppcanvas/source/mtfrenderer/mtftools.cxx b/cppcanvas/source/mtfrenderer/mtftools.cxx
index 94a83da70c19..b02f35547fc7 100644
--- a/cppcanvas/source/mtfrenderer/mtftools.cxx
+++ b/cppcanvas/source/mtfrenderer/mtftools.cxx
@@ -70,7 +70,7 @@ namespace cppcanvas::tools
default:
throw css::uno::RuntimeException(
- "tools::getBaselineOffset(): Unexpected TextAlign value" );
+ u"tools::getBaselineOffset(): Unexpected TextAlign value"_ustr );
}
}