diff options
author | Marco Cecchetti <marco.cecchetti@collabora.com> | 2020-06-07 21:39:59 +0200 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2020-06-12 14:33:56 +0200 |
commit | c4e26fb75f904fc56bd7bcaf200b3227b9065afa (patch) | |
tree | 6b62233f1106a01ad26704ca2db394f2ea166385 /sc/source/ui | |
parent | d4e71e2d5088f61250748c92a10ec31fb40d6adf (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>
Diffstat (limited to 'sc/source/ui')
-rw-r--r-- | sc/source/ui/app/inputhdl.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/ui/app/inputhdl.cxx b/sc/source/ui/app/inputhdl.cxx index 4ccdfa70b639..5569039be769 100644 --- a/sc/source/ui/app/inputhdl.cxx +++ b/sc/source/ui/app/inputhdl.cxx @@ -1310,10 +1310,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); @@ -1367,6 +1366,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; } |