summaryrefslogtreecommitdiff
path: root/sc/source/ui/app
diff options
context:
space:
mode:
authorMarco Cecchetti <marco.cecchetti@collabora.com>2020-06-07 21:39:59 +0200
committerMarco Cecchetti <marco.cecchetti@collabora.com>2021-04-13 14:30:42 +0200
commit3ad78ea6511472947db354b7c9e985a96f55ad0c (patch)
tree92436075086e6c97f409431ae3b4c14d64e11946 /sc/source/ui/app
parentbd93f5cec54350b6f07c5b7cd4987ea3762e3f40 (diff)
lok: formula bar: disable tunneled tooltips
Tooltips overlaps the entered text. Change-Id: If003217fe1270a4a3ebc0ba9eee71cb8f6765760 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/95792 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Andras Timar <andras.timar@collabora.com> (cherry picked from commit c4e26fb75f904fc56bd7bcaf200b3227b9065afa) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113999 Tested-by: Jenkins Reviewed-by: Marco Cecchetti <marco.cecchetti@collabora.com>
Diffstat (limited to 'sc/source/ui/app')
-rw-r--r--sc/source/ui/app/inputhdl.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/ui/app/inputhdl.cxx b/sc/source/ui/app/inputhdl.cxx
index 7190cd6450a9..063909501f1b 100644
--- a/sc/source/ui/app/inputhdl.cxx
+++ b/sc/source/ui/app/inputhdl.cxx
@@ -1346,10 +1346,9 @@ namespace {
void ScInputHandler::ShowFuncList( const ::std::vector< OUString > & rFuncStrVec )
{
const SfxViewShell* pViewShell = SfxViewShell::Current();
- if (comphelper::LibreOfficeKit::isActive() &&
- pViewShell && pViewShell->isLOKMobilePhone())
+ if (comphelper::LibreOfficeKit::isActive())
{
- if (rFuncStrVec.size())
+ if (rFuncStrVec.size() && pViewShell && pViewShell->isLOKMobilePhone())
{
auto aPos = pFormulaData->begin();
sal_uInt32 nCurIndex = std::distance(aPos, miAutoPosFormula);
@@ -1403,6 +1402,7 @@ void ScInputHandler::ShowFuncList( const ::std::vector< OUString > & rFuncStrVec
OString s = aPayload.makeStringAndClear();
pViewShell->libreOfficeKitViewCallback(LOK_CALLBACK_CALC_FUNCTION_LIST, s.getStr());
}
+ // not tunnel tooltips in the lok case
return;
}