[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-4.2' - sc/source

Markus Mohrhard markus.mohrhard at collabora.co.uk
Sun Dec 7 23:34:09 PST 2014


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

New commits:
commit 7e5877a5cd0e48ce3aa364788c6faf81fbce7338
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

diff --git a/sc/source/core/tool/token.cxx b/sc/source/core/tool/token.cxx
index 3349434..eb83c8c 100644
--- a/sc/source/core/tool/token.cxx
+++ b/sc/source/core/tool/token.cxx
@@ -3125,6 +3125,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