[Libreoffice-commits] .: 4 commits - desktop/source framework/source svx/source ucb/source
Caolán McNamara
caolan at kemper.freedesktop.org
Sat Nov 27 04:49:17 PST 2010
desktop/source/deployment/gui/dp_gui_extensioncmdqueue.cxx | 4 ++--
framework/source/recording/dispatchrecorder.cxx | 2 +-
svx/source/sdr/properties/defaultproperties.cxx | 2 +-
ucb/source/ucp/tdoc/tdoc_datasupplier.cxx | 2 +-
4 files changed, 5 insertions(+), 5 deletions(-)
New commits:
commit ecd1a15b58cc7a0a5dc1870276abd3a9f662450a
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sat Nov 27 12:35:07 2010 +0000
cppcheck: use prefix form
diff --git a/ucb/source/ucp/tdoc/tdoc_datasupplier.cxx b/ucb/source/ucp/tdoc/tdoc_datasupplier.cxx
index 340d23d..bed9e49 100644
--- a/ucb/source/ucp/tdoc/tdoc_datasupplier.cxx
+++ b/ucb/source/ucp/tdoc/tdoc_datasupplier.cxx
@@ -110,7 +110,7 @@ DataSupplier_Impl::~DataSupplier_Impl()
while ( it != end )
{
delete (*it);
- it++;
+ ++it;
}
delete m_pNamesOfChildren;
commit d903b60e85d8adce33c88d10b80f98851099b058
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sat Nov 27 12:33:57 2010 +0000
cppcheck: use prefix form
diff --git a/svx/source/sdr/properties/defaultproperties.cxx b/svx/source/sdr/properties/defaultproperties.cxx
index e19e2fc..2d1e99f 100644
--- a/svx/source/sdr/properties/defaultproperties.cxx
+++ b/svx/source/sdr/properties/defaultproperties.cxx
@@ -185,7 +185,7 @@ namespace sdr
while(aIter != aEnd)
{
PostItemChange(*aIter);
- aIter++;
+ ++aIter;
}
ItemSetChanged(aSet);
commit 6c46020a51e55388aeacdb59b763f130fad4f35f
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sat Nov 27 12:33:32 2010 +0000
cppcheck: use prefix form
diff --git a/framework/source/recording/dispatchrecorder.cxx b/framework/source/recording/dispatchrecorder.cxx
index 1efd8e8..cc0fddb 100644
--- a/framework/source/recording/dispatchrecorder.cxx
+++ b/framework/source/recording/dispatchrecorder.cxx
@@ -202,7 +202,7 @@ void SAL_CALL DispatchRecorder::endRecording() throw( css::uno::RuntimeException
aScriptBuffer.appendAscii("dispatcher = createUnoService(\"com.sun.star.frame.DispatchHelper\")\n\n");
std::vector< com::sun::star::frame::DispatchStatement>::iterator p;
- for ( p = m_aStatements.begin(); p != m_aStatements.end(); p++ )
+ for ( p = m_aStatements.begin(); p != m_aStatements.end(); ++p )
implts_recordMacro( p->aCommand, p->aArgs, p->bIsComment, aScriptBuffer );
::rtl::OUString sScript = aScriptBuffer.makeStringAndClear();
return sScript;
commit 13b4dd73cd933124154a45978ef1f633b4e8bdd9
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sat Nov 27 11:08:28 2010 +0000
cppcheck: use prefix form
diff --git a/desktop/source/deployment/gui/dp_gui_extensioncmdqueue.cxx b/desktop/source/deployment/gui/dp_gui_extensioncmdqueue.cxx
index 3674759..dbe0e3b 100644
--- a/desktop/source/deployment/gui/dp_gui_extensioncmdqueue.cxx
+++ b/desktop/source/deployment/gui/dp_gui_extensioncmdqueue.cxx
@@ -1019,7 +1019,7 @@ void ExtensionCmdQueue::Thread::_checkForUpdates(
int countWebsiteDownload = 0;
typedef std::vector< dp_gui::UpdateData >::const_iterator cit;
- for ( cit i = vData.begin(); i < vData.end(); i++ )
+ for ( cit i = vData.begin(); i < vData.end(); ++i )
{
if ( i->sWebsiteURL.getLength() > 0 )
countWebsiteDownload ++;
@@ -1039,7 +1039,7 @@ void ExtensionCmdQueue::Thread::_checkForUpdates(
//Now start the webbrowser and navigate to the websites where we get the updates
if ( RET_OK == nDialogResult )
{
- for ( cit i = vData.begin(); i < vData.end(); i++ )
+ for ( cit i = vData.begin(); i < vData.end(); ++i )
{
if ( m_pDialogHelper && ( i->sWebsiteURL.getLength() > 0 ) )
m_pDialogHelper->openWebBrowser( i->sWebsiteURL, m_pDialogHelper->getWindow()->GetText() );
More information about the Libreoffice-commits
mailing list