diff options
author | Noel Grandin <noel@peralex.com> | 2015-05-22 15:23:50 +0200 |
---|---|---|
committer | Thorsten Behrens <Thorsten.Behrens@CIB.de> | 2015-07-15 23:40:19 +0000 |
commit | e51fa143587d018b75db08e60cf27ff932b1cf8d (patch) | |
tree | efef96fb683eca20cd9eb65a8794264784efc950 /include/xmloff/shapeexport.hxx | |
parent | e1b123896d5b0a96c2959b6b6768c7cffabafd4f (diff) |
create a macro to tidy up the declaration sites of o3tl::typed_flags_set
Change-Id: Ifb8fd4fd5128188420f1dfda6b6f695160d5e77a
Reviewed-on: https://gerrit.libreoffice.org/15865
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Diffstat (limited to 'include/xmloff/shapeexport.hxx')
-rw-r--r-- | include/xmloff/shapeexport.hxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/include/xmloff/shapeexport.hxx b/include/xmloff/shapeexport.hxx index 83aafd5587e3..f068f71a5af3 100644 --- a/include/xmloff/shapeexport.hxx +++ b/include/xmloff/shapeexport.hxx @@ -61,10 +61,8 @@ enum class XMLShapeExportFlags { // When setting the flag below a callout shape is exported as office:annotation ANNOTATION = 0x0040, }; -namespace o3tl -{ - template<> struct typed_flags<XMLShapeExportFlags> : is_typed_flags<XMLShapeExportFlags, 0x7f> {}; -} +DECLARE_TYPED_FLAGS(XMLShapeExportFlags, 0x007f) + #define SEF_DEFAULT XMLShapeExportFlags::POSITION|XMLShapeExportFlags::SIZE |