summaryrefslogtreecommitdiff
path: root/sc/inc/refdata.hxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2013-07-15 20:17:19 -0400
committerKohei Yoshida <kohei.yoshida@gmail.com>2013-07-24 23:29:21 -0400
commitf9856df0c9f16cd80a3a6f93f744d4df44457611 (patch)
treed3141eb0b3921d83d06541e608eabdadd0067efc /sc/inc/refdata.hxx
parent533330ef264ca2242765ef4f8f6e4d35251c0d19 (diff)
SmartRelAbs() is no more.
Change-Id: I8822d6dc36f49fe1e77100275616d8017b0a7627
Diffstat (limited to 'sc/inc/refdata.hxx')
-rw-r--r--sc/inc/refdata.hxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/sc/inc/refdata.hxx b/sc/inc/refdata.hxx
index 2e5b5c70e9ee..0eef078103e6 100644
--- a/sc/inc/refdata.hxx
+++ b/sc/inc/refdata.hxx
@@ -83,7 +83,6 @@ struct SC_DLLPUBLIC ScSingleRefData
ScAddress toAbs( const ScAddress& rPos ) const;
- void SmartRelAbs( const ScAddress& rPos );
void CalcRelFromAbs( const ScAddress& rPos );
void CalcAbsIfRel( const ScAddress& rPos );
bool operator==( const ScSingleRefData& ) const;
@@ -151,8 +150,6 @@ struct ScComplexRefData
Ref1.InitAddress( nCol1, nRow1, nTab1 );
Ref2.InitAddress( nCol2, nRow2, nTab2 );
}
- inline void SmartRelAbs( const ScAddress& rPos )
- { Ref1.SmartRelAbs( rPos ); Ref2.SmartRelAbs( rPos ); }
inline void CalcRelFromAbs( const ScAddress& rPos )
{ Ref1.CalcRelFromAbs( rPos ); Ref2.CalcRelFromAbs( rPos ); }
inline void CalcAbsIfRel( const ScAddress& rPos )
@@ -165,6 +162,8 @@ struct ScComplexRefData
tab if one sheet, or >=0 if more than one sheets. */
inline bool ValidExternal() const;
+ ScRange toAbs( const ScAddress& rPos ) const;
+
/// Absolute references have to be up-to-date when calling this!
void PutInOrder();
inline bool operator==( const ScComplexRefData& r ) const