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:
parent
af96a674af
commit
1f4c640829
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user