summaryrefslogtreecommitdiff
path: root/desktop/source/lib/init.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/source/lib/init.cxx')
-rw-r--r--desktop/source/lib/init.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index 3c81ae6b400d..d7b920632fbf 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -3214,12 +3214,12 @@ static void doc_postUnoCommand(LibreOfficeKitDocument* pThis, const char* pComma
// Set/unset mobile view for LOK
if (gImpl && aCommand == ".uno:LOKSetMobile")
{
- comphelper::LibreOfficeKit::setMobile();
+ comphelper::LibreOfficeKit::setMobile(nView);
return;
}
else if (gImpl && aCommand == ".uno:LOKUnSetMobile")
{
- comphelper::LibreOfficeKit::setMobile(false);
+ comphelper::LibreOfficeKit::setMobile(nView, false);
return;
}