diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2011-12-21 00:29:34 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2011-12-21 01:50:17 +0100 |
commit | 16af1bd2094c38ab2bbf070340717ba8405abbb5 (patch) | |
tree | aab28955c09e330b5cbc4edb85c9d44094338f5f /sc | |
parent | fix small problem with range names in copy/paste (diff) | |
download | core-16af1bd2094c38ab2bbf070340717ba8405abbb5.tar.gz core-16af1bd2094c38ab2bbf070340717ba8405abbb5.zip |
full absolute refs in range names should be treated like normal abs refs
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/core/tool/token.cxx | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/sc/source/core/tool/token.cxx b/sc/source/core/tool/token.cxx index 50b3433e172c..dcc08d449c40 100644 --- a/sc/source/core/tool/token.cxx +++ b/sc/source/core/tool/token.cxx @@ -1868,11 +1868,9 @@ bool SkipReference(ScToken* pToken, const ScAddress& rPos, const ScDocument* pOl break; } } - else - { - if (IsInCopyRange(aRange, pOldDoc)) - return true; - } + + if (IsInCopyRange(aRange, pOldDoc)) + return true; return false; } |