summaryrefslogtreecommitdiff
path: root/vcl/generic/glyphs/gcach_layout.cxx
diff options
context:
space:
mode:
authorKhaled Hosny <khaledhosny@eglug.org>2013-10-30 07:10:43 +0200
committerKhaled Hosny <khaledhosny@eglug.org>2013-10-30 09:39:41 +0200
commit8886336141dcbf21961d0c86a82f6224d7ac7a31 (patch)
tree07759e07f5d5b690081bcdf8911a4fd61ed95824 /vcl/generic/glyphs/gcach_layout.cxx
parent9f374ac73f8789aa6daa16969ebb25e2803373f8 (diff)
Simplify
Change-Id: I30ab912b96fffa181b5cf062ecdf80faec615ec3
Diffstat (limited to 'vcl/generic/glyphs/gcach_layout.cxx')
-rw-r--r--vcl/generic/glyphs/gcach_layout.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/vcl/generic/glyphs/gcach_layout.cxx b/vcl/generic/glyphs/gcach_layout.cxx
index e207c5ee901a..4673931ffaba 100644
--- a/vcl/generic/glyphs/gcach_layout.cxx
+++ b/vcl/generic/glyphs/gcach_layout.cxx
@@ -56,10 +56,7 @@ void ServerFontLayout::DrawText( SalGraphics& rSalGraphics ) const
bool ServerFontLayout::LayoutText( ImplLayoutArgs& rArgs )
{
- ServerFontLayoutEngine* pLE = mrServerFont.GetLayoutEngine();
- assert(pLE);
- bool bRet = pLE ? pLE->layout(*this, rArgs) : false;
- return bRet;
+ return mrServerFont.GetLayoutEngine()->layout(*this, rArgs);
}
// -----------------------------------------------------------------------