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

Simplify

Change-Id: I30ab912b96fffa181b5cf062ecdf80faec615ec3
üst 9f374ac7
...@@ -56,10 +56,7 @@ void ServerFontLayout::DrawText( SalGraphics& rSalGraphics ) const ...@@ -56,10 +56,7 @@ void ServerFontLayout::DrawText( SalGraphics& rSalGraphics ) const
bool ServerFontLayout::LayoutText( ImplLayoutArgs& rArgs ) bool ServerFontLayout::LayoutText( ImplLayoutArgs& rArgs )
{ {
ServerFontLayoutEngine* pLE = mrServerFont.GetLayoutEngine(); return mrServerFont.GetLayoutEngine()->layout(*this, rArgs);
assert(pLE);
bool bRet = pLE ? pLE->layout(*this, rArgs) : false;
return bRet;
} }
// ----------------------------------------------------------------------- // -----------------------------------------------------------------------
......
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