[Libreoffice-commits] .: 2 commits - sdext/source
Caolán McNamara
caolan at kemper.freedesktop.org
Thu Jan 6 07:21:19 PST 2011
sdext/source/minimizer/graphiccollector.cxx | 6 +++---
sdext/source/pdfimport/tree/writertreevisiting.cxx | 10 +++++-----
2 files changed, 8 insertions(+), 8 deletions(-)
New commits:
commit e7b77db21bc2070d5fcde95747035ae73ed6d805
Author: Caolán McNamara <caolanm at redhat.com>
Date: Thu Jan 6 14:09:12 2011 +0000
cppunit: prefer prefix variant
diff --git a/sdext/source/minimizer/graphiccollector.cxx b/sdext/source/minimizer/graphiccollector.cxx
index cc7464f..fffa1e8 100644
--- a/sdext/source/minimizer/graphiccollector.cxx
+++ b/sdext/source/minimizer/graphiccollector.cxx
@@ -90,7 +90,7 @@ void ImpAddEntity( std::vector< GraphicCollector::GraphicEntity >& rGraphicEntit
aIter->maUser.push_back( rUser );
break;
}
- aIter++;
+ ++aIter;
}
if ( aIter == rGraphicEntities.end() )
{
@@ -340,12 +340,12 @@ void GraphicCollector::CollectGraphics( const Reference< XComponentContext >& rx
}
else
aGraphicIter->mbRemoveCropArea = sal_False;
- aGUIter++;
+ ++aGUIter;
}
}
if ( !aGraphicIter->mbRemoveCropArea )
aGraphicIter->maGraphicCropLogic = text::GraphicCrop( 0, 0, 0, 0 );
- aGraphicIter++;
+ ++aGraphicIter;
}
}
catch ( Exception& )
commit 0886fd754ee9bbd02754490c1717c39491a53876
Author: Caolán McNamara <caolanm at redhat.com>
Date: Thu Jan 6 14:03:30 2011 +0000
cppunit: prefer prefix variant
diff --git a/sdext/source/pdfimport/tree/writertreevisiting.cxx b/sdext/source/pdfimport/tree/writertreevisiting.cxx
index 6db1f0e..0585dee 100644
--- a/sdext/source/pdfimport/tree/writertreevisiting.cxx
+++ b/sdext/source/pdfimport/tree/writertreevisiting.cxx
@@ -62,7 +62,7 @@ void WriterXmlEmitter::visit( HyperlinkElement& elem, const std::list< Element*
while( this_it !=elem.Children.end() && *this_it != &elem )
{
(*this_it)->visitedBy( *this, this_it );
- this_it++;
+ ++this_it;
}
m_rEmitContext.rEmitter.endTag( pType );
}
@@ -85,7 +85,7 @@ void WriterXmlEmitter::visit( TextElement& elem, const std::list< Element* >::co
while( this_it !=elem.Children.end() && *this_it != &elem )
{
(*this_it)->visitedBy( *this, this_it );
- this_it++;
+ ++this_it;
}
m_rEmitContext.rEmitter.endTag( "text:span" );
@@ -107,7 +107,7 @@ void WriterXmlEmitter::visit( ParagraphElement& elem, const std::list< Element*
while( this_it !=elem.Children.end() && *this_it != &elem )
{
(*this_it)->visitedBy( *this, this_it );
- this_it++;
+ ++this_it;
}
m_rEmitContext.rEmitter.endTag( pTagType );
@@ -218,7 +218,7 @@ void WriterXmlEmitter::visit( FrameElement& elem, const std::list< Element* >::c
while( this_it !=elem.Children.end() && *this_it != &elem )
{
(*this_it)->visitedBy( *this, this_it );
- this_it++;
+ ++this_it;
}
if( bTextBox )
@@ -311,7 +311,7 @@ void WriterXmlEmitter::visit( PageElement& elem, const std::list< Element* >::co
while( this_it !=elem.Children.end() && *this_it != &elem )
{
(*this_it)->visitedBy( *this, this_it );
- this_it++;
+ ++this_it;
}
}
More information about the Libreoffice-commits
mailing list