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

Michael Meeks michael.meeks at suse.com
Tue Feb 26 06:17:17 PST 2013


 sc/source/core/tool/token.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 59eb06e91af29e2260d23492f0f32a7fb4e8cc73
Author: Michael Meeks <michael.meeks at suse.com>
Date:   Tue Feb 26 14:16:07 2013 +0000

    initialize relative col/row/tab indicees to avoid false positives.
    
    Change-Id: I165b9745b36499e625e6f5d65a622fcfbb535d63

diff --git a/sc/source/core/tool/token.cxx b/sc/source/core/tool/token.cxx
index 8e8c329..b1dbdcd 100644
--- a/sc/source/core/tool/token.cxx
+++ b/sc/source/core/tool/token.cxx
@@ -448,6 +448,7 @@ static ScSingleRefData lcl_ScToken_InitSingleRef()
 {
     ScSingleRefData aRef;
     aRef.InitAddress( ScAddress() );
+    aRef.nRelCol = aRef.nRelRow = aRef.nRelTab = 0;
     return aRef;
 }
 


More information about the Libreoffice-commits mailing list