[Libreoffice-commits] core.git: sc/source

Tor Lillqvist tml at collabora.com
Thu Jan 9 00:24:05 PST 2014


 sc/source/core/opencl/formulagroupcl.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 1d272d663cf33a9e16dd70f1b4f77778863ec763
Author: Tor Lillqvist <tml at collabora.com>
Date:   Thu Jan 9 10:23:22 2014 +0200

    WaE [loplugin]: statement aligned as second statement in if body ...
    
    Change-Id: I8f116910f002929f64bc56afe740a7fee1ea7c90

diff --git a/sc/source/core/opencl/formulagroupcl.cxx b/sc/source/core/opencl/formulagroupcl.cxx
index dbedfa2..9e31fd8 100644
--- a/sc/source/core/opencl/formulagroupcl.cxx
+++ b/sc/source/core/opencl/formulagroupcl.cxx
@@ -1153,7 +1153,7 @@ public:
                 &err);
             if (err != CL_SUCCESS)
                 throw OpenCLError(err, __FILE__, __LINE__);
-                for (int i=0 ; i < w; i++)
+            for (int i=0 ; i < w; i++)
                 pAllBuffer[i+w] = resbuf[i];
             err = clEnqueueUnmapMemObject(kEnv.mpkCmdQueue, mpClmem2, resbuf, 0, NULL, NULL);
             if (mpClmem2)


More information about the Libreoffice-commits mailing list