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:32:20 +0100 |
commit | b02b1317d41705eb77fbdf53f644199996ee4d0d (patch) | |
tree | c24503829156072b85c88d62681d607bd3f354e9 | |
parent | d80a59a22dc993be8259e43f4d46e4471f1b7cc3 (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 a2721a254a45..8816b87df833 100644 --- a/sc/source/core/tool/token.cxx +++ b/sc/source/core/tool/token.cxx @@ -2954,6 +2954,9 @@ bool adjustSingleRefInName( return false; } + if (!rCxt.maRange.In(rRef.toAbs(rPos))) + return false; + bool bChanged = false; if (rCxt.mnColDelta) |