diff options
Diffstat (limited to 'sc/source/ui/app/inputhdl.cxx')
-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; } |