diff options
author | Jan Holesovsky <kendy@collabora.com> | 2016-06-03 12:27:50 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2016-06-03 12:27:50 +0200 |
commit | 629f5c01ae1512724d0b2105bfd205d7c2deae19 (patch) | |
tree | 5f3854f101b9ad6bcf741ef3dbdd6c6d86979c04 | |
parent | 599f6db17c4d2e23496fbd23b1dec53c2402e4b1 (diff) |
Add an assert for a good measure.
Change-Id: I764e5c96b60705f01db9525ee02fdf9959db5663
-rw-r--r-- | sfx2/source/notebookbar/SfxNotebookBar.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sfx2/source/notebookbar/SfxNotebookBar.cxx b/sfx2/source/notebookbar/SfxNotebookBar.cxx index 6888c5fe896e..dd7a41c5baea 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()) |