From b1063b4143b4406e13f859334e0d9d24bd7dd797 Mon Sep 17 00:00:00 2001 From: Oliver Bolte Date: Tue, 22 Jul 2008 16:33:48 +0000 Subject: INTEGRATION: CWS os2port03 (1.9.8); FILE MERGED 2008/07/16 13:41:57 obr 1.9.8.2: RESYNC: (1.9-1.10); FILE MERGED 2008/01/29 16:53:39 ydario 1.9.8.1: use a different way to check ok status for os2. Issue number:i85203 Submitted by:ydario --- xml2cmp/source/xcd/filebuff.cxx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/xml2cmp/source/xcd/filebuff.cxx b/xml2cmp/source/xcd/filebuff.cxx index 35d32c15c8d7..e958c274b552 100644 --- a/xml2cmp/source/xcd/filebuff.cxx +++ b/xml2cmp/source/xcd/filebuff.cxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: filebuff.cxx,v $ - * $Revision: 1.10 $ + * $Revision: 1.11 $ * * This file is part of OpenOffice.org. * @@ -59,7 +59,11 @@ 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; } -- cgit ption value='distro/capgemini/cg-4.1'>distro/capgemini/cg-4.1 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/external/unixODBC/inc/odbc/sqlext.h
AgeCommit message (Expand)Author