diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2015-02-25 15:07:19 +0000 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2018-03-16 21:33:50 +0100 |
commit | 25e4b59b2e9805ebd3c38c40e5591125a05ed5b0 (patch) | |
tree | f8b27df1faf8cda23717a7686985e6bff279f824 /include/comphelper/documentconstants.hxx | |
parent | 2937661f0e9381f84067a025f76e5554b8a1a457 (diff) |
First cut at annotating 'exotic' filters.
The idea being that we can improve security by warning for these.
Change-Id: I7d993417bfb6a8fe868bc3e07ccbcfe71bf285ff
Reviewed-on: https://gerrit.libreoffice.org/50387
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Diffstat (limited to 'include/comphelper/documentconstants.hxx')
-rw-r--r-- | include/comphelper/documentconstants.hxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/comphelper/documentconstants.hxx b/include/comphelper/documentconstants.hxx index 9447a7b17fc6..89d5178d33d5 100644 --- a/include/comphelper/documentconstants.hxx +++ b/include/comphelper/documentconstants.hxx @@ -83,6 +83,7 @@ // Preferred - preferred filter for a particular type // 3rdPartyFilter - implemented as a UNO component // Default - default filter for this document type +// Exotic - an unusual/legacy file-format, we don't normally see // // (The 3rdPartyFilter flag is here called StarONE) // @@ -106,6 +107,7 @@ enum class SfxFilterFlags CONSULTSERVICE = 0x00040000L, STARONEFILTER = 0x00080000L, PACKED = 0x00100000L, + EXOTIC = 0x00200000L, COMBINED = 0x00800000L, ENCRYPTION = 0x01000000L, @@ -118,7 +120,7 @@ enum class SfxFilterFlags namespace o3tl { - template<> struct typed_flags<SfxFilterFlags> : is_typed_flags<SfxFilterFlags, 0x779f157fL> {}; + template<> struct typed_flags<SfxFilterFlags> : is_typed_flags<SfxFilterFlags, 0x77bf157fL> {}; } #define SFX_FILTER_NOTINSTALLED (SfxFilterFlags::MUSTINSTALL | SfxFilterFlags::CONSULTSERVICE) |