diff options
-rw-r--r-- | sfx2/source/doc/docfile.cxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sfx2/source/doc/docfile.cxx b/sfx2/source/doc/docfile.cxx index 5157692bc1..346b013882 100644 --- a/sfx2/source/doc/docfile.cxx +++ b/sfx2/source/doc/docfile.cxx @@ -3495,8 +3495,12 @@ void SfxMedium::CreateTempFile( sal_Bool bReplace ) CloseOutStream_Impl(); } else + { + // Quite strange design, but currently it is expected that in this case no transfer happens + // TODO/LATER: get rid of this inconsistent part of the call design + bTransferSuccess = sal_True; CloseInStream(); - + } if ( !bTransferSuccess ) { |