sidebar: check for valid current deck before closing
commit98e569f29154c5f295516090186db5836e749a0d
authorAshod Nakashian <ashod.nakashian@collabora.co.uk>
Thu, 31 Oct 2019 11:26:34 +0000 (31 07:26 -0400)
committerMichael Meeks <michael.meeks@collabora.com>
Mon, 16 Dec 2019 17:29:59 +0000 (16 17:29 +0000)
tree4d7b1dad94a805426fb2c1d998be86dbe576acd3
parentfb9becb113d718cb4f1313d0ef2ca6bd0560fab9
sidebar: check for valid current deck before closing

Also, cleanup unused/unnecessary LOKNotifier logic
from Deck.cxx and use emplace_back where possible.

Change-Id: I300c5158b12593e8130f5b6273c1ea3bcbefea7f
Reviewed-on: https://gerrit.libreoffice.org/82402
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
sfx2/source/sidebar/Deck.cxx
sfx2/source/sidebar/SidebarController.cxx
vcl/source/window/paint.cxx