From e247262327d04ad9933f4af354050f4420c6e303 Mon Sep 17 00:00:00 2001 From: Kohei Yoshida Date: Fri, 26 Jul 2013 00:41:07 -0400 Subject: More on avoiding direct access to data members. Change-Id: I5fdc0d248fe9c36418fd02a1e652e4e35a638c8a --- sc/source/core/tool/compiler.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sc/source/core/tool/compiler.cxx') 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); -- cgit v1.2.3