summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@suse.com>2013-02-26 14:18:00 +0000
committerMichael Meeks <michael.meeks@suse.com>2013-02-26 14:18:00 +0000
commitfba47cdec494b716131dc6cdff3a750e980ba610 (patch)
treef73cf3146eb6c55075102e27eadbda1d9a2dc046 /sc
parent59eb06e91af29e2260d23492f0f32a7fb4e8cc73 (diff)
and avoid type issues when zeroing.
Change-Id: Ib230b6e0c5c6ca7884023b849ae6a0ae9c3005a6
Diffstat (limited to 'sc')
-rw-r--r--sc/source/core/tool/token.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/sc/source/core/tool/token.cxx b/sc/source/core/tool/token.cxx
index b1dbdcdd869e..da787e1858be 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;
}