diff options
author | Mikhail Voitenko <mav@openoffice.org> | 2002-08-26 06:39:11 +0000 |
---|---|---|
committer | Mikhail Voitenko <mav@openoffice.org> | 2002-08-26 06:39:11 +0000 |
commit | e5b55ae7e326a89e874e8976c5b69b5af8a34092 (patch) | |
tree | 50de7ccd5653c0df56577f18208e8e2d735d720e /extensions/source/activex/main/SODispatchInterceptor.h | |
parent | aafdab9b8b2e25c926ce7bb41b96536585b6fb86 (diff) |
#101937# improve registration
Diffstat (limited to 'extensions/source/activex/main/SODispatchInterceptor.h')
-rw-r--r-- | extensions/source/activex/main/SODispatchInterceptor.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/extensions/source/activex/main/SODispatchInterceptor.h b/extensions/source/activex/main/SODispatchInterceptor.h index 922349bd0d38..d355a653cdbb 100644 --- a/extensions/source/activex/main/SODispatchInterceptor.h +++ b/extensions/source/activex/main/SODispatchInterceptor.h @@ -123,7 +123,7 @@ DECLARE_REGISTRY_RESOURCEID(IDR_SODISPATCHINTERCEPTOR) virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Bridge_implementedInterfaces( /* [retval][out] */ SAFEARRAY __RPC_FAR * __RPC_FAR *pVal) { - *pVal = SafeArrayCreateVector( VT_BSTR, 0, 3 ); + *pVal = SafeArrayCreateVector( VT_BSTR, 0, 4 ); if( !*pVal ) return E_FAIL; @@ -139,11 +139,11 @@ DECLARE_REGISTRY_RESOURCEID(IDR_SODISPATCHINTERCEPTOR) ix = 2; aInterface = CComBSTR( OLESTR( "com.sun.star.frame.XDispatch" ) ); SafeArrayPutElement( *pVal, &ix, aInterface ); - /* + ix = 3; aInterface = CComBSTR( OLESTR( "com.sun.star.frame.XInterceptorInfo" ) ); SafeArrayPutElement( *pVal, &ix, aInterface ); - */ + return S_OK; } }; |