Removed exception
authorYunji Park <yunji19.park@samsung.com>
Fri, 31 May 2013 12:19:31 +0000 (21:19 +0900)
committerYunji Park <yunji19.park@samsung.com>
Fri, 31 May 2013 12:19:31 +0000 (21:19 +0900)
Change-Id: I64074d552644d8628e2ef04d0e9e5bb718e817ff

src/graphics/text/FGrp_TextTextObject.cpp

index c80f46b..df0175c 100644 (file)
@@ -867,6 +867,11 @@ TextObject::SetFirstDisplayLineIndex(int lineIndex)
 {
        IF_NOT_CONSTRUCTED(return E_INVALID_STATE);
 
+       if (lineIndex == 0 && __pTextColumn->GetTotalLineCount() == 0)
+       {
+               return E_SUCCESS;
+       }
+
        result r = E_SUCCESS;
        FloatRectangle lineBounds;
        TextLine* pTextLine = null;