diff options
author | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-05-21 00:00:57 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-05-21 16:35:37 -0400 |
commit | d9deddcb3ff8cb3114536a625e2b8426dc99b59a (patch) | |
tree | be228093dc0b8da88ac0bd70ea79aa09d1c5b114 /include | |
parent | 57aafdde62a96050d1603854bfb13df3150bb985 (diff) |
cp#1000072: Skip styles import for external link cache documents.
This reduces external link update time by 10%.
Change-Id: Ic14d9ea7530818f839330a2004f6aa67ef1e831e
Diffstat (limited to 'include')
-rw-r--r-- | include/sfx2/sfxmodelfactory.hxx | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/include/sfx2/sfxmodelfactory.hxx b/include/sfx2/sfxmodelfactory.hxx index 7f7b05f7f5ec..2067fbf8fac2 100644 --- a/include/sfx2/sfxmodelfactory.hxx +++ b/include/sfx2/sfxmodelfactory.hxx @@ -25,16 +25,14 @@ #include <com/sun/star/lang/XMultiServiceFactory.hpp> #include <com/sun/star/lang/XSingleServiceFactory.hpp> +#define SFXMODEL_STANDARD (sal_uInt64)(0x0000) +#define SFXMODEL_EMBEDDED_OBJECT (sal_uInt64)(0x0001) +#define SFXMODEL_EXTERNAL_LINK (sal_uInt64)(0x0002) +#define SFXMODEL_DISABLE_EMBEDDED_SCRIPTS (sal_uInt64)(0x0004) +#define SFXMODEL_DISABLE_DOCUMENT_RECOVERY (sal_uInt64)(0x0008) namespace sfx2 { - - - #define SFXMODEL_STANDARD (sal_uInt64)(0x0000) - #define SFXMODEL_EMBEDDED_OBJECT (sal_uInt64)(0x0001) - #define SFXMODEL_DISABLE_EMBEDDED_SCRIPTS (sal_uInt64)(0x0002) - #define SFXMODEL_DISABLE_DOCUMENT_RECOVERY (sal_uInt64)(0x0004) - typedef ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > ( SAL_CALL * SfxModelFactoryFunc ) ( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& _rxFactory, const sal_uInt64 _nCreationFlags |