diff options
author | Rafael Dominguez <venccsralph@gmail.com> | 2012-08-14 22:16:50 -0430 |
---|---|---|
committer | Rafael Dominguez <venccsralph@gmail.com> | 2012-08-15 07:18:29 -0430 |
commit | 223506761c5cf01c2a114afc2156e94f80464dce (patch) | |
tree | 7a8a652d7e8f9a793ff4790cacd25ee90f460d3f /sfx2/inc/templatedlg.hxx | |
parent | 5fedb166239a69a407459254a68ddfad0e034126 (diff) |
Disable general manager actions while in save mode.
Change-Id: I46496f75b7a9f441c989f8a750ecc675781162af
Diffstat (limited to 'sfx2/inc/templatedlg.hxx')
-rw-r--r-- | sfx2/inc/templatedlg.hxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sfx2/inc/templatedlg.hxx b/sfx2/inc/templatedlg.hxx index 75fc4cff0cf3..7d6940cf9428 100644 --- a/sfx2/inc/templatedlg.hxx +++ b/sfx2/inc/templatedlg.hxx @@ -41,6 +41,8 @@ public: ~SfxTemplateManagerDlg (); + void setSaveMode (bool bMode); + void setDocumentModel (const com::sun::star::uno::Reference<com::sun::star::frame::XModel> &rModel); DECL_LINK(ViewAllHdl, void*); @@ -138,6 +140,7 @@ private: std::set<const ThumbnailViewItem*> maSelTemplates; std::set<const ThumbnailViewItem*> maSelFolders; + bool mbIsSaveMode; ///< Flag that indicates if we are in save mode or not. com::sun::star::uno::Reference< com::sun::star::frame::XModel > m_xModel; com::sun::star::uno::Reference< com::sun::star::frame::XComponentLoader > mxDesktop; }; |