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

Tor Lillqvist tml at collabora.com
Mon Nov 4 08:55:33 CET 2013


 sc/source/core/opencl/op_financial.cxx |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

New commits:
commit 57c2de08ddf14c0da80de06736d99382ad036539
Author: Tor Lillqvist <tml at collabora.com>
Date:   Mon Nov 4 09:48:08 2013 +0200

    WaE: unused variables
    
    Change-Id: I6b5849b23478c747bbebd8d00543739e581760a3

diff --git a/sc/source/core/opencl/op_financial.cxx b/sc/source/core/opencl/op_financial.cxx
index bd50fdb..d5853f6 100644
--- a/sc/source/core/opencl/op_financial.cxx
+++ b/sc/source/core/opencl/op_financial.cxx
@@ -2179,7 +2179,6 @@ void OpPMT::GenSlidingWindowFunction(std::stringstream &ss,
 void OpPrice::GenSlidingWindowFunction(std::stringstream &ss,
           const std::string sSymName, SubArguments &vSubArguments)
 {
-    ArgVector argVector;
     ss << "\ndouble " << sSymName;
     ss << "_"<< BinFuncName() <<"(";
     for (unsigned i = 0; i < vSubArguments.size(); i++)
@@ -2298,7 +2297,6 @@ void OpPPMT::BinInlineFun(std::set<std::string>& decls,
 void OpPPMT::GenSlidingWindowFunction(std::stringstream &ss,
         const std::string sSymName, SubArguments &vSubArguments)
 {
-    ArgVector argVector;
     ss << "\ndouble " << sSymName;
     ss << "_"<< BinFuncName() <<"(";
     for (unsigned i = 0; i < vSubArguments.size(); i++)
commit a39ff54b7621f4bc214b86674e0eb4b7e6612ebc
Author: Tor Lillqvist <tml at collabora.com>
Date:   Mon Nov 4 09:46:39 2013 +0200

    WaE: statement aligned ... [loplugin]
    
    Change-Id: I90613943b2d9fda6286f85a2b45655055ba30b6e

diff --git a/sc/source/core/opencl/op_financial.cxx b/sc/source/core/opencl/op_financial.cxx
index b5b9a5c..bd50fdb 100644
--- a/sc/source/core/opencl/op_financial.cxx
+++ b/sc/source/core/opencl/op_financial.cxx
@@ -2761,7 +2761,7 @@ void OpCoupnum::GenSlidingWindowFunction(std::stringstream &ss,
     for (unsigned i = 0; i < vSubArguments.size(); i++)
     {
       if (i)
-      ss << ",";
+          ss << ",";
       vSubArguments[i]->GenSlidingWindowDecl(ss);
     }
     ss << ") {\n    ";


More information about the Libreoffice-commits mailing list