[Libreoffice-commits] .: 2 commits - sd/source
Caolán McNamara
caolan at kemper.freedesktop.org
Thu Dec 23 06:09:33 PST 2010
sd/source/ui/slidesorter/controller/SlsClipboard.cxx | 2 +-
sd/source/ui/view/frmview.cxx | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
New commits:
commit fa02efb105791c280a181ee69aab263843c873b5
Author: Caolán McNamara <caolanm at redhat.com>
Date: Thu Dec 23 14:02:55 2010 +0000
cppcheck: prefer prefix variant
diff --git a/sd/source/ui/slidesorter/controller/SlsClipboard.cxx b/sd/source/ui/slidesorter/controller/SlsClipboard.cxx
index a15d10f..9eaf334 100644
--- a/sd/source/ui/slidesorter/controller/SlsClipboard.cxx
+++ b/sd/source/ui/slidesorter/controller/SlsClipboard.cxx
@@ -457,7 +457,7 @@ void Clipboard::DragFinished (sal_Int8 nDropAction)
PageList::iterator aDraggedPage;
for (aDraggedPage=maPagesToRemove.begin();
aDraggedPage!=maPagesToRemove.end();
- aDraggedPage++)
+ ++aDraggedPage)
{
rSelector.SelectPage (*aDraggedPage);
}
commit 755ec691824da28398e6800fe6bb7fe49d6d4b8e
Author: Caolán McNamara <caolanm at redhat.com>
Date: Thu Dec 23 14:00:09 2010 +0000
cppcheck: prefer prefix variant
diff --git a/sd/source/ui/view/frmview.cxx b/sd/source/ui/view/frmview.cxx
index aa1c0b1..b26fac2 100644
--- a/sd/source/ui/view/frmview.cxx
+++ b/sd/source/ui/view/frmview.cxx
@@ -554,7 +554,7 @@ void FrameView::WriteUserDataSequence ( ::com::sun::star::uno::Sequence < ::com:
PropertyValue* pValue = &(rValues.getArray()[nOldLength]);
std::vector< std::pair< OUString, Any > >::iterator aIter( aUserData.begin() );
- for( ; aIter != aUserData.end(); aIter++, pValue++ )
+ for( ; aIter != aUserData.end(); ++aIter, ++pValue )
{
pValue->Name = (*aIter).first;
pValue->Value = (*aIter).second;
More information about the Libreoffice-commits
mailing list