summaryrefslogtreecommitdiff
path: root/xml2cmp
diff options
context:
space:
mode:
authorMathias Bauer <mba@openoffice.org>2009-09-25 21:47:16 +0200
committerMathias Bauer <mba@openoffice.org>2009-09-25 21:47:16 +0200
commit3739e0b64036f81ee62b4842332dd74d974b6d00 (patch)
treeb9073e6fae3d3e20395d34ba1221a9812bf79ea2 /xml2cmp
parenta2c915bbd6b28ca2ad39800ba768464f73981145 (diff)
parent8fb94ad47fa73514ec1854825d63d612121dd9b7 (diff)
merge commit
Diffstat (limited to 'xml2cmp')
-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;
}