summaryrefslogtreecommitdiffstats
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
parentremoving ure_top; was added by accident (diff)
parentCreate DEV300_m60 milestone tag from trunk@276428 (diff)
downloadcore-3739e0b64036f81ee62b4842332dd74d974b6d00.tar.gz
core-3739e0b64036f81ee62b4842332dd74d974b6d00.zip
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;
}