diff options
Diffstat (limited to 'include/xmloff/xmlerror.hxx')
-rw-r--r-- | include/xmloff/xmlerror.hxx | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/include/xmloff/xmlerror.hxx b/include/xmloff/xmlerror.hxx index 3726eb23a19d..853af45923af 100644 --- a/include/xmloff/xmlerror.hxx +++ b/include/xmloff/xmlerror.hxx @@ -26,8 +26,6 @@ #include <vector> - - // masks for the error ID fields #define XMLERROR_MASK_FLAG 0xF0000000 #define XMLERROR_MASK_CLASS 0x00FF0000 @@ -44,7 +42,6 @@ #define XMLERROR_CLASS_API 0x00040000 #define XMLERROR_CLASS_OTHER 0x00080000 - // error numbers, listed by error class // Within each class, errors should be numbered consecutively. Please // always add to error code below the appropriate comment. @@ -76,8 +73,6 @@ // other errors: #define XMLERROR_CANCEL ( XMLERROR_CLASS_OTHER | 0x00000001 ) - - // 16bit error flag constants for use in the // SvXMLExport/SvXMLImport error flags enum class SvXMLErrorFlags { @@ -86,22 +81,19 @@ enum class SvXMLErrorFlags { ERROR_OCCURRED = 0x0002, WARNING_OCCURRED = 0x0004, }; + namespace o3tl { template<> struct typed_flags<SvXMLErrorFlags> : is_typed_flags<SvXMLErrorFlags, 0x7> {}; } - - -// forward declarations namespace com { namespace sun { namespace star { namespace uno { template<class X> class Sequence; } namespace uno { template<class X> class Reference; } namespace xml { namespace sax { class XLocator; } } } } } -class ErrorRecord; - +class ErrorRecord; /** * The XMLErrors is used to collect all errors and warnings that occur @@ -146,7 +138,6 @@ public: throw( ::com::sun::star::xml::sax::SAXParseException ); }; - #endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |