summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2020-01-21 16:55:08 +0100
committerMiklos Vajna <vmiklos@collabora.com>2020-01-22 10:00:02 +0100
commit0fcfda2be3681f4e6955bdec1e042304ed189e23 (patch)
tree3debc1bee805c4af820cd109e4f55db2b6b44500
parentb9896d177be27b9c91402e211cac05d6a8b35c2d (diff)
PDF export: don't ignore FilterData specified by UNO clients
The data was given to the PDF filter, but then we stopped iterating right after finding our output stream. Seems this was always like this, ever since commit 4111b430a0a7954416ff95794a8ffb8fbc4472e3 (#101570#: added pdf filter, 2002-08-13). (cherry picked from commit 3b9797671ce49f53b2c583c9201c348b55b10c96) [ Testcase not backported, pdfium is too old on this branch. ] Conflicts: filter/source/pdf/pdffilter.cxx vcl/qa/cppunit/pdfexport/pdfexport.cxx Change-Id: If26661935c22a7b7959fda5f92b4d50b15f13a35
-rw-r--r--filter/source/pdf/pdffilter.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/filter/source/pdf/pdffilter.cxx b/filter/source/pdf/pdffilter.cxx
index 2a32408bb0c3..7396b96b88cc 100644
--- a/filter/source/pdf/pdffilter.cxx
+++ b/filter/source/pdf/pdffilter.cxx
@@ -48,7 +48,7 @@ bool PDFFilter::implExport( const Sequence< PropertyValue >& rDescriptor )
Reference< task::XStatusIndicator > xStatusIndicator;
Reference< task::XInteractionHandler > xIH;
- for ( sal_Int32 i = 0 ; ( i < nLength ) && !xOStm.is(); ++i)
+ for ( sal_Int32 i = 0 ; ( i < nLength ); ++i)
{
if ( pValue[ i ].Name == "OutputStream" )
pValue[ i ].Value >>= xOStm;