sfx2/source/notebookbar/SfxNotebookBar.cxx | 2 ++ 1 file changed, 2 insertions(+)
New commits: commit 629f5c01ae1512724d0b2105bfd205d7c2deae19 Author: Jan Holesovsky <[email protected]> Date: Fri Jun 3 12:27:50 2016 +0200 Add an assert for a good measure. Change-Id: I764e5c96b60705f01db9525ee02fdf9959db5663 diff --git a/sfx2/source/notebookbar/SfxNotebookBar.cxx b/sfx2/source/notebookbar/SfxNotebookBar.cxx index 6888c5f..dd7a41c 100644 --- a/sfx2/source/notebookbar/SfxNotebookBar.cxx +++ b/sfx2/source/notebookbar/SfxNotebookBar.cxx @@ -36,6 +36,8 @@ void SfxNotebookBar::StateMethod(SystemWindow* pSysWindow, const css::uno::Reference<css::frame::XFrame> xFrame, const OUString& rUIFile) { + assert(pSysWindow); + SvtViewOptions aViewOpt(E_WINDOW, "notebookbar"); if (aViewOpt.IsVisible()) _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
