summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2019-12-16 11:45:37 +0000
committerMichael Meeks <michael.meeks@collabora.com>2019-12-16 17:29:59 +0000
commit6134399f7b3b9474263ff311ebc4769a70288b67 (patch)
tree77613ea731258d40555a65020ab66a38253a3360 /sfx2
parentb35e97f75c1093db3516b74b637c16c5dc8e43a2 (diff)
Revert "lok: only generate sidebar JSON for mobile views, for now."
This reverts commit 2d7d3cc936cb5b0a242ad7a5c714ebde03df574d.
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/sidebar/Deck.cxx5
1 files changed, 1 insertions, 4 deletions
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
{