diff options
author | Kurt Zenker <kz@openoffice.org> | 2010-09-24 14:47:51 +0200 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2010-09-24 14:47:51 +0200 |
commit | 3e90c83c2439b4640131394b4f3999b643ce0c87 (patch) | |
tree | e2be6d850bd198f8262eacc5d3e424f2e9bbdb40 /sw/source/ui/uno | |
parent | f5f6d4982b66dfec6d8364c622235bb60f7cb340 (diff) | |
parent | 4abe1904132f0eb34228c41454ef0abcb167f65c (diff) |
CWS-TOOLING: integrate CWS sw33bf09ooo/OOO330_m9
Diffstat (limited to 'sw/source/ui/uno')
-rw-r--r-- | sw/source/ui/uno/unotxdoc.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sw/source/ui/uno/unotxdoc.cxx b/sw/source/ui/uno/unotxdoc.cxx index 862c2b321b..0ea6f0fc6b 100644 --- a/sw/source/ui/uno/unotxdoc.cxx +++ b/sw/source/ui/uno/unotxdoc.cxx @@ -2856,7 +2856,10 @@ uno::Sequence< beans::PropertyValue > SAL_CALL SwXTextDocument::getRenderer( uno::Sequence< beans::PropertyValue > aRenderer; if (m_pRenderData) { - const USHORT nPage = nRenderer + 1; + // --> TL, OD 2010-09-07 #i114210# + // determine the correct page number from the renderer index + const USHORT nPage = m_pRenderData->GetPagesToPrint()[ nRenderer ]; + // <-- // get paper tray to use ... sal_Int32 nPrinterPaperTray = -1; |