diff options
author | Caolán McNamara <caolanm@redhat.com> | 2022-11-18 11:34:13 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2022-11-18 14:55:12 +0100 |
commit | 003c837e9d029a671ea95f76da45573bbc260eea (patch) | |
tree | d372f62eab0a7afc9a07122284680be35e3c035b /vcl/qt5 | |
parent | a4a865a85cfc922e75ed2ad5188e45a76bca92aa (diff) |
rename IsStarSymbol to IsOpenSymbol
Change-Id: If525ba9826f5bc2d860233cbabf58d1d290be054
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142936
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/qt5')
-rw-r--r-- | vcl/qt5/QtFontFace.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/qt5/QtFontFace.cxx b/vcl/qt5/QtFontFace.cxx index 9fd2eb56b2fb..d45fadafe87e 100644 --- a/vcl/qt5/QtFontFace.cxx +++ b/vcl/qt5/QtFontFace.cxx @@ -108,7 +108,7 @@ void QtFontFace::fillAttributesFromQFont(const QFont& rFont, FontAttributes& rFA QFontInfo aFontInfo(rFont); rFA.SetFamilyName(toOUString(aFontInfo.family())); - if (IsStarSymbol(toOUString(aFontInfo.family()))) + if (IsOpenSymbol(toOUString(aFontInfo.family()))) rFA.SetSymbolFlag(true); rFA.SetStyleName(toOUString(aFontInfo.styleName())); rFA.SetPitch(aFontInfo.fixedPitch() ? PITCH_FIXED : PITCH_VARIABLE); @@ -142,7 +142,7 @@ QtFontFace* QtFontFace::fromQFontDatabase(const QString& aFamily, const QString& FontAttributes aFA; aFA.SetFamilyName(toOUString(aFamily)); - if (IsStarSymbol(aFA.GetFamilyName())) + if (IsOpenSymbol(aFA.GetFamilyName())) aFA.SetSymbolFlag(true); aFA.SetStyleName(toOUString(aStyle)); aFA.SetPitch(isFixedPitch ? PITCH_FIXED : PITCH_VARIABLE); |