0
0
mirror of https://github.com/fralx/LimeReport.git synced 2024-12-24 08:34:38 +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)); ReportPages result = m_reportRender->renderPageToPages(m_pages.at(0));
emit renderFinished(); emit renderFinished();
return result; return result;
}else return ReportPages(); }else {
m_reportRender.clear(); return ReportPages();
}
} }
QString ReportEnginePrivate::lastError() QString ReportEnginePrivate::lastError()