[Libreoffice-commits] .: sdext/source
David Tardon
dtardon at kemper.freedesktop.org
Tue Mar 6 23:47:24 PST 2012
sdext/source/pdfimport/tree/pdfiprocessor.cxx | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
New commits:
commit e24911bc95935070953cb3b44efdcfa36fae718e
Author: David Tardon <dtardon at redhat.com>
Date: Wed Mar 7 08:45:50 2012 +0100
use const_iterator
diff --git a/sdext/source/pdfimport/tree/pdfiprocessor.cxx b/sdext/source/pdfimport/tree/pdfiprocessor.cxx
index 985e5f0..d0ec397 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<Element*>::iterator());
+ m_pDocument->visitedBy( *optimizingVisitor, std::list<Element*>::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<Element*>::iterator() );
+ m_pDocument->visitedBy( *finalizingVisitor, std::list<Element*>::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<Element*>::iterator() );
+ m_pDocument->visitedBy( *aEmittingVisitor, std::list<Element*>::const_iterator() );
aContext.rEmitter.endTag( "office:document" );
endIndicator();
}
More information about the Libreoffice-commits
mailing list