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

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


 sc/source/core/tool/token.cxx |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

New commits:
commit fba47cdec494b716131dc6cdff3a750e980ba610
Author: Michael Meeks <michael.meeks at suse.com>
Date:   Tue Feb 26 14:18:00 2013 +0000

    and avoid type issues when zeroing.
    
    Change-Id: Ib230b6e0c5c6ca7884023b849ae6a0ae9c3005a6

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


More information about the Libreoffice-commits mailing list