Merge pull request #15472 from mogemimi/fix-deprecation-warning

Fix deprecation warning caused by PageView::getPages()
This commit is contained in:
minggo 2016-04-21 09:47:49 +08:00
commit 6b262a55cb
1 changed files with 1 additions and 1 deletions

View File

@ -329,7 +329,7 @@ Vector<Layout*>& PageView::getPages()
Layout* PageView::getPage(ssize_t index)
{
if (index < 0 || index >= this->getPages().size())
if (index < 0 || index >= this->getItems().size())
{
return nullptr;
}