summaryrefslogtreecommitdiffstats
path: root/sd/source/ui/view
diff options
context:
space:
mode:
authorOcke.Janssen <Ocke.Janssen@oracle.com>2011-02-09 15:05:02 +0100
committerMichael Meeks <michael.meeks@suse.com>2012-11-28 12:48:33 +0000
commitd7a9f7fd98ef3ea442d670049f2db1404ff732be (patch)
tree92f3ca7e50bc7ca38de77343beb195dba588c179 /sd/source/ui/view
parentimpress211: #i110990# Fixed 64bit compiler problem. (diff)
downloadcore-d7a9f7fd98ef3ea442d670049f2db1404ff732be.tar.gz
core-d7a9f7fd98ef3ea442d670049f2db1404ff732be.zip
impress210: #i110321# check if pages exists for last page
Conflicts: sd/source/ui/view/DocumentRenderer.cxx
Diffstat (limited to 'sd/source/ui/view')
-rw-r--r--sd/source/ui/view/DocumentRenderer.cxx3
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>(