diff options
author | Kurt Zenker <kz@openoffice.org> | 2011-01-06 14:53:34 +0100 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2011-01-06 14:53:34 +0100 |
commit | cc54d8e8bc507d65b9c1ffd23c087ac2030ef880 (patch) | |
tree | 67d30ff0c79b115162b493dc0807ddb024c09601 | |
parent | fdabca4115b0ec69f5e26496b527694ba3913351 (diff) | |
parent | 385a437e89cac039b7efed0e9c682883a8287de1 (diff) |
CWS-TOOLING: integrate CWS ooo33gsl13
-rw-r--r-- | filter/source/pdf/pdfexport.cxx | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/filter/source/pdf/pdfexport.cxx b/filter/source/pdf/pdfexport.cxx index 43f6f1faf2f1..dbc4db7e11e4 100644 --- a/filter/source/pdf/pdfexport.cxx +++ b/filter/source/pdf/pdfexport.cxx @@ -791,7 +791,7 @@ sal_Bool PDFExport::Export( const OUString& rFile, const Sequence< PropertyValue pPDFExtOutDevData->SetIsReduceImageResolution( mbReduceImageResolution ); pPDFExtOutDevData->SetIsExportNamedDestinations( mbExportBmkToDest ); - Sequence< PropertyValue > aRenderOptions( 5 ); + Sequence< PropertyValue > aRenderOptions( 6 ); aRenderOptions[ 0 ].Name = OUString( RTL_CONSTASCII_USTRINGPARAM( "RenderDevice" ) ); aRenderOptions[ 0 ].Value <<= Reference< awt::XDevice >( pXDevice ); aRenderOptions[ 1 ].Name = OUString( RTL_CONSTASCII_USTRINGPARAM( "ExportNotesPages" ) ); @@ -803,12 +803,8 @@ sal_Bool PDFExport::Export( const OUString& rFile, const Sequence< PropertyValue aRenderOptions[ 3 ].Value <<= sal_False; aRenderOptions[ 4 ].Name = OUString( RTL_CONSTASCII_USTRINGPARAM( "IsSkipEmptyPages" ) ); aRenderOptions[ 4 ].Value <<= mbSkipEmptyPages; - #if 0 - // #i113919# writer has to begun "PageRange" for itself changing its renderer count - // we should unify this behavior but not for OOo 3.3 aRenderOptions[ 5 ].Name = OUString( RTL_CONSTASCII_USTRINGPARAM( "PageRange" ) ); aRenderOptions[ 5 ].Value <<= aPageRange; - #endif if( aPageRange.getLength() || !aSelection.hasValue() ) { |