summaryrefslogtreecommitdiff
path: root/sw/inc/docsh.hxx
diff options
context:
space:
mode:
authorNoel Power <noel.power@novell.com>2010-10-13 11:12:51 +0100
committerNoel Power <noel.power@novell.com>2010-10-13 11:12:51 +0100
commit22a400291046deee48ebb69827339b5484fcdf63 (patch)
tree2b492364129cb9723d299ce9dc10e0c40b3132df /sw/inc/docsh.hxx
parentbdd8fe45f6e9d9eb582182de05473fa28ccea0c1 (diff)
parent794f3a1d5ffd7fecfca5d67df4d65a2743f7453c (diff)
Merge branch 'vba' fix trailing ws & tab issues
Conflicts: sw/source/ui/app/docsh.cxx sw/source/ui/uno/unotxdoc.cxx
Diffstat (limited to 'sw/inc/docsh.hxx')
-rw-r--r--sw/inc/docsh.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/sw/inc/docsh.hxx b/sw/inc/docsh.hxx
index 899ead6cb01d..d7a0341d9b41 100644
--- a/sw/inc/docsh.hxx
+++ b/sw/inc/docsh.hxx
@@ -83,6 +83,7 @@ class SW_DLLPUBLIC SwDocShell: public SfxObjectShell, public SfxListener
comphelper::EmbeddedObjectContainer* pOLEChildList;
sal_Int16 nUpdateDocMode; // contains the com::sun::star::document::UpdateDocMode
bool bInUpdateFontList; //prevent nested calls of UpdateFontList
+ bool bIsATemplate; //prevent nested calls of UpdateFontList
// Methoden fuer den Zugriff aufs Doc
SW_DLLPRIVATE void AddLink();
SW_DLLPRIVATE void RemoveLink();
@@ -303,6 +304,8 @@ public:
GetController();
SfxInPlaceClient* GetIPClient( const ::svt::EmbeddedObjectRef& xObjRef );
+ SW_DLLPRIVATE sal_Bool IsTemplate() { return bIsATemplate; }
+ SW_DLLPRIVATE void SetIsTemplate( bool bValue ) { bIsATemplate = bValue; }
virtual const ::sfx2::IXmlIdRegistry* GetXmlIdRegistry() const;