summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@suse.com>2013-02-26 14:16:07 +0000
committerMichael Meeks <michael.meeks@suse.com>2013-02-26 14:16:43 +0000
commit59eb06e91af29e2260d23492f0f32a7fb4e8cc73 (patch)
tree0ce92ce1da98ec6f8a37c3c433f99465829b659c /sc
parent270ad08ff5732eba30a611ff6775eaf58259b5ae (diff)
initialize relative col/row/tab indicees to avoid false positives.
Change-Id: I165b9745b36499e625e6f5d65a622fcfbb535d63
Diffstat (limited to 'sc')
-rw-r--r--sc/source/core/tool/token.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sc/source/core/tool/token.cxx b/sc/source/core/tool/token.cxx
index 8e8c329727ab..b1dbdcdd869e 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;
}