summaryrefslogtreecommitdiff
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
commit34a611badb462fd0c7894369900b29a9faee44e8 (patch)
tree1b866dbaabee41b8afdc3fc472c75be6e9028f3f
parente80a941120b6eee8035271fc8249141cc6c76303 (diff)
#i107638# in some case no transfer is expected
-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 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 )
{