summaryrefslogtreecommitdiff
path: root/xml2cmp/source
diff options
context:
space:
mode:
authorPhilipp Lohmann <Philipp.Lohmann@Sun.COM>2009-10-09 15:11:54 +0200
committerPhilipp Lohmann <Philipp.Lohmann@Sun.COM>2009-10-09 15:11:54 +0200
commitee5f167fdf02dc33b9bbe2ca6b2c30f9ca353b5b (patch)
tree12e674cd5c93de693941c36a570b9ce1292020bd /xml2cmp/source
parent6c454a61745f73825b843a24a912c2976d1308e5 (diff)
parent6107d76a57d3d5f5e0303d049558eb613ed33ae5 (diff)
merge with m61
Diffstat (limited to 'xml2cmp/source')
-rw-r--r--xml2cmp/source/xcd/filebuff.cxx4
1 files changed, 0 insertions, 4 deletions
diff --git a/xml2cmp/source/xcd/filebuff.cxx b/xml2cmp/source/xcd/filebuff.cxx
index e958c274b552..8035d697ae4d 100644
--- a/xml2cmp/source/xcd/filebuff.cxx
+++ b/xml2cmp/source/xcd/filebuff.cxx
@@ -59,11 +59,7 @@ LoadXmlFile( Buffer & o_rBuffer,
// Read file:
aXmlFile.read(o_rBuffer.Data(), (int) nBufferSize);
-#ifdef OS2 // YD eof&fail are set, so check for fail&bad
- bool ret = aXmlFile.fail() != 0;
-#else
bool ret = aXmlFile.good() != 0;
-#endif
aXmlFile.close();
return ret;
}