[Libreoffice-commits] .: 2 commits - desktop/source ucb/source
Caolán McNamara
caolan at kemper.freedesktop.org
Thu Dec 16 12:23:21 PST 2010
desktop/source/deployment/gui/dp_gui_extlistbox.cxx | 4 ++--
ucb/source/ucp/gvfs/gvfs_directory.cxx | 8 ++++----
2 files changed, 6 insertions(+), 6 deletions(-)
New commits:
commit bae1f51b2130c91b0d3c47e8a36b94419a8a5dd0
Author: Caolán McNamara <caolanm at redhat.com>
Date: Thu Dec 16 12:01:43 2010 +0000
cppcheck: prefer prefix variant
diff --git a/ucb/source/ucp/gvfs/gvfs_directory.cxx b/ucb/source/ucp/gvfs/gvfs_directory.cxx
index eb99b11..fe2763e 100644
--- a/ucb/source/ucp/gvfs/gvfs_directory.cxx
+++ b/ucb/source/ucp/gvfs/gvfs_directory.cxx
@@ -135,10 +135,10 @@ struct gvfs::DataSupplier_Impl
ResultList::const_iterator end = m_aResults.end();
while ( it != end )
- {
- delete (*it);
- it++;
- }
+ {
+ delete (*it);
+ ++it;
+ }
}
};
commit f35b4010db9e49a458b8876c815c6cbe106f7214
Author: Caolán McNamara <caolanm at redhat.com>
Date: Thu Dec 16 11:56:41 2010 +0000
cppcheck: prefer prefix variant
diff --git a/desktop/source/deployment/gui/dp_gui_extlistbox.cxx b/desktop/source/deployment/gui/dp_gui_extlistbox.cxx
index 1e0e489..134593a 100644
--- a/desktop/source/deployment/gui/dp_gui_extlistbox.cxx
+++ b/desktop/source/deployment/gui/dp_gui_extlistbox.cxx
@@ -1150,7 +1150,7 @@ void ExtensionBox_Impl::checkEntries()
nNewPos = nPos;
if ( nPos <= m_nActive )
m_nActive += 1;
- iIndex++;
+ ++iIndex;
}
else
{ // remove entry from list
@@ -1164,7 +1164,7 @@ void ExtensionBox_Impl::checkEntries()
}
}
else
- iIndex++;
+ ++iIndex;
}
guard.clear();
More information about the Libreoffice-commits
mailing list