fix broken build caused by change in internal LOK API
Change-Id: I1a9f34bbd0cd66d97c92d09cd6bfb8f3a18b6abc
diff --git a/sw/source/core/crsr/bookmrk.cxx b/sw/source/core/crsr/bookmrk.cxx
index 3efdbf9..c1de5fb 100644
--- a/sw/source/core/crsr/bookmrk.cxx
+++ b/sw/source/core/crsr/bookmrk.cxx
@@ -718,7 +718,13 @@ namespace sw::mark
void DropDownFieldmark::SendLOKMessage(const OString& sAction)
{
if (comphelper::LibreOfficeKit::isActive() && !comphelper::LibreOfficeKit::isMobilePhone(SfxLokHelper::getView()))
const SfxViewShell* pViewShell = SfxViewShell::Current();
if (pViewShell && pViewShell->isLOKMobilePhone())
{
return;
}
if (comphelper::LibreOfficeKit::isActive())
{
if (!m_pButton)
return;