diff options
author | Release Engineers <releng@openoffice.org> | 2009-02-23 14:56:10 +0000 |
---|---|---|
committer | Release Engineers <releng@openoffice.org> | 2009-02-23 14:56:10 +0000 |
commit | 9c2c223eb5e915d10cd2968b86ed76c1f112c4c6 (patch) | |
tree | 021afc50e1a61905db71f21d2a7001b1658549d3 /extensions/source/activex/main/SOActiveX.cpp | |
parent | 3e308f4b734481a86e10c8cc1cfde903673c2bcf (diff) |
#i10000# Warning
Diffstat (limited to 'extensions/source/activex/main/SOActiveX.cpp')
-rw-r--r-- | extensions/source/activex/main/SOActiveX.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/extensions/source/activex/main/SOActiveX.cpp b/extensions/source/activex/main/SOActiveX.cpp index c33a4043d..1e55ba0b0 100644 --- a/extensions/source/activex/main/SOActiveX.cpp +++ b/extensions/source/activex/main/SOActiveX.cpp @@ -171,9 +171,10 @@ HRESULT CSOActiveX::Cleanup() { // remove dispatch interceptor CComQIPtr< IDispatch, &IID_IDispatch > pIDispDispInter( mpDispatchInterceptor ); + CComVariant aVariant( pIDispDispInter ); ExecuteFunc( mpDispFrame, L"releaseDispatchProviderInterceptor", - &CComVariant( pIDispDispInter ), + &aVariant, 1, &dummyResult ); } @@ -821,10 +822,11 @@ HRESULT CSOActiveX::LoadURLToFrame( ) CComQIPtr< IDispatch, &IID_IDispatch > pIDispDispInter( mpDispatchInterceptor ); // register dispatch interceptor in the frame + CComVariant aDispVariant( pIDispDispInter ); CComVariant dummyResult; hr = ExecuteFunc( mpDispFrame, L"registerDispatchProviderInterceptor", - &CComVariant( pIDispDispInter ), + &aDispVariant, 1, &dummyResult ); |