diff options
Diffstat (limited to 'test/source/screenshot_test.cxx')
-rw-r--r-- | test/source/screenshot_test.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/source/screenshot_test.cxx b/test/source/screenshot_test.cxx index fbe6ca10b501..fc4bf5acf447 100644 --- a/test/source/screenshot_test.cxx +++ b/test/source/screenshot_test.cxx @@ -222,9 +222,9 @@ void ScreenshotTest::dumpDialogToPath(const OString& rUIXMLDescription) void ScreenshotTest::processAllKnownDialogs() { - for (mapType::const_iterator i = getKnownDialogs().begin(); i != getKnownDialogs().end(); ++i) + for (const auto& rDialog : getKnownDialogs()) { - ScopedVclPtr<VclAbstractDialog> pDlg(createDialogByID((*i).second)); + ScopedVclPtr<VclAbstractDialog> pDlg(createDialogByID(rDialog.second)); if (pDlg) { |