diff options
Diffstat (limited to 'xml2cmp')
-rw-r--r-- | xml2cmp/source/xcd/filebuff.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xml2cmp/source/xcd/filebuff.cxx b/xml2cmp/source/xcd/filebuff.cxx index b921861af133..d47f2d36d91f 100644 --- a/xml2cmp/source/xcd/filebuff.cxx +++ b/xml2cmp/source/xcd/filebuff.cxx @@ -52,7 +52,7 @@ LoadXmlFile( Buffer & o_rBuffer, // Read file: aXmlFile.read(o_rBuffer.Data(), (int) nBufferSize); - bool ret = aXmlFile.good() != 0; + const bool ret = !aXmlFile.fail(); aXmlFile.close(); return ret; } |