Kaydet (Commit) 7c2e96a4 authored tarafından Khaled Hosny's avatar Khaled Hosny

DisableGlyphInjection does nothing

Change-Id: Ie97eac46fde075bd74c7adb583b8be979f3af829
üst 4f60b300
......@@ -187,7 +187,6 @@ public:
virtual void MoveGlyph( int nStart, long nNewXPos ) = 0;
virtual void DropGlyph( int nStart ) = 0;
virtual void Simplify( bool bIsBase ) = 0;
virtual void DisableGlyphInjection( bool /*bDisable*/ ) {}
virtual std::shared_ptr<vcl::TextLayoutCache>
CreateTextLayoutCache(OUString const&) const;
......
......@@ -1203,9 +1203,6 @@ void MultiSalLayout::AdjustLayout( ImplLayoutArgs& rArgs )
}
mpLayouts[n]->AdjustLayout( aMultiArgs );
// disable glyph-injection for glyph-fallback SalLayout iteration
SalLayout::DisableGlyphInjection( true );
// remove unused parts of component
if( n > 0 )
{
......@@ -1433,10 +1430,6 @@ void MultiSalLayout::AdjustLayout( ImplLayoutArgs& rArgs )
}
mpLayouts[0]->Simplify( true );
// reenable glyph-injection
for( n = 0; n < mnLevel; ++n )
SalLayout::DisableGlyphInjection( false );
}
void MultiSalLayout::InitFont() const
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment