From: Yunji Park Date: Tue, 16 Apr 2013 10:05:22 +0000 (+0900) Subject: Fixed prevent X-Git-Tag: accepted/tizen_2.1/20130425.033138~171^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=787bc34d031c40552d453453bc569731cd716c24;p=framework%2Fosp%2Fuifw.git Fixed prevent Change-Id: I7be0737402cdfd6a3504c71df719cd35bef002f4 --- diff --git a/src/graphics/text/FGrp_TextTextComposite.cpp b/src/graphics/text/FGrp_TextTextComposite.cpp index 49e029a..ca503b2 100644 --- a/src/graphics/text/FGrp_TextTextComposite.cpp +++ b/src/graphics/text/FGrp_TextTextComposite.cpp @@ -1488,7 +1488,7 @@ TextComposite::DrawWithBaselineWithEllipsis(_CanvasImpl& canvasImpl, FloatRectan if (LTRTextLength <= 0) { - if (pLastDisplayTextElement->IsBackGroundDrawingModeEnable()) + if (pLastDisplayTextElement && pLastDisplayTextElement->IsBackGroundDrawingModeEnable()) { r = canvasImpl.FillRectangle(pLastDisplayTextElement->GetBackgroundColor(), FloatRectangle(adjustedRect.x, displayRect.y, abbrevTextDim.width, displayRect.height)); SysTryCatch(NID_GRP, r == E_SUCCESS, , r, "[%s] Propagating.", GetErrorMessage(r));