diff options
Diffstat (limited to 'sfx2/source')
-rw-r--r-- | sfx2/source/doc/docfile.cxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sfx2/source/doc/docfile.cxx b/sfx2/source/doc/docfile.cxx index f80627b2c955..6cbb01ca30c5 100644 --- a/sfx2/source/doc/docfile.cxx +++ b/sfx2/source/doc/docfile.cxx @@ -4,9 +4,9 @@ * * $RCSfile: docfile.cxx,v $ * - * $Revision: 1.180 $ + * $Revision: 1.181 $ * - * last change: $Author: hr $ $Date: 2006-06-19 22:26:29 $ + * last change: $Author: obo $ $Date: 2006-07-13 13:26:35 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -3326,7 +3326,10 @@ void SfxMedium::TryToSwitchToRepairedTemp() void SfxMedium::CreateTempFile() { if ( pImp->pTempFile ) + { DELETEZ( pImp->pTempFile ); + aName = String(); + } StreamMode nOpenMode = nStorOpenMode; BOOL bCopy = ( nStorOpenMode == nOpenMode && ! ( nOpenMode & STREAM_TRUNC ) ); |