From c54616f62bc70a9d39abf8837a9d7c3031c80a41 Mon Sep 17 00:00:00 2001 From: Kohei Yoshida Date: Mon, 15 Jul 2013 22:51:29 -0400 Subject: Start replacing CalcAbsIfRel() with toAbs(). To avoid changing the state of reference just to get absolute reference position with respect to the base position. I'm not finished with it yet. Change-Id: I4a9db6dbf74aefb0a77de927a933cf4dab94bfd5 --- sc/inc/refdata.hxx | 1 + 1 file changed, 1 insertion(+) (limited to 'sc/inc/refdata.hxx') diff --git a/sc/inc/refdata.hxx b/sc/inc/refdata.hxx index 0eef078103e6..d79590cf8988 100644 --- a/sc/inc/refdata.hxx +++ b/sc/inc/refdata.hxx @@ -82,6 +82,7 @@ struct SC_DLLPUBLIC ScSingleRefData inline bool ValidExternal() const; ScAddress toAbs( const ScAddress& rPos ) const; + void SetAddress( const ScAddress& rAddr, const ScAddress& rPos ); void CalcRelFromAbs( const ScAddress& rPos ); void CalcAbsIfRel( const ScAddress& rPos ); -- cgit