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

New commits:
commit d8e8bdb7c3bfd6d31fc6c7fb8054477a634b3a09
Author: Caolán McNamara <caol...@redhat.com>
Date:   Thu Jan 15 17:39:09 2015 +0000

    silence -Werror,-Wunused-variable
    
    Change-Id: Iaea31af5b7e41367b59fe02d523bcb7e08a8e0fc

diff --git a/sc/source/core/tool/sharedformula.cxx 
b/sc/source/core/tool/sharedformula.cxx
index 844e0a7..4236a9f 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;
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to