summaryrefslogtreecommitdiff
path: root/sc/inc/sharedformula.hxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2013-08-12 17:23:30 -0400
committerKohei Yoshida <kohei.yoshida@gmail.com>2013-08-12 19:46:30 -0400
commitb4038bd494632c5efe1a761cb5bf23e5eebbe065 (patch)
tree7fb2fd1c329cb07ec009fb425dde7d2cc0ef48eb /sc/inc/sharedformula.hxx
parent05f86f50a66602761d3f5cff6a9be20994ee2224 (diff)
This is clearly a bug. Let's fix it.
Change-Id: I83aa2c108e7d8561d28d76b69a8763a15a20a2bd
Diffstat (limited to 'sc/inc/sharedformula.hxx')
-rw-r--r--sc/inc/sharedformula.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/inc/sharedformula.hxx b/sc/inc/sharedformula.hxx
index 0b49751e7bd8..11493e6468b4 100644
--- a/sc/inc/sharedformula.hxx
+++ b/sc/inc/sharedformula.hxx
@@ -34,7 +34,7 @@ public:
for (++it; it != itEnd; ++it, pPrev = pCur)
{
pCur = *it;
- ScFormulaCell::CompareState eState = pPrev->CompareByTokenArray(*pPrev);
+ ScFormulaCell::CompareState eState = pCur->CompareByTokenArray(*pPrev);
if (eState == ScFormulaCell::NotEqual)
continue;