From 3a1a448ac4a04137705ea0aaf0163358fd2e5549 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 15 Sep 2021 10:58:18 +0200 Subject: loplugin:constvars Change-Id: I9b35d6333afa6b305bf73fc55a7e60c8365674e9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122134 Tested-by: Jenkins Reviewed-by: Noel Grandin --- cui/source/dialogs/GraphicTestsDialog.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cui/source') diff --git a/cui/source/dialogs/GraphicTestsDialog.cxx b/cui/source/dialogs/GraphicTestsDialog.cxx index 8cacba0d1607..555ef3bd888c 100644 --- a/cui/source/dialogs/GraphicTestsDialog.cxx +++ b/cui/source/dialogs/GraphicTestsDialog.cxx @@ -68,7 +68,7 @@ short GraphicsTestsDialog::run() + "\n(Click on any test to view its resultant bitmap image)"; m_xResultLog->set_text(aResultLog); sal_Int32 nTestNumber = 0; - for (VclTestResult& test : aTestObject.getTestResults()) + for (const VclTestResult& test : aTestObject.getTestResults()) { auto xGpTest = std::make_unique(m_xContainerBox.get(), m_xDialog.get(), test.getTestName(), test.getStatus(), -- cgit