diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-03-04 09:12:40 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-03-04 10:11:09 +0100 |
commit | a93374a7b4168d132171d2f44e47e506d8350de5 (patch) | |
tree | a31152122dd1f6bc7365ce73c4b84670c631d649 /extensions/source/ole | |
parent | -Werror,-Wshadow (diff) | |
download | core-a93374a7b4168d132171d2f44e47e506d8350de5.tar.gz core-a93374a7b4168d132171d2f44e47e506d8350de5.zip |
Silence -Werror,-Wnon-virtual-dtor
Change-Id: Ibe968bdb968a0a86723fcc2c9fa958261724c7da
Diffstat (limited to 'extensions/source/ole')
-rw-r--r-- | extensions/source/ole/comifaces.hxx | 7 | ||||
-rw-r--r-- | extensions/source/ole/servprov.hxx | 3 |
2 files changed, 10 insertions, 0 deletions
diff --git a/extensions/source/ole/comifaces.hxx b/extensions/source/ole/comifaces.hxx index 9b2e0899101f..c3957eff1598 100644 --- a/extensions/source/ole/comifaces.hxx +++ b/extensions/source/ole/comifaces.hxx @@ -39,6 +39,8 @@ IJScriptValueObject: public IUnknown STDMETHOD( IsInOutParam)( VARIANT_BOOL * flag)= 0; STDMETHOD( GetValue)( BSTR* type, VARIANT *value)= 0; +protected: + ~IJScriptValueObject() {} }; MIDL_INTERFACE("7B5C3410-66FA-11d4-832A-005004526AB4") @@ -48,6 +50,8 @@ IUnoObjectWrapper: public IUnknown STDMETHOD( getOriginalUnoObject)( Reference<XInterface>* pInt)=0; STDMETHOD( getOriginalUnoStruct)( Any * pStruct)=0; +protected: + ~IUnoObjectWrapper() {} }; MIDL_INTERFACE("8BB66591-A544-4de9-822C-57AB57BCED1C") @@ -55,6 +59,9 @@ IUnoTypeWrapper: public IUnknown { STDMETHOD(put_Name)(BSTR val) = 0; STDMETHOD(get_Name)(BSTR* pVal) = 0; + +protected: + ~IUnoTypeWrapper() {} }; diff --git a/extensions/source/ole/servprov.hxx b/extensions/source/ole/servprov.hxx index 18b59829be2f..1673f430a206 100644 --- a/extensions/source/ole/servprov.hxx +++ b/extensions/source/ole/servprov.hxx @@ -59,6 +59,9 @@ public: virtual sal_Bool registerClass() = 0; virtual sal_Bool deregisterClass() = 0; + +protected: + ~IClassFactoryWrapper() {} }; /***************************************************************************** |