sc/source/core/tool/token.cxx | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit ba874864eb57e38b6368256ccadcb8274eec4f2c
Author: Markus Mohrhard <[email protected]>
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 <[email protected]>
Tested-by: Eike Rathke <[email protected]>
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)
_______________________________________________
Libreoffice-commits mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits