From 6134399f7b3b9474263ff311ebc4769a70288b67 Mon Sep 17 00:00:00 2001 From: Michael Meeks Date: Mon, 16 Dec 2019 11:45:37 +0000 Subject: Revert "lok: only generate sidebar JSON for mobile views, for now." This reverts commit 2d7d3cc936cb5b0a242ad7a5c714ebde03df574d. --- sfx2/source/sidebar/Deck.cxx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'sfx2') diff --git a/sfx2/source/sidebar/Deck.cxx b/sfx2/source/sidebar/Deck.cxx index 91ff5dc340a6..a57e16f0c11f 100644 --- a/sfx2/source/sidebar/Deck.cxx +++ b/sfx2/source/sidebar/Deck.cxx @@ -182,10 +182,7 @@ void Deck::Resize() { Window::Resize(); - const vcl::ILibreOfficeKitNotifier *pNotifier; - if (comphelper::LibreOfficeKit::isActive() && - comphelper::LibreOfficeKit::isMobile(SfxLokHelper::getView()) && - (pNotifier = GetLOKNotifier())) + if (const vcl::ILibreOfficeKitNotifier* pNotifier = GetLOKNotifier()) { try { -- cgit