diff --git a/sdext/source/pdfimport/tree/pdfiprocessor.cxx b/sdext/source/pdfimport/tree/pdfiprocessor.cxx index 985e5f011d7e..d0ec397c7dee 100644 --- a/sdext/source/pdfimport/tree/pdfiprocessor.cxx +++ b/sdext/source/pdfimport/tree/pdfiprocessor.cxx @@ -824,7 +824,7 @@ void PDFIProcessor::emit( XmlEmitter& rEmitter, rVisitorFactory.createOptimizingVisitor(*this)); // FIXME: localization startIndicator( rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( " " ) ) ); - m_pDocument->visitedBy( *optimizingVisitor, std::list::iterator()); + m_pDocument->visitedBy( *optimizingVisitor, std::list::const_iterator()); #if OSL_DEBUG_LEVEL > 1 m_pDocument->emitStructure( 0 ); @@ -836,7 +836,7 @@ void PDFIProcessor::emit( XmlEmitter& rEmitter, rVisitorFactory.createStyleCollectingVisitor(aStyles,*this)); // FIXME: localization - m_pDocument->visitedBy( *finalizingVisitor, std::list::iterator() ); + m_pDocument->visitedBy( *finalizingVisitor, std::list::const_iterator() ); EmitContext aContext( rEmitter, aStyles, m_aImages, *this, m_xStatusIndicator, m_xContext ); ElementTreeVisitorSharedPtr aEmittingVisitor( @@ -871,7 +871,7 @@ void PDFIProcessor::emit( XmlEmitter& rEmitter, // emit style list aStyles.emit( aContext, *aEmittingVisitor ); - m_pDocument->visitedBy( *aEmittingVisitor, std::list::iterator() ); + m_pDocument->visitedBy( *aEmittingVisitor, std::list::const_iterator() ); aContext.rEmitter.endTag( "office:document" ); endIndicator(); }