diff options
-rw-r--r-- | embedserv/source/embed/ed_ioleobject.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/embedserv/source/embed/ed_ioleobject.cxx b/embedserv/source/embed/ed_ioleobject.cxx index 1444dac0bf1e..839fd8e2d3d5 100644 --- a/embedserv/source/embed/ed_ioleobject.cxx +++ b/embedserv/source/embed/ed_ioleobject.cxx @@ -447,11 +447,9 @@ void EmbedDocument_Impl::notify( bool bDataChanged ) void EmbedDocument_Impl::Deactivate() { - HRESULT hr = S_OK; - if ( m_pDocHolder->HasFrame() ) { - hr = SaveObject(); + SaveObject(); m_pDocHolder->CloseFrame(); OLENotifyDeactivation(); } |