summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCaolán McNamara <caolan.mcnamara@collabora.com>2024-08-19 14:12:04 +0100
committerCaolán McNamara <caolan.mcnamara@collabora.com>2024-08-19 16:23:10 +0200
commit1ff0a84e4a6fa0139b553b74f4e7d69b15cb9a38 (patch)
tree7c7a93181b1313f0b5987cfdf0ab3413e9dfe6dc /include
parent30faedfa35f6fbcd2c02f872903bc5d0ac36103a (diff)
SalLayout::InitFont doesn't do anything
there is a MultiSalLayout::InitFont that overrides it, but only forwards InitFont to the first child sub SalLayout, which itself then doesn't do anything. This is possibly the case since: commit 6c436ba09cb35235ce6f4065cf74c9a6ff14a4bd Date: Thu Dec 1 03:33:30 2016 +0200 Kill old Windows layout engines Change-Id: Ic0d347843257d13ee6d6f695488bd053f5a931fe Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172040 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'include')
-rw-r--r--include/vcl/vcllayout.hxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/vcl/vcllayout.hxx b/include/vcl/vcllayout.hxx
index 9c84d7453a3c..aa80e815a843 100644
--- a/include/vcl/vcllayout.hxx
+++ b/include/vcl/vcllayout.hxx
@@ -46,7 +46,6 @@ class GlyphItem;
// For instance, I *think* the important virtual functions in the
// layout engines are called in this order:
-// * InitFont()
// * LayoutText()
// * AdjustLayout(), any number of times (but presumably
// usually not at all or just once)
@@ -79,7 +78,6 @@ public:
virtual bool LayoutText( vcl::text::ImplLayoutArgs&, const SalLayoutGlyphsImpl* ) = 0; // first step of layouting
virtual void AdjustLayout( vcl::text::ImplLayoutArgs& ); // adjusting after fallback etc.
- virtual void InitFont() const {}
virtual void DrawText( SalGraphics& ) const = 0;
Degree10 GetOrientation() const { return mnOrientation; }