[Libreoffice-commits] online.git: test/httpwstest.cpp

Noel Grandin noel.grandin at collabora.co.uk
Tue Dec 27 10:21:47 UTC 2016


 test/httpwstest.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 0848882aa773c820d717c6ea8242fbec472494d1
Author: Noel Grandin <noel.grandin at collabora.co.uk>
Date:   Fri Dec 23 08:30:11 2016 +0200

    loplugin:rangedforcopy
    
    Change-Id: Ied12a3d9016845035536b496d73e3fe7e77b4e33
    Reviewed-on: https://gerrit.libreoffice.org/32364
    Reviewed-by: Tor Lillqvist <tml at collabora.com>
    Tested-by: Tor Lillqvist <tml at collabora.com>

diff --git a/test/httpwstest.cpp b/test/httpwstest.cpp
index 168ee60..56493b3 100644
--- a/test/httpwstest.cpp
+++ b/test/httpwstest.cpp
@@ -1470,7 +1470,7 @@ void HTTPWSTest::testStateChanged(const std::string& filename, std::vector<std::
         std::ostringstream ostr;
 
         ostr << filename << " : Missing Uno Commands: " << std::endl;
-        for (auto itUno : vecCommands)
+        for (auto & itUno : vecCommands)
             ostr << itUno << std::endl;
 
         CPPUNIT_FAIL(ostr.str());


More information about the Libreoffice-commits mailing list