Change-Id: I369cf05906fab4181711447d8eb9c13393d041b1
Signed-off-by: katpaga.a <katpaga.a@samsung.com>
int
TableView::GetTopDrawnItemIndex(void) const
{
+ result r = E_SUCCESS;
const _TableViewImpl* pImpl = _TableViewImpl::GetInstance(*this);
SysAssertf(pImpl != null, "Not yet constructed. Construct() should be called before use.");
int itemIndex = -1;
int groupIndex = -1;
- pImpl->GetTopDrawnItemIndex(groupIndex, itemIndex);
+ r = pImpl->GetTopDrawnItemIndex(groupIndex, itemIndex);
+ SetLastResult(r);
return itemIndex;
}
itemPos.itemIndex = -1;
itemPos.groupIndex = -1;
- return E_OUT_OF_RANGE;
+ return E_OBJ_NOT_FOUND;
}
result