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
commitabb342de2d3d12eb061147fa4d52300967114c81 (patch)
tree7a8adb7b557c3deb81e496d18c59264fc2254d81 /ucb
parent0834676a55fddcd2770ac21da7787dcba7397fc9 (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 a69c93663e3e..14d5a3df573c 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;