summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2011-12-21 00:29:34 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2011-12-21 01:50:17 +0100
commit16af1bd2094c38ab2bbf070340717ba8405abbb5 (patch)
treeaab28955c09e330b5cbc4edb85c9d44094338f5f
parent64e416d42af6e315bd9e06ab638294a906cae219 (diff)
full absolute refs in range names should be treated like normal abs refs
-rw-r--r--sc/source/core/tool/token.cxx8
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;
}