summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2014-12-27 21:30:03 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2014-12-27 21:31:19 +0100
commit83fe7260ec369f0ba68437f8c3b1c8ec6092ae54 (patch)
tree8ebc379022b40d3507b36ea42c8c1e6bc0448374
parentea4b6b4929b6390b03ad25800db41e2db4faed13 (diff)
iterator::operator*() should return a reference
Change-Id: Id09f555c5ece9e5cb60a2ae7bc2456d4343744f5
-rw-r--r--sc/source/core/tool/scmatrix.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/tool/scmatrix.cxx b/sc/source/core/tool/scmatrix.cxx
index 7901dfe4c4b6..bf2f1632b6d2 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;