diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2012-04-23 01:15:01 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2012-04-23 01:16:57 +0200 |
commit | bba176a844bd993cf7fe6acce9ff18027870dfa5 (patch) | |
tree | 00e439d76e5811ddb7a70d2d81132305bdcbaff6 /sc/inc/tokenarray.hxx | |
parent | 7bec04312dcef51c8f7b248231e139178fdeada1 (diff) |
only update absolute refs when copying between docs, fdo#48482
The copy/paste formulas code is getting a bit complex. I will try to
write some test cases for it.
Diffstat (limited to 'sc/inc/tokenarray.hxx')
-rw-r--r-- | sc/inc/tokenarray.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/inc/tokenarray.hxx b/sc/inc/tokenarray.hxx index 48bf4c504287..cc55936afe88 100644 --- a/sc/inc/tokenarray.hxx +++ b/sc/inc/tokenarray.hxx @@ -108,8 +108,9 @@ public: /** * Make all absolute references pointing to the copied range if the range is copied too + * @param bCheckCopyArea should references pointing into the copy area be adjusted independently from being absolute, should be true only for copy&paste between documents */ - void AdjustAbsoluteRefs( const ScDocument* pOldDoc, const ScAddress& rOldPos, const ScAddress& rNewPos, bool bRangeName = false ); + void AdjustAbsoluteRefs( const ScDocument* pOldDoc, const ScAddress& rOldPos, const ScAddress& rNewPos, bool bRangeName = false, bool bCheckCopyArea = false ); }; #endif // SC_TOKENARRAY_HXX |