diff options
author | obo <obo@openoffice.org> | 2010-10-08 09:00:32 +0200 |
---|---|---|
committer | obo <obo@openoffice.org> | 2010-10-08 09:00:32 +0200 |
commit | 31f654d334dd2a59df0cf203ebc91660f52ba104 (patch) | |
tree | 7c0d963e19604410ef7b32fd9be3f746af5d111d | |
parent | b0ca12db0c6f617a00dc50cc9eec19b1f1929e2b (diff) | |
parent | 6c0855538c2e10a05c049abc2f8dcb56554f6dd6 (diff) |
CWS-TOOLING: integrate CWS sw33bf11ooo/OOO330_m13ooo/OOO330_m12ooo/OOO330_m11ooo/OOO330_m10
-rw-r--r-- | sw/source/ui/uno/unotxdoc.cxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sw/source/ui/uno/unotxdoc.cxx b/sw/source/ui/uno/unotxdoc.cxx index 0ea6f0fc6b..46bb39c8a3 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 ... |