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 13:25:37 -0400 |
commit | 50454f382215d63855684402b4258183be8d0e4c (patch) | |
tree | 86fc1ef42fdc56285171b1c7ab0801435936f834 /include | |
parent | 713c2f197b46cefe3d46f0658536af3be1c3842e (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 |