[Libreoffice-commits] core.git: sfx2/source
Jan Holesovsky
kendy at collabora.com
Fri Jun 3 10:28:46 UTC 2016
sfx2/source/notebookbar/SfxNotebookBar.cxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit 629f5c01ae1512724d0b2105bfd205d7c2deae19
Author: Jan Holesovsky <kendy at collabora.com>
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())
More information about the Libreoffice-commits
mailing list