summaryrefslogtreecommitdiff
path: root/include/vcl/notebookbar.hxx
diff options
context:
space:
mode:
authorKshitij Pathania <kshitijpathania@gmail.com>2018-07-02 18:48:19 +0530
committerSzymon Kłos <szymon.klos@collabora.com>2018-07-04 12:46:01 +0200
commitd05b7b32d9ecb6fcb4a268eb68cdcee09bafa6dd (patch)
treec82f797131cfbdfd8933daad0fea249b50c49ad6 /include/vcl/notebookbar.hxx
parentea39c41fdf63191579d25f327db81db14862251c (diff)
Notebookbar:Context for printpreview is now working
Also the context stuff is now working well even after print preview is set Change-Id: Ia43f512394cf4d162b4019257c039aecb664df22 Reviewed-on: https://gerrit.libreoffice.org/56740 Tested-by: Jenkins Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Diffstat (limited to 'include/vcl/notebookbar.hxx')
-rw-r--r--include/vcl/notebookbar.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/vcl/notebookbar.hxx b/include/vcl/notebookbar.hxx
index f3490bfeea89..535f157e7810 100644
--- a/include/vcl/notebookbar.hxx
+++ b/include/vcl/notebookbar.hxx
@@ -41,10 +41,13 @@ public:
void DataChanged(const DataChangedEvent& rDCEvt) override;
+ void ControlListener(bool bListen);
+
private:
VclPtr<SystemWindow> m_pSystemWindow;
css::uno::Reference<css::ui::XContextChangeEventListener> m_pEventListener;
std::vector<NotebookbarContextControl*> m_pContextContainers;
+ css::uno::Reference<css::frame::XFrame> mxFrame;
AllSettings DefaultSettings;
AllSettings PersonaSettings;