summaryrefslogtreecommitdiff
path: root/xml2cmp
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2007-11-02 11:56:54 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2007-11-02 11:56:54 +0000
commit431efb4eca26a2b1dfc6ecff54210353f270ac3f (patch)
treedd1e0c45db2066dde7a97e009c8bd0becf25ab33 /xml2cmp
parent2e64e3e2f314a2aefce372561a3b29c581518f1c (diff)
INTEGRATION: CWS os2port02 (1.8.20); FILE MERGED
2007/10/04 19:45:26 ydario 1.8.20.1: Issue number: i82034 Submitted by: ydario Reviewed by: ydario Commit of changes for OS/2 CWS source code integration.
Diffstat (limited to 'xml2cmp')
-rw-r--r--xml2cmp/source/xcd/cr_metho.cxx6
-rw-r--r--xml2cmp/source/xcd/filebuff.cxx6
2 files changed, 6 insertions, 6 deletions
diff --git a/xml2cmp/source/xcd/cr_metho.cxx b/xml2cmp/source/xcd/cr_metho.cxx
index 12e9a24028e2..c23ff45b6da5 100644
--- a/xml2cmp/source/xcd/cr_metho.cxx
+++ b/xml2cmp/source/xcd/cr_metho.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: cr_metho.cxx,v $
*
- * $Revision: 1.8 $
+ * $Revision: 1.9 $
*
- * last change: $Author: vg $ $Date: 2006-09-25 13:26:43 $
+ * last change: $Author: hr $ $Date: 2007-11-02 12:56:37 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -71,7 +71,7 @@ Create_AccessMethod( const char * i_pOutputFileName,
int sDescrLen = (int) strlen(sDescrLineChange);
std::ofstream aFile(i_pOutputFileName, std::ios::out
-#ifdef WNT
+#if defined(WNT) || defined(OS2)
| std::ios::binary
#endif
);
diff --git a/xml2cmp/source/xcd/filebuff.cxx b/xml2cmp/source/xcd/filebuff.cxx
index be0e623a059d..00bc8a42034f 100644
--- a/xml2cmp/source/xcd/filebuff.cxx
+++ b/xml2cmp/source/xcd/filebuff.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: filebuff.cxx,v $
*
- * $Revision: 1.8 $
+ * $Revision: 1.9 $
*
- * last change: $Author: vg $ $Date: 2006-09-25 13:26:56 $
+ * last change: $Author: hr $ $Date: 2007-11-02 12:56:54 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -47,7 +47,7 @@ LoadXmlFile( Buffer & o_rBuffer,
std::ifstream aXmlFile;
aXmlFile.open(i_sXmlFilePath, std::ios::in
-#ifdef WNT
+#if defined(WNT) || defined(OS2)
| std::ios::binary
#endif // WNT
);