summaryrefslogtreecommitdiff
path: root/sfx2/inc/templatedlg.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/inc/templatedlg.hxx')
-rw-r--r--sfx2/inc/templatedlg.hxx3
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;
};