diff options
-rw-r--r-- | sw/source/core/swg/SwXMLBlockImport.cxx | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/sw/source/core/swg/SwXMLBlockImport.cxx b/sw/source/core/swg/SwXMLBlockImport.cxx index 5491aa2252eb..dcc69095a5e0 100644 --- a/sw/source/core/swg/SwXMLBlockImport.cxx +++ b/sw/source/core/swg/SwXMLBlockImport.cxx @@ -22,7 +22,19 @@ #include <xmloff/xmlictxt.hxx> #include <unotools/charclass.hxx> #include <swtypes.hxx> + +#if defined __clang__ +#if __has_warning("-Wdeprecated-register") +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wdeprecated-register" +#endif +#endif #include <tokens.cxx> +#if defined __clang__ +#if __has_warning("-Wdeprecated-register") +#pragma GCC diagnostic pop +#endif +#endif using namespace ::com::sun::star::uno; using namespace ::com::sun::star; |