diff options
author | Andreas Bille <abi@openoffice.org> | 2003-03-26 12:51:23 +0000 |
---|---|---|
committer | Andreas Bille <abi@openoffice.org> | 2003-03-26 12:51:23 +0000 |
commit | cda27e26cebb49c35f3052084619f53998385bb8 (patch) | |
tree | 8f4f12bfc6c87e2a423e117697b7e695a300387e /embedserv/source/embed/ed_ioleobject.cxx | |
parent | 447f6988fc5651a8fc109ba3fcbbda894c6a688c (diff) |
#i2822# Close
Diffstat (limited to 'embedserv/source/embed/ed_ioleobject.cxx')
-rwxr-xr-x | embedserv/source/embed/ed_ioleobject.cxx | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/embedserv/source/embed/ed_ioleobject.cxx b/embedserv/source/embed/ed_ioleobject.cxx index 90e485091..e79aeac02 100755 --- a/embedserv/source/embed/ed_ioleobject.cxx +++ b/embedserv/source/embed/ed_ioleobject.cxx @@ -2,9 +2,9 @@ * * $RCSfile: ed_ioleobject.cxx,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: abi $ $Date: 2003-03-26 11:13:34 $ + * last change: $Author: abi $ $Date: 2003-03-26 13:51:22 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -102,6 +102,8 @@ STDMETHODIMP EmbedDocument_Impl::Close( DWORD dwSaveOption ) if ( m_pDAdviseHolder ) m_pDAdviseHolder->SendOnDataChange( (IDataObject*)this, 0, ADVF_DATAONSTOP ); + m_pDocHolder->CloseFrame(); + if ( m_pClientSite ) m_pClientSite->OnShowWindow( FALSE ); @@ -155,10 +157,10 @@ STDMETHODIMP EmbedDocument_Impl::DoVerb( LONG iVerb, LPMSG lpmsg, IOleClientSite { if( m_pDocHolder ) m_pDocHolder->show(); - + if ( m_pClientSite ) m_pClientSite->OnShowWindow( TRUE ); - + notify(); return S_OK; |