Change-Id: I840d1f34dd03bcb182bb9136897c80b636df51bd
Signed-off-by: Youngki Ahn <ykahn@samsung.com>
if (headTextLength <= 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));
delete pNode;
pNode = null;
- if (pSimpleList)
- {
- pSimpleList->nodeCount--;
- }
+ pSimpleList->nodeCount--;
return pObject;
}