[Libreoffice-commits] core.git: chart2/source

Julien Nabet serval2412 at yahoo.fr
Sat Aug 16 04:43:00 PDT 2014


 chart2/source/view/charttypes/GL3DBarChart.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit e74ddb13c5ea0431058f3bc3a76ad24c9b0cb140
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Sat Aug 16 12:10:31 2014 +0200

    cppcheck: Prefer prefix ++/-- operators
    
    Change-Id: I3b0f66ad96813b064d61ea8b2ed6f2c383a11390

diff --git a/chart2/source/view/charttypes/GL3DBarChart.cxx b/chart2/source/view/charttypes/GL3DBarChart.cxx
index 0299b92..8f9d8ec 100644
--- a/chart2/source/view/charttypes/GL3DBarChart.cxx
+++ b/chart2/source/view/charttypes/GL3DBarChart.cxx
@@ -1011,7 +1011,7 @@ void GL3DBarChart::updateClickEvent()
     {
         std::list<float>& aList = maBarHistory[mSelectBarId];
         sal_uInt32 idex = 0;
-        for (std::list<float>::iterator it = aList.begin();it != aList.end();it++)
+        for (std::list<float>::iterator it = aList.begin();it != aList.end();++it)
         {
             OUString aBarValue;
             if (idex + 1 == aList.size())


More information about the Libreoffice-commits mailing list