[Libreoffice-commits] .: 2 commits - sd/source
Caolán McNamara
caolan at kemper.freedesktop.org
Thu Dec 23 13:12:49 PST 2010
sd/source/filter/ppt/pptin.cxx | 2 +-
sd/source/ui/dlg/TemplateScanner.cxx | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
New commits:
commit a3fc6e097563361a3c38f4c2961f14d454ef2c39
Author: Caolán McNamara <caolanm at redhat.com>
Date: Thu Dec 23 21:05:30 2010 +0000
cppcheck: prefer prefix variant
diff --git a/sd/source/ui/dlg/TemplateScanner.cxx b/sd/source/ui/dlg/TemplateScanner.cxx
index 020abaa..360d9e6 100644
--- a/sd/source/ui/dlg/TemplateScanner.cxx
+++ b/sd/source/ui/dlg/TemplateScanner.cxx
@@ -171,7 +171,7 @@ TemplateScanner::~TemplateScanner (void)
// Delete all entries of the template list that have not been
// transferred to another object.
std::vector<TemplateDir*>::iterator I;
- for (I=maFolderList.begin(); I!=maFolderList.end(); I++)
+ for (I=maFolderList.begin(); I!=maFolderList.end(); ++I)
if (*I != NULL)
delete *I;
}
commit fb611d8c5ec3f9439f97e6f87a0a13d4556dab88
Author: Caolán McNamara <caolanm at redhat.com>
Date: Thu Dec 23 15:04:39 2010 +0000
cppcheck: prefer prefix variant
diff --git a/sd/source/filter/ppt/pptin.cxx b/sd/source/filter/ppt/pptin.cxx
index a99f9e4..4dc6097 100644
--- a/sd/source/filter/ppt/pptin.cxx
+++ b/sd/source/filter/ppt/pptin.cxx
@@ -1869,7 +1869,7 @@ void ImplSdPPTImport::ImportPageEffect( SdPage* pPage, const sal_Bool bNewAnimat
tAnimationVector::iterator aIter( aAnimationsOnThisPage.begin() );
const tAnimationVector::iterator aEnd( aAnimationsOnThisPage.end() );
- for( ;aIter != aEnd; aIter++ )
+ for( ;aIter != aEnd; ++aIter )
{
Ppt97AnimationPtr pPpt97Animation = (*aIter).second;;
if( pPpt97Animation.get() )
More information about the Libreoffice-commits
mailing list