From b78754373d4375c131f399b5bc075b74fe80f0cd Mon Sep 17 00:00:00 2001 From: "Philipp Lohmann [pl]" Date: Wed, 15 Dec 2010 13:24:33 +0100 Subject: ooo33gsl13: #i116085# adjust PageRange handling in writer PDF export --- sw/source/core/doc/doc.cxx | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/sw/source/core/doc/doc.cxx b/sw/source/core/doc/doc.cxx index 2378cd1d68a1..54997289133e 100644 --- a/sw/source/core/doc/doc.cxx +++ b/sw/source/core/doc/doc.cxx @@ -1336,12 +1336,14 @@ void SwDoc::CalculatePagesForPrinting( // get PageRange value to use OUString aPageRange; - if (bIsPDFExport) - { - // ?? rOptions.getValue( C2U("Selection") ); - aPageRange = rOptions.getStringValue( "PageRange", OUString() ); - } - else + // --> PL, OD #i116085# - adjusting fix for i113919 +// if (bIsPDFExport) +// { +// aPageRange = rOptions.getStringValue( "PageRange", OUString() ); +// } +// else + if ( !bIsPDFExport ) + // <-- { // PageContent : // 0 -> print all pages (default if aPageRange is empty) -- cgit