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

Markus Mohrhard markus.mohrhard at googlemail.com
Sat Dec 27 12:32:12 PST 2014


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

New commits:
commit 83fe7260ec369f0ba68437f8c3b1c8ec6092ae54
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date:   Sat Dec 27 21:30:03 2014 +0100

    iterator::operator*() should return a reference
    
    Change-Id: Id09f555c5ece9e5cb60a2ae7bc2456d4343744f5

diff --git a/sc/source/core/tool/scmatrix.cxx b/sc/source/core/tool/scmatrix.cxx
index 7901dfe..bf2f163 100644
--- a/sc/source/core/tool/scmatrix.cxx
+++ b/sc/source/core/tool/scmatrix.cxx
@@ -1950,7 +1950,7 @@ public:
         return *this;
     }
 
-    value_type operator*() const
+    value_type& operator*() const
     {
         val = calcVal();
         return val;


More information about the Libreoffice-commits mailing list