diff options
author | Khaled Hosny <khaled@aliftype.com> | 2022-11-19 09:13:52 +0200 |
---|---|---|
committer | خالد حسني <khaled@aliftype.com> | 2022-11-19 12:44:34 +0100 |
commit | d00ed8359c082f460e5f318ddf180513ca429e46 (patch) | |
tree | cebc9a55b82bd86e32adce85906c204e757d2878 | |
parent | a80239ede3236c84d7a05d0fbc0f299811fee6c0 (diff) |
vcl: make WinFontFace final
Change-Id: Ie64c155c8dc4d2a4819d4f60999cbb8355687d86
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142958
Tested-by: Jenkins
Reviewed-by: خالد حسني <khaled@aliftype.com>
-rw-r--r-- | vcl/inc/win/salgdi.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/vcl/inc/win/salgdi.h b/vcl/inc/win/salgdi.h index c21c36db2dec..8d93577e4cb1 100644 --- a/vcl/inc/win/salgdi.h +++ b/vcl/inc/win/salgdi.h @@ -59,14 +59,14 @@ class ImplFontMetricData; #define PALRGB_TO_RGB(nPalRGB) ((nPalRGB)&0x00ffffff) // win32 specific physically available font face -class WinFontFace : public vcl::font::PhysicalFontFace +class WinFontFace final : public vcl::font::PhysicalFontFace { public: explicit WinFontFace(const ENUMLOGFONTEXW&, const NEWTEXTMETRICW&); - virtual ~WinFontFace() override; + ~WinFontFace() override; - virtual rtl::Reference<LogicalFontInstance> CreateFontInstance( const vcl::font::FontSelectPattern& ) const override; - virtual sal_IntPtr GetFontId() const override; + rtl::Reference<LogicalFontInstance> CreateFontInstance( const vcl::font::FontSelectPattern& ) const override; + sal_IntPtr GetFontId() const override; void SetFontId( sal_IntPtr nId ) { mnId = nId; } BYTE GetCharSet() const { return meWinCharSet; } @@ -74,7 +74,7 @@ public: IDWriteFontFace* GetDWFontFace() const; - virtual hb_blob_t* GetHbTable(hb_tag_t nTag) const override; + hb_blob_t* GetHbTable(hb_tag_t nTag) const override; private: sal_IntPtr mnId; |