summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWinfried Donkers <winfrieddonkers@libreoffice.org>2016-01-18 12:27:49 +0100
committerEike Rathke <erack@redhat.com>2016-01-19 13:32:54 +0000
commit26bafaacd071dcba4bf7f75776e31c5786cfd725 (patch)
treecd5d25847249fb9076f9d7e3b28c51ac5144bea5
parent8d03d6dea84f8c0c9a83031b646e242df7ea5678 (diff)
follow-up of tdf#89031
No function name hints or autocompletion when character right of caret is '$' Change-Id: I4fcfa6e29e5671e97743c7fc520953721d0bda24 Reviewed-on: https://gerrit.libreoffice.org/21577 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com> (cherry picked from commit 1e2bcb3177d58e6f446296ae28fcff7f5da9b620) Reviewed-on: https://gerrit.libreoffice.org/21602
-rw-r--r--sc/source/ui/app/inputhdl.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/source/ui/app/inputhdl.cxx b/sc/source/ui/app/inputhdl.cxx
index fe9ef00e709f..09bc73d336cd 100644
--- a/sc/source/ui/app/inputhdl.cxx
+++ b/sc/source/ui/app/inputhdl.cxx
@@ -1061,7 +1061,8 @@ void ScInputHandler::UseFormulaData()
if ( aParagraph.getLength() > aSel.nEndPos &&
( ScGlobal::pCharClass->isLetterNumeric( aParagraph, aSel.nEndPos ) ||
aParagraph[ aSel.nEndPos ] == '_' ||
- aParagraph[ aSel.nEndPos ] == '.' ) )
+ aParagraph[ aSel.nEndPos ] == '.' ||
+ aParagraph[ aSel.nEndPos ] == '$' ) )
return;
// Is the cursor at the end of a word?