summaryrefslogtreecommitdiff
path: root/sc/inc/refdata.hxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2013-07-24 20:32:18 -0400
committerKohei Yoshida <kohei.yoshida@gmail.com>2013-07-24 23:29:43 -0400
commite481282f576c46e02c836524dd000cadca14091a (patch)
tree1885834d6b2ce908ff81b7c19ea67e5ee7a742e2 /sc/inc/refdata.hxx
parent69b1caa11940141cf81daf9e63f22e230d777e32 (diff)
Work on remving direct access to ScSingleRefData's data members.
This broke the shared formula import from xls and xlsx. Disabling the tests for now. Change-Id: I75d802b00947b21083db19b5c07204a0c3d4f369
Diffstat (limited to 'sc/inc/refdata.hxx')
-rw-r--r--sc/inc/refdata.hxx13
1 files changed, 10 insertions, 3 deletions
diff --git a/sc/inc/refdata.hxx b/sc/inc/refdata.hxx
index ccbc1c5d645c..629e8ae40b93 100644
--- a/sc/inc/refdata.hxx
+++ b/sc/inc/refdata.hxx
@@ -65,6 +65,13 @@ struct SC_DLLPUBLIC ScSingleRefData
inline void SetTabRel( bool bVal ) { Flags.bTabRel = (bVal ? true : false ); }
inline bool IsTabRel() const { return Flags.bTabRel; }
+ void SetAbsCol( SCCOL nVal );
+ void SetRelCol( SCCOL nVal );
+ void SetAbsRow( SCROW nVal );
+ void SetRelRow( SCROW nVal );
+ void SetAbsTab( SCTAB nVal );
+ void SetRelTab( SCTAB nVal );
+
void SetColDeleted( bool bVal );
bool IsColDeleted() const;
void SetRowDeleted( bool bVal );
@@ -84,9 +91,9 @@ struct SC_DLLPUBLIC ScSingleRefData
ScAddress toAbs( const ScAddress& rPos ) const;
void SetAddress( const ScAddress& rAddr, const ScAddress& rPos );
- SCROW GetRow() const;
- SCCOL GetCol() const;
- SCTAB GetTab() const;
+ SCROW Row() const;
+ SCCOL Col() const;
+ SCTAB Tab() const;
bool operator==( const ScSingleRefData& ) const;
bool operator!=( const ScSingleRefData& ) const;