summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2017-09-27 18:58:07 +0200
committerEike Rathke <erack@redhat.com>2017-09-27 18:59:02 +0200
commit86910087fa41956aad6a22943bfbeb158e205dcd (patch)
tree357f8dfce539458432d423f9c319cb870b9fab1d
parent0d45001d0112df2820c18fed648e648c94d2e5a3 (diff)
Resolves: tdf#112523 do not use anything Ascii in UI context
Change-Id: I0854f7b1e6e0bf51d8b4c7d846fad9b0ff25e763
-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 017456c90123..a3df618d8cd6 100644
--- a/sc/source/ui/app/inputhdl.cxx
+++ b/sc/source/ui/app/inputhdl.cxx
@@ -1292,7 +1292,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 )