[Libreoffice-commits] core.git: vcl/workben

Stephan Bergmann sbergman at redhat.com
Wed Mar 9 23:03:45 UTC 2016


 vcl/workben/vcldemo.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 3a8844752c22e18d27aa310ae859f8cb660865b9
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Thu Mar 10 00:03:18 2016 +0100

    loplugin:rangedforcopy
    
    Change-Id: Iba02e6a142b52d00c824eeddb1970546f7aba3e9

diff --git a/vcl/workben/vcldemo.cxx b/vcl/workben/vcldemo.cxx
index cd501b6..4a3ffe5 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


More information about the Libreoffice-commits mailing list