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/data/conditio.cxx | |
parent | bb93f79249ac64bbd6d7a28d5bced7f02e1936ef (diff) |
More on avoiding direct access to data members.
Change-Id: I5fdc0d248fe9c36418fd02a1e652e4e35a638c8a
Diffstat (limited to 'sc/source/core/data/conditio.cxx')
-rw-r--r-- | sc/source/core/data/conditio.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/core/data/conditio.cxx b/sc/source/core/data/conditio.cxx index 3d60b0b91d0a..baf4b1839aa8 100644 --- a/sc/source/core/data/conditio.cxx +++ b/sc/source/core/data/conditio.cxx @@ -1390,7 +1390,7 @@ void ScConditionEntry::SourceChanged( const ScAddress& rChanged ) nCol2 = rChanged.Col() - aProv.Ref1.Col(); else { - bHit &= ( rChanged.Col() >= aProv.Ref1.nCol ); + bHit &= (rChanged.Col() >= aProv.Ref1.Col()); nCol2 = MAXCOL; } if ( aProv.Ref1.IsRowRel() ) @@ -1412,7 +1412,7 @@ void ScConditionEntry::SourceChanged( const ScAddress& rChanged ) nCol1 = rChanged.Col() - aProv.Ref2.Col(); else { - bHit &= ( rChanged.Col() <= aProv.Ref2.nCol ); + bHit &= ( rChanged.Col() <= aProv.Ref2.Col() ); nCol1 = 0; } if ( aProv.Ref2.IsRowRel() ) |