Check line is empty or not before getting line of character 62/165262/2
authorminho.sun <minho.sun@samsung.com>
Wed, 27 Dec 2017 07:55:49 +0000 (16:55 +0900)
committerminho.sun <minho.sun@samsung.com>
Wed, 27 Dec 2017 10:54:26 +0000 (19:54 +0900)
commit05456785d7bfcc34f1bee09df6b30ceb8f6ff24f
treea16a9803450e01d1c52de137f4cc2dcecf6b8ebd
parentc20463e1d4a77117810c67adfec49bcdfab5efde
Check line is empty or not before getting line of character

mLine can be empty Vector if there is no text or place holder in
text-editor / text-field.

So check mLine is empty or not first and if it is empty, return 0u.

Change-Id: I950ca6df885080d84bc8c6a7055d0afcce21d8c5
automated-tests/src/dali-toolkit/utc-Dali-TextField.cpp
dali-toolkit/internal/text/visual-model-impl.cpp