diff options
author | Ocke.Janssen <Ocke.Janssen@oracle.com> | 2011-02-09 15:05:02 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2012-11-28 12:48:33 +0000 |
commit | d7a9f7fd98ef3ea442d670049f2db1404ff732be (patch) | |
tree | 92f3ca7e50bc7ca38de77343beb195dba588c179 /sd/source | |
parent | 88b223b0baf8eb5599c8c67f9e2a761bbbd819f5 (diff) |
impress210: #i110321# check if pages exists for last page
Conflicts:
sd/source/ui/view/DocumentRenderer.cxx
Diffstat (limited to 'sd/source')
-rw-r--r-- | sd/source/ui/view/DocumentRenderer.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sd/source/ui/view/DocumentRenderer.cxx b/sd/source/ui/view/DocumentRenderer.cxx index 045971c75d8d..6c422becd70b 100644 --- a/sd/source/ui/view/DocumentRenderer.cxx +++ b/sd/source/ui/view/DocumentRenderer.cxx @@ -1917,8 +1917,7 @@ private: // Create a printer page when we have found one page for each // placeholder or when this is the last (and special) loop. - if (aPageIndices.size() == nShapeCount - || bLastLoop) + if (!aPageIndices.empty() && (aPageIndices.size() == nShapeCount || bLastLoop)) { maPrinterPages.push_back( ::boost::shared_ptr<PrinterPage>( |