summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
2833c2f)
lineIndex can not be -1
Change-Id: I31e9c4a554e93550bbd6e63b0daca3b199556be3
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
const Vector<LineRun>& lines = visualModel->mLines;
float lineTop = 0.f;
const Vector<LineRun>& lines = visualModel->mLines;
float lineTop = 0.f;
int high = totalNumberOfLines;
int low = -1;
int guess;
int high = totalNumberOfLines;
int low = -1;
int guess;
- // Check if a line is not found; return -1.
- if(lineIndex == -1)
- {
- return -1;
- }
-
// Start searching for the visualX
const LineRun& line = *(visualModel->mLines.Begin() + lineIndex);
// Start searching for the visualX
const LineRun& line = *(visualModel->mLines.Begin() + lineIndex);