Change-Id: Id08510b1eb83493880668b003cac17b2b6736a49
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
}
}
- const BidirectionalLineInfoRun* const bidirectionalLineInfo = (layoutBidiParameters.isBidirectional && !bidirectionalLinesInfo.Empty()) ? &bidirectionalLinesInfo[layoutBidiParameters.bidiLineIndex] : nullptr;
+ const BidirectionalLineInfoRun* const bidirectionalLineInfo = (layoutBidiParameters.isBidirectional && (layoutBidiParameters.bidiLineIndex < bidirectionalLinesInfo.Count())) ? &bidirectionalLinesInfo[layoutBidiParameters.bidiLineIndex] : nullptr;
if((nullptr != bidirectionalLineInfo) &&
!bidirectionalLineInfo->isIdentity &&