diff options
author | Philipp Lohmann [pl] <Philipp.Lohmann@Oracle.COM> | 2010-12-15 13:24:33 +0100 |
---|---|---|
committer | Philipp Lohmann [pl] <Philipp.Lohmann@Oracle.COM> | 2010-12-15 13:24:33 +0100 |
commit | 4c8a903f074a3230f78ea0a829a0bdb9ecf18b47 (patch) | |
tree | d579ea0f7031970537b78b2d19ea61e61ec9bdb4 | |
parent | 450deef7af2e6150493f9f584bf08600884ca098 (diff) |
ooo33gsl13: #i116085# adjust PageRange handling in writer PDF export
-rw-r--r-- | sw/source/core/doc/doc.cxx | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/sw/source/core/doc/doc.cxx b/sw/source/core/doc/doc.cxx index 4cd360128c..80c5a95714 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) |