diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-03-04 16:08:49 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-03-04 16:15:28 +0100 |
commit | f26996bd3398afa789a5491968244563ccf70908 (patch) | |
tree | 0d41af56041c191437e1a932f92e060e2728a0ac /extensions/source/activex/SOActionsApproval.cxx | |
parent | 368d7e97475a0282c868b32d006b237201cd0e39 (diff) |
Silence -Werror,-Wnon-virtual-dtor in generated so_activex.h (clang-cl)
Change-Id: If9472d25f469030102b26894793ba45ab0fafaa3
Diffstat (limited to 'extensions/source/activex/SOActionsApproval.cxx')
-rw-r--r-- | extensions/source/activex/SOActionsApproval.cxx | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/extensions/source/activex/SOActionsApproval.cxx b/extensions/source/activex/SOActionsApproval.cxx index d0e24426252b..32f592c4746e 100644 --- a/extensions/source/activex/SOActionsApproval.cxx +++ b/extensions/source/activex/SOActionsApproval.cxx @@ -25,10 +25,17 @@ #include "stdafx2.h" -#include "so_activex.h" #include "SOActionsApproval.h" #include <sal/macros.h> +#if defined __clang__ +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wnon-virtual-dtor" +#endif +#include "so_activex.h" +#if defined __clang__ +#pragma clang diagnostic pop +#endif STDMETHODIMP SOActionsApproval::InterfaceSupportsErrorInfo(REFIID riid) { |