summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2017-09-27 18:58:07 +0200
committerMichael Stahl <mstahl@redhat.com>2017-09-29 12:56:15 +0200
commitf38e9f1d194e23e455c69e9417185986daeccc39 (patch)
tree399dd8fe99f4b82791eb36e64fd0f4c9f22ec4d0 /sc
parent5440837e02dee8bc884e02be697bfd4def621d26 (diff)
Resolves: tdf#112523 do not use anything Ascii in UI context
Change-Id: I0854f7b1e6e0bf51d8b4c7d846fad9b0ff25e763 (cherry picked from commit 86910087fa41956aad6a22943bfbeb158e205dcd) Reviewed-on: https://gerrit.libreoffice.org/42872 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
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 e0712c4671f8..6b22c877f888 100644
--- a/sc/source/ui/app/inputhdl.cxx
+++ b/sc/source/ui/app/inputhdl.cxx
@@ -1294,7 +1294,7 @@ namespace {
bool needToExtendSelection(const OUString& rSelectedText, const OUString& rInsertText)
{
- return !rInsertText.startsWithIgnoreAsciiCase(rSelectedText);
+ return !ScGlobal::GetpTransliteration()->isMatch( rSelectedText, rInsertText);
}
void completeFunction( EditView* pView, const OUString& rInsert, bool& rParInserted )