diff options
author | Petr Mladek <pmladek@suse.cz> | 2011-01-07 20:55:01 +0100 |
---|---|---|
committer | Petr Mladek <pmladek@suse.cz> | 2011-01-07 20:55:01 +0100 |
commit | 04a1bae024326f04cbcd0698eb81c0f4adb3a4ba (patch) | |
tree | 984dee066837367f08c39f4030c90444040ceaf3 | |
parent | d45b32b52f21c6078b2a945bf84864b046dd3a0b (diff) | |
parent | 918d4322d8cedadcebaa3b5f57dd465cd15856a8 (diff) |
Merge commit 'ooo/OOO330_m19' into libreoffice-3-3
-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 b77c64bf7a..b502253d12 100644 --- a/sw/source/core/doc/doc.cxx +++ b/sw/source/core/doc/doc.cxx @@ -1339,12 +1339,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) |