summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2023-04-25 19:46:45 +0200
committerAndras Timar <andras.timar@collabora.com>2023-05-13 20:05:32 +0200
commitcbea0246b7b916c159ce68d0422de0827833f1ec (patch)
tree41d0a909f685d785e72a97a76d558eecab5889ca /sc
parent2d47692b2a98b50c78b7fa06b2990ac224ed49b7 (diff)
Resolves: tdf#41304 Add percent operator % to reference delimiters
Change-Id: I094fcb800a29de424db28e1b58f1239381a3b4a3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/151001 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Jenkins Reviewed-on: https://gerrit.libreoffice.org/c/core/+/151012 Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/app/inputhdl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/app/inputhdl.cxx b/sc/source/ui/app/inputhdl.cxx
index 5f69a3e492e5..6a84353d6b13 100644
--- a/sc/source/ui/app/inputhdl.cxx
+++ b/sc/source/ui/app/inputhdl.cxx
@@ -364,7 +364,7 @@ void ScInputHandler::InitRangeFinder( const OUString& rFormula )
ScDocument& rDoc = pDocSh->GetDocument();
const sal_Unicode cSheetSep = rDoc.GetSheetSeparator();
- OUString aDelimiters = ScEditUtil::ModifyDelimiters(" !~\"\t\n");
+ OUString aDelimiters = ScEditUtil::ModifyDelimiters(" !~%\"\t\n");
// 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)