summaryrefslogtreecommitdiff
path: root/vcl/source/outdev/font.cxx
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 /vcl/source/outdev/font.cxx
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 'vcl/source/outdev/font.cxx')
-rw-r--r--vcl/source/outdev/font.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/vcl/source/outdev/font.cxx b/vcl/source/outdev/font.cxx
index b8a29adcfcc8..2412ac17f415 100644
--- a/vcl/source/outdev/font.cxx
+++ b/vcl/source/outdev/font.cxx
@@ -1150,7 +1150,6 @@ std::unique_ptr<SalLayout> OutputDevice::ImplGlyphFallbackLayout( std::unique_pt
}
// restore orig font settings
- pSalLayout->InitFont();
rLayoutArgs.maRuns = std::move(aLayoutRuns);
return pSalLayout;