diff options
-rw-r--r-- | sfx2/source/sidebar/SidebarController.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sfx2/source/sidebar/SidebarController.cxx b/sfx2/source/sidebar/SidebarController.cxx index c132b9e506d0..d8975e1744dd 100644 --- a/sfx2/source/sidebar/SidebarController.cxx +++ b/sfx2/source/sidebar/SidebarController.cxx @@ -248,7 +248,8 @@ void SidebarController::disposeDecks() (hide + "=false").c_str()); } - mpParentWindow->ReleaseLOKNotifier(); + if (mpParentWindow) + mpParentWindow->ReleaseLOKNotifier(); } mpCurrentDeck.clear(); |