diff options
author | Michael Stahl <mstahl@redhat.com> | 2015-03-13 14:16:51 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2015-03-13 16:23:26 +0100 |
commit | 077723111292ea615437f3bc2f1e47cf77d7ad42 (patch) | |
tree | f851f81cea82fcbf8251f8418b3f2a26f3085f64 /sd | |
parent | 386a85ed50a3e4832644072950a30304ba6c58a6 (diff) |
V803 decreased performance postfix increment
These are pretty silly anyway, but apparently it complains even about
integer variables which make this rather a waste of time.
Change-Id: I15e847d33d5decd2adcab04e4f1567d3997d28a2
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/core/shapelist.cxx | 2 | ||||
-rw-r--r-- | sd/source/ui/view/ViewShellManager.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/core/shapelist.cxx b/sd/source/core/shapelist.cxx index a265e9c93eff..47ba5e281705 100644 --- a/sd/source/core/shapelist.cxx +++ b/sd/source/core/shapelist.cxx @@ -133,7 +133,7 @@ void ShapeList::seekShape( sal_uInt32 nIndex ) { maIter = maShapeList.begin(); while( nIndex-- && (maIter != maShapeList.end()) ) - maIter++; + ++maIter; } bool ShapeList::hasMore() const diff --git a/sd/source/ui/view/ViewShellManager.cxx b/sd/source/ui/view/ViewShellManager.cxx index ad678affd91b..4587c0550e27 100644 --- a/sd/source/ui/view/ViewShellManager.cxx +++ b/sd/source/ui/view/ViewShellManager.cxx @@ -997,7 +997,7 @@ IMPL_LINK(ViewShellManager::Implementation, WindowEventHandler, VclWindowEvent*, { for (ActiveShellList::iterator aI(maActiveViewShells.begin()); aI!=maActiveViewShells.end(); - aI++) + ++aI) { if (pEventWindow == static_cast< ::vcl::Window*>(aI->GetWindow())) { |