summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorobo <obo@openoffice.org>2010-10-08 09:00:32 +0200
committerobo <obo@openoffice.org>2010-10-08 09:00:32 +0200
commitc0be68452261575069d0192bfe722c8b398d9973 (patch)
treee568fb687463ed94728e2b6ce75d8ab4bdfeae7f
parent4db1a7895dbe019da936e42fbd036d600a326ac9 (diff)
parent568b1c96b9564e90ef007689b940523890017fd7 (diff)
CWS-TOOLING: integrate CWS sw33bf11
Notes
split repo tag: writer_ooo/OOO330_m10 split repo tag: writer_ooo/OOO330_m11 split repo tag: writer_ooo/OOO330_m12 split repo tag: writer_ooo/OOO330_m13
-rw-r--r--sw/source/ui/uno/unotxdoc.cxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/sw/source/ui/uno/unotxdoc.cxx b/sw/source/ui/uno/unotxdoc.cxx
index e78fc11c1203..38a9f1fc5337 100644
--- a/sw/source/ui/uno/unotxdoc.cxx
+++ b/sw/source/ui/uno/unotxdoc.cxx
@@ -2858,7 +2858,11 @@ uno::Sequence< beans::PropertyValue > SAL_CALL SwXTextDocument::getRenderer(
{
// --> TL, OD 2010-09-07 #i114210#
// determine the correct page number from the renderer index
- const USHORT nPage = m_pRenderData->GetPagesToPrint()[ nRenderer ];
+ // --> OD 2010-10-01 #i114875
+ // consider brochure print
+ const USHORT nPage = bPrintProspect
+ ? nRenderer + 1
+ : m_pRenderData->GetPagesToPrint()[ nRenderer ];
// <--
// get paper tray to use ...