diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2023-10-06 09:42:38 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2023-10-07 00:47:20 +0200 |
commit | e0c33ec15f53a01fa3ee07489871bbe09bb5c9c3 (patch) | |
tree | 1afe391a2b4bf9eda13de043658941060cb401c2 /vcl/qa/cppunit/physicalfontcollection.cxx | |
parent | 9e3da252c361b3e2b04a2df7a3ae2a5177b37713 (diff) |
loplugin:ostr: automatic rewrite
Change-Id: I2d09b2b83e1b50493ec88d0b2c323a83c0c86395
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157647
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Jenkins
Diffstat (limited to 'vcl/qa/cppunit/physicalfontcollection.cxx')
-rw-r--r-- | vcl/qa/cppunit/physicalfontcollection.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/qa/cppunit/physicalfontcollection.cxx b/vcl/qa/cppunit/physicalfontcollection.cxx index c3cde102ed26..bff91d021f62 100644 --- a/vcl/qa/cppunit/physicalfontcollection.cxx +++ b/vcl/qa/cppunit/physicalfontcollection.cxx @@ -179,7 +179,7 @@ void VclPhysicalFontCollectionTest::testShouldFindCJKFamily() // interestingly, you need to normalize the name still vcl::font::PhysicalFontFamily* pFontFamily = aFontCollection.FindOrCreateFontFamily( GetEnglishSearchFontName(u"시험")); // Korean for "test" - AddNormalFontFace(pFontFamily, u"시험"); + AddNormalFontFace(pFontFamily, u"시험"_ustr); vcl::font::PhysicalFontFamily* pCJKFamily = aFontCollection.FindFontFamilyByAttributes( ImplFontAttrs::CJK, WEIGHT_NORMAL, WIDTH_NORMAL, ITALIC_NORMAL, u""); @@ -307,7 +307,7 @@ void VclPhysicalFontCollectionTest::testShouldMatchFamilyName() // note that for this test, it is irrelevant what the search name is for PhysicalFontFamily, // the font searches the family name and uses the search parameter of FindFontFamilyByAttributes() vcl::font::PhysicalFontFamily* pFontFamily - = aFontCollection.FindOrCreateFontFamily(u"Matching family name"); + = aFontCollection.FindOrCreateFontFamily(u"Matching family name"_ustr); AddNormalFontFace(pFontFamily, GetEnglishSearchFontName(u"Matching family name")); CPPUNIT_ASSERT_MESSAGE("No family found", |