summaryrefslogtreecommitdiff
path: root/include/xmloff/xmlerror.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-08-25 11:24:15 +0200
committerNoel Grandin <noel@peralex.com>2015-08-26 08:26:51 +0200
commita05d6ac2a2a97081c6e9af1f9c8137fd91e739b6 (patch)
tree197658e9c09aadf8b48bf96cfe554b2afc435840 /include/xmloff/xmlerror.hxx
parent97bf7c6cc7c756109e75dc11641300e28e8b3d1f (diff)
Revert "create a macro to tidy up the declaration sites of o3tl::typed_flags_set"
sberg did not like this macro, let's see if I can find a better solution. This reverts commit e51fa143587d018b75db08e60cf27ff932b1cf8d.
Diffstat (limited to 'include/xmloff/xmlerror.hxx')
-rw-r--r--include/xmloff/xmlerror.hxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/xmloff/xmlerror.hxx b/include/xmloff/xmlerror.hxx
index cb3c979c2817..853af45923af 100644
--- a/include/xmloff/xmlerror.hxx
+++ b/include/xmloff/xmlerror.hxx
@@ -81,7 +81,11 @@ enum class SvXMLErrorFlags {
ERROR_OCCURRED = 0x0002,
WARNING_OCCURRED = 0x0004,
};
-DECLARE_TYPED_FLAGS(SvXMLErrorFlags, 0x0007)
+
+namespace o3tl
+{
+ template<> struct typed_flags<SvXMLErrorFlags> : is_typed_flags<SvXMLErrorFlags, 0x7> {};
+}
namespace com { namespace sun { namespace star {
namespace uno { template<class X> class Sequence; }