diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-03-04 09:57:47 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-03-04 10:11:14 +0100 |
commit | c6086ca6535692496fbd718d174d8eb5a5dea7c7 (patch) | |
tree | 979f4b0b8b416d75042c4e9121629d2b99e0d932 /winaccessibility/inc | |
parent | ba57e60a6ea1dfb236a36c1cc620554104bf848b (diff) |
Silence -Werror,-Wnon-virtual-dtor in generated UAccCOM.h (clang-cl)
Change-Id: I9466931485ed5421be589def16185d5c036bdcb8
Diffstat (limited to 'winaccessibility/inc')
-rw-r--r-- | winaccessibility/inc/AccObject.hxx | 8 | ||||
-rw-r--r-- | winaccessibility/inc/AccObjectWinManager.hxx | 10 |
2 files changed, 17 insertions, 1 deletions
diff --git a/winaccessibility/inc/AccObject.hxx b/winaccessibility/inc/AccObject.hxx index 3cbab61ec213..3b1bf98e5ab3 100644 --- a/winaccessibility/inc/AccObject.hxx +++ b/winaccessibility/inc/AccObject.hxx @@ -32,7 +32,15 @@ #include <com/sun/star/accessibility/XAccessibleAction.hpp> #include "accHelper.hxx" + +#if defined __clang__ +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wnon-virtual-dtor" +#endif #include "UAccCOM.h" +#if defined __clang__ +#pragma clang diagnostic pop +#endif class AccEventListener; class AccObjectManagerAgent; diff --git a/winaccessibility/inc/AccObjectWinManager.hxx b/winaccessibility/inc/AccObjectWinManager.hxx index da853832858b..e0fd8e7c9081 100644 --- a/winaccessibility/inc/AccObjectWinManager.hxx +++ b/winaccessibility/inc/AccObjectWinManager.hxx @@ -26,7 +26,15 @@ #include <osl/mutex.hxx> #include <rtl/ref.hxx> #include "ResIDGenerator.hxx" -#include "UAccCOM.h" + +#if defined __clang__ +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wnon-virtual-dtor" +#endif +#include "UAccCOM.h" +#if defined __clang__ +#pragma clang diagnostic pop +#endif class ResIDGenerator; class AccObjectManagerAgent; |