diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2003-12-17 16:41:58 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2003-12-17 16:41:58 +0000 |
commit | 316076250ce150cb30aa4ee10c4dc4d1e9b79c7c (patch) | |
tree | 2f5f8d8c0a9f9226150b601f67a6b0105444712d | |
parent | 3428ae0c37b11911ca385e84ed4ed4f39c3b4407 (diff) |
INTEGRATION: CWS geordi2q11 (1.75.8); FILE MERGED
2003/12/15 17:02:14 hr 1.75.8.1: #111934#: join CWS sal06
-rw-r--r-- | ucb/source/ucp/file/shell.cxx | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/ucb/source/ucp/file/shell.cxx b/ucb/source/ucp/file/shell.cxx index a8e0efc55044..eb2ebdd643e5 100644 --- a/ucb/source/ucp/file/shell.cxx +++ b/ucb/source/ucp/file/shell.cxx @@ -2,9 +2,9 @@ * * $RCSfile: shell.cxx,v $ * - * $Revision: 1.75 $ + * $Revision: 1.76 $ * - * last change: $Author: rt $ $Date: 2003-11-25 10:43:45 $ + * last change: $Author: vg $ $Date: 2003-12-17 17:41:58 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -1956,6 +1956,11 @@ shell::write( sal_Int32 CommandId, TASKHANDLING_FILESIZE_FOR_WRITE, err ); + err = aFile.sync(); + if( err != osl::FileBase::E_None ) + installError( CommandId, + TASKHANDLING_FILEIOERROR_FOR_WRITE, + err ); } aFile.close(); |