diff options
author | Caolán McNamara <caolanm@redhat.com> | 2022-11-18 20:56:51 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2022-11-21 09:55:29 +0100 |
commit | 5a35ca12d98d7ad0bfc012d75d00f9eefb4ec078 (patch) | |
tree | cf64a53daeb85527f0faa6bac0945b2bd96fb206 /vcl/inc/impfont.hxx | |
parent | 2df9b7cd3fa03077c9809dab9b94a20dd89002fb (diff) |
drop ImplFont::SetSymbolFlag
Change-Id: I8da977c3464e82e8a159143f9d1c73446ceee159
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142960
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/inc/impfont.hxx')
-rw-r--r-- | vcl/inc/impfont.hxx | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/vcl/inc/impfont.hxx b/vcl/inc/impfont.hxx index 450e227b34ad..b570f22a6e7c 100644 --- a/vcl/inc/impfont.hxx +++ b/vcl/inc/impfont.hxx @@ -49,7 +49,7 @@ public: rtl_TextEncoding GetCharSet() const { return meCharSet; } const Size& GetFontSize() const { return maAverageFontSize; } - bool IsSymbolFont() const { return mbSymbolFlag; } + bool IsSymbolFont() const { return meCharSet == RTL_TEXTENCODING_SYMBOL; } void SetFamilyName( const OUString& sFamilyName ) { maFamilyName = sFamilyName; } void SetStyleName( const OUString& sStyleName ) { maStyleName = sStyleName; } @@ -72,8 +72,6 @@ public: maAverageFontSize = rSize; } - void SetSymbolFlag( const bool bSymbolFlag ) { mbSymbolFlag = bSymbolFlag; } - // straight properties, no getting them from AskConfig() FontFamily GetFamilyTypeNoAsk() const { return meFamily; } FontWeight GetWeightNoAsk() const { return meWeight; } @@ -127,8 +125,7 @@ private: LanguageTag maCJKLanguageTag; // Flags - device independent - bool mbSymbolFlag:1, - mbOutline:1, + bool mbOutline:1, mbConfigLookup:1, // config lookup should only be done once mbShadow:1, mbVertical:1, |