[Libreoffice-commits] core.git: Branch 'libreoffice-4-3' - sc/source
Markus Mohrhard
markus.mohrhard at collabora.co.uk
Thu Jan 8 06:14:39 PST 2015
sc/source/core/tool/token.cxx | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit ba874864eb57e38b6368256ccadcb8274eec4f2c
Author: Markus Mohrhard <markus.mohrhard at collabora.co.uk>
Date: Mon Dec 8 08:05:34 2014 +0100
don't update range name if ref not in update range, fdo#85304
Change-Id: I1ccfacd98bd10f6ae1d4eaf7a705fe8863045697
Reviewed-on: https://gerrit.libreoffice.org/13363
Reviewed-by: Eike Rathke <erack at redhat.com>
Tested-by: Eike Rathke <erack at redhat.com>
diff --git a/sc/source/core/tool/token.cxx b/sc/source/core/tool/token.cxx
index ebc072e..f7dbbfa 100644
--- a/sc/source/core/tool/token.cxx
+++ b/sc/source/core/tool/token.cxx
@@ -3131,6 +3131,9 @@ bool adjustSingleRefInName(
return false;
}
+ if (!rCxt.maRange.In(rRef.toAbs(rPos)))
+ return false;
+
bool bChanged = false;
if (rCxt.mnColDelta)
More information about the Libreoffice-commits
mailing list