remove remnants of hack for tdf#89231
The actual part doing the substitution was removed
in 47ea13ef8dc8ab9aeded6121845e3ebd1d28b292, so this doesn't really
do anything.
Change-Id: I47e2e67d6d62bc4279f5efea4b60451dba567ede
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134654
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
Tested-by: Jenkins
diff --git a/vcl/source/outdev/font.cxx b/vcl/source/outdev/font.cxx
index 611a49b..106769e 100644
--- a/vcl/source/outdev/font.cxx
+++ b/vcl/source/outdev/font.cxx
@@ -1234,13 +1234,8 @@ std::unique_ptr<SalLayout> OutputDevice::ImplGlyphFallbackLayout( std::unique_pt
if( nFallbackLevel < MAX_FALLBACK-1)
{
// ignore fallback font if it is the same as the original font
// unless we are looking for a substitution for 0x202F, in which
// case we'll just use a normal space
if( mpFontInstance->GetFontFace() == pFallbackFont->GetFontFace() &&
aMissingCodes.indexOf(0x202F) == -1 )
{
if( mpFontInstance->GetFontFace() == pFallbackFont->GetFontFace())
continue;
}
}
// create and add glyph fallback layout to multilayout