0
0
mirror of https://github.com/fralx/LimeReport.git synced 2024-12-23 16:22:58 +03:00

fix #10 Non-void function should return a value. lrreportengine.cpp line 523

This commit is contained in:
Arin Alexander 2016-02-20 12:05:57 +03:00
parent af96a674af
commit 1f4c640829

View File

@ -518,8 +518,9 @@ ReportPages ReportEnginePrivate::renderToPages()
ReportPages result = m_reportRender->renderPageToPages(m_pages.at(0));
emit renderFinished();
return result;
}else return ReportPages();
m_reportRender.clear();
}else {
return ReportPages();
}
}
QString ReportEnginePrivate::lastError()