diff options
Diffstat (limited to 'extensions/source/activex/SOActionsApproval.h')
-rw-r--r-- | extensions/source/activex/SOActionsApproval.h | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/extensions/source/activex/SOActionsApproval.h b/extensions/source/activex/SOActionsApproval.h index d56ce3de7e05..e61a23357b04 100644 --- a/extensions/source/activex/SOActionsApproval.h +++ b/extensions/source/activex/SOActionsApproval.h @@ -58,7 +58,14 @@ BEGIN_COM_MAP(SOActionsApproval) COM_INTERFACE_ENTRY(IDispatch) COM_INTERFACE_ENTRY(ISOActionsApproval) COM_INTERFACE_ENTRY(ISupportErrorInfo) +#if defined __clang__ +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Winconsistent-missing-override" +#endif END_COM_MAP() +#if defined __clang__ +#pragma clang diagnostic pop +#endif DECLARE_NOT_AGGREGATABLE(SOActionsApproval) // Remove the comment from the line above if you don't want your object to // support aggregation. @@ -66,12 +73,12 @@ DECLARE_NOT_AGGREGATABLE(SOActionsApproval) DECLARE_REGISTRY_RESOURCEID(IDR_SODOCUMENTEVENTLISTENER) // ISupportsErrorInfo - STDMETHOD(InterfaceSupportsErrorInfo)(REFIID riid); + STDMETHOD(InterfaceSupportsErrorInfo)(REFIID riid) override; // ISOActionsApproval virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE approveAction( /* [in] */ long nActionID, - /* [retval][out] */ boolean *pbApproval) + /* [retval][out] */ boolean *pbApproval) override { // only PreventClose is approved USES_CONVERSION; @@ -81,7 +88,7 @@ DECLARE_REGISTRY_RESOURCEID(IDR_SODOCUMENTEVENTLISTENER) } virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Bridge_implementedInterfaces( - /* [retval][out] */ SAFEARRAY __RPC_FAR * __RPC_FAR *pVal) + /* [retval][out] */ SAFEARRAY __RPC_FAR * __RPC_FAR *pVal) override { *pVal = SafeArrayCreateVector( VT_BSTR, 0, 1 ); |