summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2016-09-04 09:23:01 +0200
committerJulien Nabet <serval2412@yahoo.fr>2016-09-04 08:07:59 +0000
commita57f8cb0709f7f2ff0aaf6f5be06f59c4d859074 (patch)
treefa17c2b24bc17d5f613866892452041c71e3d300 /test
parentb1053933a9569fdf791aad1dce0ee4f1d3a082dd (diff)
cppcheck: Prefer prefix operator
Change-Id: Ie5afc17cd0a27989c11bbf1d107b95ddad1218c3 Reviewed-on: https://gerrit.libreoffice.org/28660 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'test')
-rw-r--r--test/source/screenshot_test.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/source/screenshot_test.cxx b/test/source/screenshot_test.cxx
index 012623a42c8c..be65c0f66faf 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));