summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-03-10 00:03:18 +0100
committerStephan Bergmann <sbergman@redhat.com>2016-03-10 00:03:18 +0100
commit3a8844752c22e18d27aa310ae859f8cb660865b9 (patch)
treed6692e3956a62428fa183ec1d8fd9ba9e2c03613
parent6a96ad54ee202adbc0cbe2b84156c270c906db40 (diff)
loplugin:rangedforcopy
Change-Id: Iba02e6a142b52d00c824eeddb1970546f7aba3e9
-rw-r--r--vcl/workben/vcldemo.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/workben/vcldemo.cxx b/vcl/workben/vcldemo.cxx
index cd501b6e4bc7..4a3ffe544302 100644
--- a/vcl/workben/vcldemo.cxx
+++ b/vcl/workben/vcldemo.cxx
@@ -2110,7 +2110,7 @@ namespace {
Size aSize(1024, 1024);
xDevice->SetOutputSizePixel(aSize);
- for (auto aFontName : aFontNames)
+ for (auto & aFontName : aFontNames)
{
vcl::Font aFont(aFontName, Size(0,96));
#if 0