summaryrefslogtreecommitdiff
path: root/include/xmloff/xmlerror.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-05-22 15:23:50 +0200
committerThorsten Behrens <Thorsten.Behrens@CIB.de>2015-07-15 23:40:19 +0000
commite51fa143587d018b75db08e60cf27ff932b1cf8d (patch)
treeefef96fb683eca20cd9eb65a8794264784efc950 /include/xmloff/xmlerror.hxx
parente1b123896d5b0a96c2959b6b6768c7cffabafd4f (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/xmlerror.hxx')
-rw-r--r--include/xmloff/xmlerror.hxx6
1 files changed, 1 insertions, 5 deletions
diff --git a/include/xmloff/xmlerror.hxx b/include/xmloff/xmlerror.hxx
index 853af45923af..cb3c979c2817 100644
--- a/include/xmloff/xmlerror.hxx
+++ b/include/xmloff/xmlerror.hxx
@@ -81,11 +81,7 @@ enum class SvXMLErrorFlags {
ERROR_OCCURRED = 0x0002,
WARNING_OCCURRED = 0x0004,
};
-
-namespace o3tl
-{
- template<> struct typed_flags<SvXMLErrorFlags> : is_typed_flags<SvXMLErrorFlags, 0x7> {};
-}
+DECLARE_TYPED_FLAGS(SvXMLErrorFlags, 0x0007)
namespace com { namespace sun { namespace star {
namespace uno { template<class X> class Sequence; }