diff options
author | Khaled Hosny <khaled@aliftype.com> | 2022-09-30 09:55:52 +0200 |
---|---|---|
committer | خالد حسني <khaled@aliftype.com> | 2022-09-30 12:37:57 +0200 |
commit | e6a46b235997c309a926bb0573de625a89b29b8c (patch) | |
tree | 2027910316f46a6f0b25e258755754c60f9c9682 /vcl/inc/sallayout.hxx | |
parent | a091ae213eb8d64c21361969775b76e7911cc1af (diff) |
vcl: No need to get font face from GetNextGlyphs()
We can take it from the font instance.
Change-Id: I54c507d498c58e271c479b0a615b165345a1c33b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/140788
Tested-by: Jenkins
Reviewed-by: خالد حسني <khaled@aliftype.com>
Diffstat (limited to 'vcl/inc/sallayout.hxx')
-rw-r--r-- | vcl/inc/sallayout.hxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/vcl/inc/sallayout.hxx b/vcl/inc/sallayout.hxx index 970fc6e3b98b..2569ff2d5b62 100644 --- a/vcl/inc/sallayout.hxx +++ b/vcl/inc/sallayout.hxx @@ -65,8 +65,7 @@ public: DeviceCoordinate FillDXArray(std::vector<DeviceCoordinate>* pDXArray, const OUString& rStr) const override; void GetCaretPositions(int nArraySize, sal_Int32* pCaretXArray) const override; bool GetNextGlyph(const GlyphItem** pGlyph, DevicePoint& rPos, int& nStart, - const LogicalFontInstance** ppGlyphFont = nullptr, - const vcl::font::PhysicalFontFace** pFallbackFont = nullptr) const override; + const LogicalFontInstance** ppGlyphFont = nullptr) const override; bool GetOutline(basegfx::B2DPolyPolygonVector&) const override; bool IsKashidaPosValid(int nCharPos, int nNextCharPos) const override; SalLayoutGlyphs GetGlyphs() const final override; @@ -129,8 +128,7 @@ public: { return *m_GlyphItems.GetFont(); } bool GetNextGlyph(const GlyphItem** pGlyph, DevicePoint& rPos, int& nStart, - const LogicalFontInstance** ppGlyphFont = nullptr, - const vcl::font::PhysicalFontFace** pFallbackFont = nullptr) const override; + const LogicalFontInstance** ppGlyphFont = nullptr) const override; const SalLayoutGlyphsImpl& GlyphsImpl() const { return m_GlyphItems; } |