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

Julien Nabet serval2412 at yahoo.fr
Sun Sep 4 08:08:28 UTC 2016


 test/source/screenshot_test.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit a57f8cb0709f7f2ff0aaf6f5be06f59c4d859074
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Sun Sep 4 09:23:01 2016 +0200

    cppcheck: Prefer prefix operator
    
    Change-Id: Ie5afc17cd0a27989c11bbf1d107b95ddad1218c3
    Reviewed-on: https://gerrit.libreoffice.org/28660
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>

diff --git a/test/source/screenshot_test.cxx b/test/source/screenshot_test.cxx
index 012623a..be65c0f 100644
--- a/test/source/screenshot_test.cxx
+++ b/test/source/screenshot_test.cxx
@@ -201,7 +201,7 @@ void ScreenshotTest::dumpDialogToPath(const OString& rUIXMLDescription)
 
 void ScreenshotTest::processAllKnownDialogs()
 {
-    for (mapType::const_iterator i = getKnownDialogs().begin(); i != getKnownDialogs().end(); i++)
+    for (mapType::const_iterator i = getKnownDialogs().begin(); i != getKnownDialogs().end(); ++i)
     {
         std::unique_ptr<VclAbstractDialog> pDlg(createDialogByID((*i).second));
 


More information about the Libreoffice-commits mailing list