From 04a4f6cec0db528341395499ecb33cd2a292367e Mon Sep 17 00:00:00 2001 From: Mikhail Voitenko Date: Sat, 12 Dec 2009 21:36:36 +0000 Subject: #i107638# in some case no transfer is expected --- sfx2/source/doc/docfile.cxx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'sfx2') diff --git a/sfx2/source/doc/docfile.cxx b/sfx2/source/doc/docfile.cxx index b6fd56553e3f..7fccabbfdfd8 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 ) { -- cgit