diff options
author | Kurt Zenker <kz@openoffice.org> | 2004-06-11 17:23:15 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2004-06-11 17:23:15 +0000 |
commit | 825bcbdbe313d8a3ac9418f156b0f3fc615a3549 (patch) | |
tree | 388e6034cd05af0e166857f356a3895b493a028f /extensions/source/activex/main/SOActiveX.cpp | |
parent | a6e3ea47a2530c620a63d26ab0e437c4910bc464 (diff) |
INTEGRATION: CWS networker3 (1.7.220); FILE MERGED
2004/05/13 11:33:46 mav 1.7.220.1: #116132# close the frame
Diffstat (limited to 'extensions/source/activex/main/SOActiveX.cpp')
-rw-r--r-- | extensions/source/activex/main/SOActiveX.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/extensions/source/activex/main/SOActiveX.cpp b/extensions/source/activex/main/SOActiveX.cpp index 16d8d0d89ddb..5ba2266d2278 100644 --- a/extensions/source/activex/main/SOActiveX.cpp +++ b/extensions/source/activex/main/SOActiveX.cpp @@ -169,7 +169,12 @@ HRESULT CSOActiveX::Cleanup() if( mpDispFrame ) { // mpDispFrame->dispose(); - ExecuteFunc( mpDispFrame, L"dispose", NULL, 0, &dummyResult ); + + CComVariant aPropVar; + aPropVar.vt = VT_BOOL; aPropVar.boolVal = VARIANT_TRUE; + if ( !SUCCEEDED( ExecuteFunc( mpDispFrame, L"close", &aPropVar, 1, &dummyResult ) ) ) + ExecuteFunc( mpDispFrame, L"dispose", NULL, 0, &dummyResult ); + mpDispFrame = CComPtr< IDispatch >(); } |