diff options
author | Kohei Yoshida <kohei.yoshida@gmail.com> | 2013-07-25 14:36:07 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@gmail.com> | 2013-07-30 23:49:53 -0400 |
commit | 0008af4697579a806cfb9149dc7cfc5b7bc69b9c (patch) | |
tree | faeddb329425fd65b5ceb76ccd1f02b77792488f /sc/qa/unit | |
parent | 0b59f6953a57e4785c9fc3e4da33ebd801946339 (diff) |
More on removing direct access to reference position members.
Change-Id: I7ca5cd0aefbcbda5d89116aca90e974b4bed6ca0
Diffstat (limited to 'sc/qa/unit')
-rw-r--r-- | sc/qa/unit/ucalc.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/qa/unit/ucalc.cxx b/sc/qa/unit/ucalc.cxx index 4af30fa5237a..9132cc56974b 100644 --- a/sc/qa/unit/ucalc.cxx +++ b/sc/qa/unit/ucalc.cxx @@ -872,13 +872,13 @@ bool checkRelativeRefToken(ScDocument& rDoc, const ScAddress& rPos, SCsCOL nRelC return false; ScSingleRefData& rRef = pToken->GetSingleRef(); - if (!rRef.IsColRel() || rRef.nRelCol != nRelCol) + if (!rRef.IsColRel() || rRef.Col() != nRelCol) { cerr << "Unexpected relative column address." << endl; return false; } - if (!rRef.IsRowRel() || rRef.nRelRow != nRelRow) + if (!rRef.IsRowRel() || rRef.Row() != nRelRow) { cerr << "Unexpected relative row address." << endl; return false; |