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

Jakub Trzebiatowski ubap.dev at gmail.com
Sat Mar 19 15:04:01 UTC 2016


 sc/source/core/opencl/opbase.cxx |    2 +-
 sc/source/core/opencl/opbase.hxx |    4 +---
 2 files changed, 2 insertions(+), 4 deletions(-)

New commits:
commit b869ee1950c3035a7f24de186e5112be6f71371a
Author: Jakub Trzebiatowski <ubap.dev at gmail.com>
Date:   Mon Mar 7 21:54:28 2016 +0100

    tdf#96099 fix trival typedef, sc/source/core/, std::vector<std::string>
    
    Change-Id: I45c2e397374732b6ad44803863fe271bffbe4ddb
    Reviewed-on: https://gerrit.libreoffice.org/23013
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Markus Mohrhard <markus.mohrhard at googlemail.com>

diff --git a/sc/source/core/opencl/opbase.cxx b/sc/source/core/opencl/opbase.cxx
index 6d0b37a2..479254b 100644
--- a/sc/source/core/opencl/opbase.cxx
+++ b/sc/source/core/opencl/opbase.cxx
@@ -186,7 +186,7 @@ bool VectorRef::NeedParallelReduction() const
 void Normal::GenSlidingWindowFunction(
     std::stringstream& ss, const std::string& sSymName, SubArguments& vSubArguments )
 {
-    ArgVector argVector;
+    std::vector<std::string> argVector;
     ss << "\ndouble " << sSymName;
     ss << "_" << BinFuncName() << "(";
     for (size_t i = 0; i < vSubArguments.size(); i++)
diff --git a/sc/source/core/opencl/opbase.hxx b/sc/source/core/opencl/opbase.hxx
index ec1afaf..2896b81 100644
--- a/sc/source/core/opencl/opbase.hxx
+++ b/sc/source/core/opencl/opbase.hxx
@@ -171,12 +171,10 @@ protected:
 class OpBase
 {
 public:
-    typedef std::vector<std::string> ArgVector;
-    typedef std::vector<std::string>::iterator ArgVectorIter;
     virtual std::string GetBottom() { return "";};
     virtual std::string Gen2( const std::string&/*lhs*/,
         const std::string&/*rhs*/ ) const { return "";}
-    static std::string Gen( ArgVector& /*argVector*/ ) { return "";};
+    static std::string Gen( std::vector<std::string>& /*argVector*/ ) { return "";};
     virtual std::string BinFuncName() const { return "";};
     virtual void BinInlineFun( std::set<std::string>&,
         std::set<std::string>& ) { }


More information about the Libreoffice-commits mailing list