summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-01-15 17:39:09 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-01-15 17:39:09 +0000
commitd8e8bdb7c3bfd6d31fc6c7fb8054477a634b3a09 (patch)
tree724b502aa587119dbe30d97b40e8ec5bd33a6c0b /sc
parent30033deace805ce507c8532c51c42b9ede98db06 (diff)
silence -Werror,-Wunused-variable
Change-Id: Iaea31af5b7e41367b59fe02d523bcb7e08a8e0fc
Diffstat (limited to 'sc')
-rw-r--r--sc/source/core/tool/sharedformula.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/tool/sharedformula.cxx b/sc/source/core/tool/sharedformula.cxx
index 844e0a7678cd..4236a9f07231 100644
--- a/sc/source/core/tool/sharedformula.cxx
+++ b/sc/source/core/tool/sharedformula.cxx
@@ -410,7 +410,7 @@ void SharedFormulaUtil::startListeningAsGroup( sc::StartListeningContext& rCxt,
#else
ScFormulaCell** pp = ppSharedTop;
- ScFormulaCell** ppEnd = ppSharedTop + (**ppSharedTop).GetSharedLength();
+ ScFormulaCell** ppEnd = ppSharedTop + rTopCell.GetSharedLength();
for (; pp != ppEnd; ++pp)
{
ScFormulaCell& rFC = **pp;