diff --git a/common.pri b/common.pri index f4c3afb..465a8e1 100644 --- a/common.pri +++ b/common.pri @@ -133,7 +133,7 @@ RCC_DIR = $${ARCH_DIR}/$${BUILD_TYPE}/rcc LIMEREPORT_VERSION_MAJOR = 1 LIMEREPORT_VERSION_MINOR = 5 -LIMEREPORT_VERSION_RELEASE = 56 +LIMEREPORT_VERSION_RELEASE = 57 LIMEREPORT_VERSION = '$${LIMEREPORT_VERSION_MAJOR}.$${LIMEREPORT_VERSION_MINOR}.$${LIMEREPORT_VERSION_RELEASE}' DEFINES *= LIMEREPORT_VERSION_STR=\\\"$${LIMEREPORT_VERSION}\\\" diff --git a/limereport/lrpreparedpages.cpp b/limereport/lrpreparedpages.cpp index 2cc7a1b..5408d70 100644 --- a/limereport/lrpreparedpages.cpp +++ b/limereport/lrpreparedpages.cpp @@ -60,6 +60,7 @@ void PreparedPages::clear() bool PreparedPages::readPages(ItemsReaderIntf::Ptr reader) { + clear(); if (reader->first()){ PageItemDesignIntf::Ptr page = PageItemDesignIntf::create(0); if (!reader->readItem(page.data()))