summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2017-09-27 18:58:07 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2017-09-28 14:31:04 +0200
commit8d6dd32d58494cc21c32bc3c4798fdd4593bde08 (patch)
tree16f1a72680d14e61ee76bbfccc3f06c6864a1e93
parentcf2e1fd7f1b2655949b4bdb9512c585130a8bb42 (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/42871 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
-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 cc702882c72e..ac72e1123ad1 100644
--- a/sc/source/ui/app/inputhdl.cxx
+++ b/sc/source/ui/app/inputhdl.cxx
@@ -1300,7 +1300,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 )