[Libreoffice-commits] .: reportdesign/source

Julien Nabet serval2412 at kemper.freedesktop.org
Thu May 5 13:45:25 PDT 2011


 reportdesign/source/ui/report/ReportControllerObserver.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 34b470a610ce790f67ac06cc06270f52270c74d1
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Thu May 5 22:43:38 2011 +0200

    Fix cppcheck warning (Prefer prefix ++/-- operators for non-primitive types)

diff --git a/reportdesign/source/ui/report/ReportControllerObserver.cxx b/reportdesign/source/ui/report/ReportControllerObserver.cxx
index 76fb46a..bd55192 100644
--- a/reportdesign/source/ui/report/ReportControllerObserver.cxx
+++ b/reportdesign/source/ui/report/ReportControllerObserver.cxx
@@ -123,7 +123,7 @@ public:
                     // maybe they need a change in format, color, etc
                     ::std::vector< uno::Reference< container::XChild > >::const_iterator aIter = m_pImpl->m_aSections.begin();
                     ::std::vector< uno::Reference< container::XChild > >::const_iterator aEnd = m_pImpl->m_aSections.end();
-                    for (;aIter != aEnd; aIter++)
+                    for (;aIter != aEnd; ++aIter)
                     {
                         const uno::Reference<container::XChild> xChild (*aIter);
                         if (xChild.is())


More information about the Libreoffice-commits mailing list