From 6174694ee7efe7b94d0bb1987be1c48f1ca25cf5 Mon Sep 17 00:00:00 2001 From: Lionel Elie Mamane Date: Sun, 2 Dec 2012 16:06:58 +0100 Subject: janitorial: prefix increment when don't care about current value Change-Id: Id19369bb9d9cb2a0bab0dacb200cf5bf488c3b20 --- dbaccess/source/ui/querydesign/QueryDesignView.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dbaccess') diff --git a/dbaccess/source/ui/querydesign/QueryDesignView.cxx b/dbaccess/source/ui/querydesign/QueryDesignView.cxx index dfc0114d5ea5..a6d21dbac03b 100644 --- a/dbaccess/source/ui/querydesign/QueryDesignView.cxx +++ b/dbaccess/source/ui/querydesign/QueryDesignView.cxx @@ -1028,8 +1028,8 @@ namespace for(;aIter != aEnd;++aIter) { static_cast(*aIter)->SetVisited(sal_False); - aConnectionCount[(*aIter)->GetSourceWin()]++; - aConnectionCount[(*aIter)->GetDestWin()]++; + ++aConnectionCount[(*aIter)->GetSourceWin()]; + ++aConnectionCount[(*aIter)->GetDestWin()]; } ::std::multimap aMulti; ::std::map::iterator aCountIter = aConnectionCount.begin(); -- cgit