Fixed prevent
authorYunji Park <yunji19.park@samsung.com>
Tue, 16 Apr 2013 10:05:22 +0000 (19:05 +0900)
committerYunji Park <yunji19.park@samsung.com>
Tue, 16 Apr 2013 10:05:22 +0000 (19:05 +0900)
Change-Id: I7be0737402cdfd6a3504c71df719cd35bef002f4

src/graphics/text/FGrp_TextTextComposite.cpp

index 49e029a..ca503b2 100644 (file)
@@ -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));