Commits

Anonymous committed bec99ca Merge

CWS-TOOLING: integrate CWS sw33bf11

  • Participants
  • Parent commits 4c963bb, 8332a1a

Comments (0)

Files changed (1)

sw/source/ui/uno/unotxdoc.cxx

     {
         // --> 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 ...