summaryrefslogtreecommitdiff
path: root/starmath/inc
diff options
context:
space:
mode:
authorFrank Schoenheit [fs] <frank.schoenheit@sun.com>2010-01-06 21:34:53 +0100
committerFrank Schoenheit [fs] <frank.schoenheit@sun.com>2010-01-06 21:34:53 +0100
commitd1233ab8290a14cea18cf78f6712767a02291456 (patch)
treedef8c9309261ee7aea4a289e59fbb1d025e9c858 /starmath/inc
parent1ab97e6cbe7357c51c485be667aa23c191ccda47 (diff)
autorecovery: allow creating SFX-based documents which do not support the XDocumentRecovery interface
For this purpose, the SFX document factory methods got an additional parameter respectively flag ("DocumentRecoverySupport" resp. SFXMODEL_DISABLE_DOCUMENT_RECOVERY). This flag is used by database documents to remove the interface from sub documents (aka forms/reports). In this course, some of the functionality around those SFXMODELL_* flags, previously duplicated in all applications, has been consolidated into a new SfxObjectShell constructor.
Diffstat (limited to 'starmath/inc')
-rw-r--r--starmath/inc/document.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/inc/document.hxx b/starmath/inc/document.hxx
index fac4f1b0faa4..c842a78c6a1a 100644
--- a/starmath/inc/document.hxx
+++ b/starmath/inc/document.hxx
@@ -170,7 +170,7 @@ public:
using SotObject::GetInterface;
SFX_DECL_OBJECTFACTORY();
- SmDocShell(SfxObjectCreateMode eMode = SFX_CREATE_MODE_EMBEDDED, const sal_Bool _bScriptSupport = sal_True);
+ SmDocShell( const sal_uInt64 i_nSfxCreationFlags );
virtual ~SmDocShell();
void LoadSymbols();