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

Noel Grandin noel at peralex.com
Wed Jun 29 08:35:18 UTC 2016


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

New commits:
commit 6a1c5619be878d2ea7a38ec98d53c36fe3d416f6
Author: Noel Grandin <noel at peralex.com>
Date:   Wed Jun 29 10:34:42 2016 +0200

    loplugin:passstuffbyref
    
    Change-Id: Ic96736e5dc07abcbb738bcc4664981e3e142eee9

diff --git a/sc/source/core/tool/scmatrix.cxx b/sc/source/core/tool/scmatrix.cxx
index 7133004..3badaf6 100644
--- a/sc/source/core/tool/scmatrix.cxx
+++ b/sc/source/core/tool/scmatrix.cxx
@@ -2999,7 +2999,7 @@ struct COp {};
 template <typename T>
 struct COp<T, svl::SharedString>
 {
-    svl::SharedString operator()(char, T /*aOp*/, double /*a*/, double /*b*/, const svl::SharedString& rString) const
+    const svl::SharedString& operator()(char, T /*aOp*/, double /*a*/, double /*b*/, const svl::SharedString& rString) const
     {
         return rString;
     }


More information about the Libreoffice-commits mailing list