summaryrefslogtreecommitdiff
path: root/vcl/qa/cppunit/physicalfontcollection.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2022-11-20 21:09:01 +0000
committerCaolán McNamara <caolanm@redhat.com>2022-11-21 16:17:47 +0100
commit538ebbd4fa4241d59e49e33d3cedd04e02ca9287 (patch)
tree6f80e8021d72553294b233c85cca611d13406c06 /vcl/qa/cppunit/physicalfontcollection.cxx
parent7bf26fa8c848a15dde1c7c6b94edbee759a523d1 (diff)
remove FontAttributes::meCharSet
its baked in that Symbol means RTL_TEXTENCODING_SYMBOL, so accept that status quo and make it explicit Change-Id: I78d90965e3d6b4543cd74a7847e13246485380d6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143010 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/qa/cppunit/physicalfontcollection.cxx')
-rw-r--r--vcl/qa/cppunit/physicalfontcollection.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/qa/cppunit/physicalfontcollection.cxx b/vcl/qa/cppunit/physicalfontcollection.cxx
index 9bea5f7adf52..c3cde102ed26 100644
--- a/vcl/qa/cppunit/physicalfontcollection.cxx
+++ b/vcl/qa/cppunit/physicalfontcollection.cxx
@@ -259,7 +259,7 @@ void VclPhysicalFontCollectionTest::testShouldFindSymbolFamilyByMatchType()
FontAttributes aFontAttr;
aFontAttr.SetFamilyName("symbols");
- aFontAttr.SetSymbolFlag(true);
+ aFontAttr.SetMicrosoftSymbolEncoded(true);
aFontAttr.SetWeight(WEIGHT_NORMAL);
pFontFamily->AddFontFace(new TestFontFace(aFontAttr, FONTID));
@@ -278,7 +278,7 @@ void VclPhysicalFontCollectionTest::testImpossibleSymbolFamily()
FontAttributes aFontAttr;
aFontAttr.SetFamilyName("testsymbolfamily");
- aFontAttr.SetSymbolFlag(true);
+ aFontAttr.SetMicrosoftSymbolEncoded(true);
aFontAttr.SetWeight(WEIGHT_NORMAL);
TestFontFace* pFontFace = new TestFontFace(aFontAttr, FONTID);
pFontFamily->AddFontFace(pFontFace);