diff options
author | Markus Mohrhard <markus.mohrhard@collabora.co.uk> | 2014-12-08 08:05:34 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2014-12-08 08:26:07 +0100 |
commit | 1de372de21f9b74c5ee736437a9875b6c90da386 (patch) | |
tree | a987490549b9d3178776cb1cc31fc03ea05ac8d7 | |
parent | b45e1b58700c8303596a0aac9705d8c1577903b3 (diff) |
don't update range name if ref not in update range, fdo#85304
Change-Id: I1ccfacd98bd10f6ae1d4eaf7a705fe8863045697
-rw-r--r-- | sc/source/core/tool/token.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sc/source/core/tool/token.cxx b/sc/source/core/tool/token.cxx index 74b30adc954b..f0ba930da443 100644 --- a/sc/source/core/tool/token.cxx +++ b/sc/source/core/tool/token.cxx @@ -2955,6 +2955,9 @@ bool adjustSingleRefInName( return false; } + if (!rCxt.maRange.In(rRef.toAbs(rPos))) + return false; + bool bChanged = false; if (rCxt.mnColDelta) |