summaryrefslogtreecommitdiff
path: root/sfx2/source
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2006-07-13 12:26:35 +0000
committerOliver Bolte <obo@openoffice.org>2006-07-13 12:26:35 +0000
commitb847cc0b74e127bc48bf86be50abcc14c0ad9ee6 (patch)
tree496d61ee77e6539e63b5edd4fb7d7c8f3628b373 /sfx2/source
parent98c826bb57754a577c0ac29a69d6ede76e97f35b (diff)
INTEGRATION: CWS pathoptions01 (1.179.42); FILE MERGED
2006/06/30 16:59:24 mav 1.179.42.2: RESYNC: (1.179-1.180); FILE MERGED 2006/06/29 10:31:53 mav 1.179.42.1: #i66243# when the tempfile is removed, it's URL should be cleaned as well
Diffstat (limited to 'sfx2/source')
-rw-r--r--sfx2/source/doc/docfile.cxx7
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 ) );