diff options
author | Kohei Yoshida <kohei.yoshida@gmail.com> | 2013-07-26 00:41:07 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@gmail.com> | 2013-07-30 23:49:55 -0400 |
commit | e247262327d04ad9933f4af354050f4420c6e303 (patch) | |
tree | a05e55c4dd8f169c75ad4febd215492b0b83a7c5 /sc/source/core/tool/compiler.cxx | |
parent | bb93f79249ac64bbd6d7a28d5bced7f02e1936ef (diff) |
More on avoiding direct access to data members.
Change-Id: I5fdc0d248fe9c36418fd02a1e652e4e35a638c8a
Diffstat (limited to 'sc/source/core/tool/compiler.cxx')
-rw-r--r-- | sc/source/core/tool/compiler.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/core/tool/compiler.cxx b/sc/source/core/tool/compiler.cxx index 4c17edf67a32..198f653d917e 100644 --- a/sc/source/core/tool/compiler.cxx +++ b/sc/source/core/tool/compiler.cxx @@ -2739,11 +2739,11 @@ bool ScCompiler::IsSingleReference( const String& rName ) if( !( nFlags & SCA_VALID ) ) { if( !( nFlags & SCA_VALID_COL ) ) - aRef.nCol = MAXCOL+1; + aRef.SetColDeleted(true); if( !( nFlags & SCA_VALID_ROW ) ) - aRef.nRow = MAXROW+1; + aRef.SetRowDeleted(true); if( !( nFlags & SCA_VALID_TAB ) ) - aRef.nTab = MAXTAB+3; + aRef.SetTabDeleted(true); nFlags |= SCA_VALID; } aRef.SetAddress(aAddr, aPos); |