diff options
author | Oliver Bolte <obo@openoffice.org> | 2007-01-23 06:40:04 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2007-01-23 06:40:04 +0000 |
commit | 35fa2104eeee318ab14ba19cc1b6c4e6911fcfd0 (patch) | |
tree | 0b2232b4f0b5353466e89816569db1fed6ecfbb4 /sfx2 | |
parent | fc425d4cf6a1b8c83993e493ac68ecf8b5e3a407 (diff) |
INTEGRATION: CWS fwk59 (1.125.52); FILE MERGED
2007/01/05 09:26:56 mav 1.125.52.1: #i71373# let the original stream be closed
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/view/viewfrm.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sfx2/source/view/viewfrm.cxx b/sfx2/source/view/viewfrm.cxx index 31abb6fe141e..5466c3845300 100644 --- a/sfx2/source/view/viewfrm.cxx +++ b/sfx2/source/view/viewfrm.cxx @@ -4,9 +4,9 @@ * * $RCSfile: viewfrm.cxx,v $ * - * $Revision: 1.126 $ + * $Revision: 1.127 $ * - * last change: $Author: obo $ $Date: 2007-01-23 07:15:15 $ + * last change: $Author: obo $ $Date: 2007-01-23 07:40:04 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -539,7 +539,7 @@ void SfxViewFrame::ExecReload_Impl( SfxRequest& rReq ) return; } - pMed->Close(); + pMed->CloseAndRelease(); pMed->GetItemSet()->Put( SfxBoolItem( SID_DOC_READONLY, !( nOpenMode & STREAM_WRITE ) ) ); pMed->SetOpenMode( nOpenMode, pMed->IsDirect() ); pMed->CompleteReOpen(); @@ -795,7 +795,7 @@ void SfxViewFrame::ExecReload_Impl( SfxRequest& rReq ) return; } - pMedium->Close(); + pMedium->CloseAndRelease(); } xNewObj = SfxObjectShell::CreateObject( pOldFilter->GetServiceName(), SFX_CREATE_MODE_STANDARD ); |