[Libreoffice-commits] core.git: Branch 'libreoffice-5-4' - sc/source

Eike Rathke erack at redhat.com
Thu Jun 8 20:26:48 UTC 2017


 sc/source/ui/app/inputhdl.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 430e2d0d087ec981e59e0962bc029717481ee753
Author: Eike Rathke <erack at redhat.com>
Date:   Thu Jun 8 20:39:00 2017 +0200

    Add '~' reference union/list operator to range finder delimiters
    
    ... so formula expressions using it actually get the ranges highlighted.
    
    Change-Id: Ibb0d2b49101e62b1f219a14d1669a501a450aaf4
    (cherry picked from commit 27c5f2586821546ee8281bafb8b5f478ae015ac1)
    Reviewed-on: https://gerrit.libreoffice.org/38580
    Tested-by: Eike Rathke <erack at redhat.com>
    Reviewed-by: Eike Rathke <erack at redhat.com>

diff --git a/sc/source/ui/app/inputhdl.cxx b/sc/source/ui/app/inputhdl.cxx
index 3647a5633502..dfbd1c43bbb3 100644
--- a/sc/source/ui/app/inputhdl.cxx
+++ b/sc/source/ui/app/inputhdl.cxx
@@ -299,7 +299,7 @@ void ScInputHandler::InitRangeFinder( const OUString& rFormula )
     ScDocument& rDoc = pDocSh->GetDocument();
     const sal_Unicode cSheetSep = lcl_getSheetSeparator(&rDoc);
 
-    OUString aDelimiters = ScEditUtil::ModifyDelimiters(" !\"");
+    OUString aDelimiters = ScEditUtil::ModifyDelimiters(" !~\"");
         // delimiters (in addition to ScEditUtil): only characters that are
         // allowed in formulas next to references and the quotation mark (so
         // string constants can be skipped)


More information about the Libreoffice-commits mailing list