diff options
author | Lionel Elie Mamane <lionel@mamane.lu> | 2012-12-02 16:06:58 +0100 |
---|---|---|
committer | Lionel Elie Mamane <lionel@mamane.lu> | 2012-12-02 18:34:25 +0100 |
commit | 6174694ee7efe7b94d0bb1987be1c48f1ca25cf5 (patch) | |
tree | c9843d7a98c383dd999a4feb1208a5a20b35a7b6 /dbaccess | |
parent | 0fe6d567be1a58a466b07e8c3732f0cbcc436443 (diff) |
janitorial: prefix increment when don't care about current value
Change-Id: Id19369bb9d9cb2a0bab0dacb200cf5bf488c3b20
Diffstat (limited to 'dbaccess')
-rw-r--r-- | dbaccess/source/ui/querydesign/QueryDesignView.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
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<OQueryTableConnection*>(*aIter)->SetVisited(sal_False); - aConnectionCount[(*aIter)->GetSourceWin()]++; - aConnectionCount[(*aIter)->GetDestWin()]++; + ++aConnectionCount[(*aIter)->GetSourceWin()]; + ++aConnectionCount[(*aIter)->GetDestWin()]; } ::std::multimap<sal_Int32 , OTableWindow*> aMulti; ::std::map<OTableWindow*,sal_Int32>::iterator aCountIter = aConnectionCount.begin(); |