summaryrefslogtreecommitdiff
path: root/ucb
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2004-11-26 13:42:31 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2004-11-26 13:42:31 +0000
commitfc0d61063a5ede2de23b8ac8440cf46ca23aeb62 (patch)
tree524797ed73595a13de34809f8fe1f709c1e8cde9 /ucb
parent66f140f0f0b63afba0a4a72a0ca0e601e7abc013 (diff)
INTEGRATION: CWS sb26 (1.15.22); FILE MERGED
2004/11/23 16:10:57 sb 1.15.22.1: #i37704# Get rid of unnecessary calls to osl_syncFile.
Diffstat (limited to 'ucb')
-rw-r--r--ucb/source/ucp/file/filstr.cxx14
1 files changed, 3 insertions, 11 deletions
diff --git a/ucb/source/ucp/file/filstr.cxx b/ucb/source/ucp/file/filstr.cxx
index d79f7f79ac..bd41b13cf2 100644
--- a/ucb/source/ucp/file/filstr.cxx
+++ b/ucb/source/ucp/file/filstr.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: filstr.cxx,v $
*
- * $Revision: 1.16 $
+ * $Revision: 1.17 $
*
- * last change: $Author: obo $ $Date: 2004-11-17 09:56:22 $
+ * last change: $Author: rt $ $Date: 2004-11-26 14:42:31 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -368,15 +368,7 @@ XStream_impl::closeStream(
{
if( m_nIsOpen )
{
- osl::FileBase::RC err = m_aFile.sync();
- if( err != osl::FileBase::E_None ) {
- io::IOException ex;
- ex.Message = rtl::OUString::createFromAscii(
- "could not synchronize file to disc");
- throw ex;
- }
-
- err = m_aFile.close();
+ osl::FileBase::RC err = m_aFile.close();
if( err != osl::FileBase::E_None ) {
io::IOException ex;