summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorMikhail Voitenko <mav@openoffice.org>2009-12-12 21:36:36 +0000
committerMikhail Voitenko <mav@openoffice.org>2009-12-12 21:36:36 +0000
commit04a4f6cec0db528341395499ecb33cd2a292367e (patch)
tree8501f77435d980694370e6bf22721bbd8e6c40c6 /sfx2
parent3ff6fe7abde900ea8adaaa7c6e1a35fefe0fa7e4 (diff)
#i107638# in some case no transfer is expected
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/doc/docfile.cxx6
1 files changed, 5 insertions, 1 deletions
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 )
{