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:
@@ -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);
|
||||
|
||||
@@ -70,7 +70,7 @@ namespace cppcanvas::tools
|
||||
|
||||
default:
|
||||
throw css::uno::RuntimeException(
|
||||
"tools::getBaselineOffset(): Unexpected TextAlign value" );
|
||||
u"tools::getBaselineOffset(): Unexpected TextAlign value"_ustr );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user