From 008382650edf51d1561c7cdf8b1e0d43f0426c02 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 20 Aug 2019 14:02:21 +0200 Subject: loplugin:constvars in svx Change-Id: I42d04c84c87a792456f36013e1f05159ccf7cd1e Reviewed-on: https://gerrit.libreoffice.org/77808 Tested-by: Jenkins Reviewed-by: Noel Grandin --- svx/source/svdraw/svdxcgv.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'svx/source/svdraw/svdxcgv.cxx') diff --git a/svx/source/svdraw/svdxcgv.cxx b/svx/source/svdraw/svdxcgv.cxx index b8cfc498083f..31d4cf2163f0 100644 --- a/svx/source/svdraw/svdxcgv.cxx +++ b/svx/source/svdraw/svdxcgv.cxx @@ -678,7 +678,7 @@ Graphic SdrExchangeView::GetObjGraphic(const SdrObject& rSdrObject) rObjVector1.push_back( pMark ); } - for(std::vector & rObjVector : aObjVectors) + for(const std::vector & rObjVector : aObjVectors) { for(SdrMark* pMark : rObjVector) { -- cgit