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 | ddffa1c43d0a3ee79eab4a297043159a79dd4ca4 (patch) | |
tree | 279298039eb22312bea315e737f364a4009d1598 | |
parent | a2ce040c5db7fd73019b1b4689f6cd2d8e0f1bd8 (diff) | |
parent | 6c0c86f0c8b7090070132b15e5e422b0677b8b73 (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 4528f5b24f25..5582722928db 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) |