diff options
author | Kurt Zenker <kz@openoffice.org> | 2004-05-19 15:41:49 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2004-05-19 15:41:49 +0000 |
commit | 66adbf638aab4d1015b49a917002780756472020 (patch) | |
tree | bc90e9107df78cada48f67f05e1d75075ad2a91c | |
parent | a76aae9f43d9f627fab4bb125759457a35431196 (diff) |
INTEGRATION: CWS qwizards1 (1.76.10); FILE MERGED
2004/02/25 11:06:58 abi 1.76.10.1: #115676# now testing error as error during setSize
-rw-r--r-- | ucb/source/ucp/file/shell.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ucb/source/ucp/file/shell.cxx b/ucb/source/ucp/file/shell.cxx index 428b3c3d8851..8a5a38b2a069 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.78 $ + * $Revision: 1.79 $ * - * last change: $Author: hr $ $Date: 2004-05-10 14:22:34 $ + * last change: $Author: kz $ $Date: 2004-05-19 16:41:49 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -981,9 +981,9 @@ shell::setv( sal_Int32 CommandId, { // valid value for the size osl::File aFile(aUnqPath); bool err = - aFile.open(OpenFlag_Write) == osl::FileBase::E_None && - aFile.setSize(sal_uInt64(newSize)) == osl::FileBase::E_None && - aFile.close() == osl::FileBase::E_None; + aFile.open(OpenFlag_Write) != osl::FileBase::E_None || + aFile.setSize(sal_uInt64(newSize)) != osl::FileBase::E_None || + aFile.close() != osl::FileBase::E_None; if( err ) { |