sc/source/core/tool/token.cxx |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit b02b1317d41705eb77fbdf53f644199996ee4d0d
Author: Markus Mohrhard <markus.mohrh...@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

diff --git a/sc/source/core/tool/token.cxx b/sc/source/core/tool/token.cxx
index a2721a2..8816b87 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)
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to