summaryrefslogtreecommitdiff
path: root/xml2cmp
diff options
context:
space:
mode:
authorNikolai Pretzell <np@openoffice.org>2001-10-02 07:49:26 +0000
committerNikolai Pretzell <np@openoffice.org>2001-10-02 07:49:26 +0000
commit7fdf8d562f46905749dad0e02a3d7cf8fb483049 (patch)
tree12e5d85d520aab995befc20ba69a989482987138 /xml2cmp
parenta6f7f2f54804b63e51c800c5bbc82415e1999c42 (diff)
Issuezilla 789 fix.
Diffstat (limited to 'xml2cmp')
-rw-r--r--xml2cmp/source/support/syshelp.cxx6
-rw-r--r--xml2cmp/source/xcd/cr_html.cxx6
-rw-r--r--xml2cmp/source/xcd/cr_html.hxx8
-rw-r--r--xml2cmp/source/xcd/cr_index.cxx8
-rw-r--r--xml2cmp/source/xcd/filebuff.cxx11
5 files changed, 24 insertions, 15 deletions
diff --git a/xml2cmp/source/support/syshelp.cxx b/xml2cmp/source/support/syshelp.cxx
index 6fd762f6d11e..b94ba84e0fff 100644
--- a/xml2cmp/source/support/syshelp.cxx
+++ b/xml2cmp/source/support/syshelp.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: syshelp.cxx,v $
*
- * $Revision: 1.6 $
+ * $Revision: 1.7 $
*
- * last change: $Author: mh $ $Date: 2001-09-28 14:37:55 $
+ * last change: $Author: np $ $Date: 2001-10-02 08:49:24 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -81,6 +81,8 @@
using namespace std;
+using std::ostream;
+
char C_sSpaceInName[] = "&nbsp;&nbsp;&nbsp;";
diff --git a/xml2cmp/source/xcd/cr_html.cxx b/xml2cmp/source/xcd/cr_html.cxx
index 4a142505db03..3fc43e588475 100644
--- a/xml2cmp/source/xcd/cr_html.cxx
+++ b/xml2cmp/source/xcd/cr_html.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: cr_html.cxx,v $
*
- * $Revision: 1.4 $
+ * $Revision: 1.5 $
*
- * last change: $Author: np $ $Date: 2001-03-23 13:39:36 $
+ * last change: $Author: np $ $Date: 2001-10-02 08:49:26 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -66,7 +66,7 @@
using std::cerr;
using std::ofstream;
-
+using std::ios;
diff --git a/xml2cmp/source/xcd/cr_html.hxx b/xml2cmp/source/xcd/cr_html.hxx
index aa7ab6d9c75c..673c4e4f3553 100644
--- a/xml2cmp/source/xcd/cr_html.hxx
+++ b/xml2cmp/source/xcd/cr_html.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: cr_html.hxx,v $
*
- * $Revision: 1.4 $
+ * $Revision: 1.5 $
*
- * last change: $Author: np $ $Date: 2001-03-23 13:39:36 $
+ * last change: $Author: np $ $Date: 2001-10-02 08:49:26 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -64,7 +64,7 @@
#include <string.h>
-#include <fstream.h>
+#include <fstream>
#include "../support/sistr.hxx"
#include "../support/syshelp.hxx"
@@ -122,7 +122,7 @@ class HtmlCreator
const char * i_sStr )
{ aFile.write( i_sStr, strlen(i_sStr) ); }
// DATA
- ofstream aFile;
+ std::ofstream aFile;
const XmlElement & rDocument;
Simstr sIdl_BaseDirectory;
};
diff --git a/xml2cmp/source/xcd/cr_index.cxx b/xml2cmp/source/xcd/cr_index.cxx
index ad52ee4b3b07..81010e943e4f 100644
--- a/xml2cmp/source/xcd/cr_index.cxx
+++ b/xml2cmp/source/xcd/cr_index.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: cr_index.cxx,v $
*
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
- * last change: $Author: np $ $Date: 2001-07-10 11:02:30 $
+ * last change: $Author: np $ $Date: 2001-10-02 08:49:26 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -71,6 +71,8 @@
using std::cerr;
using std::ofstream;
+using std::ios;
+using std::ostream;
extern unsigned C_nSupportedServicesIndex;
@@ -203,7 +205,7 @@ Index::CreateHtmlFileName( char * o_sOutputHtml,
void
Index::WriteTableFromHeap( ostream & o_rOut,
Heap & i_rHeap,
- const char * i_sIndexValue,
+ const char * i_sIndexValue,
const char * i_sIndexReference,
E_LinkType i_eLinkType )
{
diff --git a/xml2cmp/source/xcd/filebuff.cxx b/xml2cmp/source/xcd/filebuff.cxx
index 55060bd47795..ce72a64f5e3b 100644
--- a/xml2cmp/source/xcd/filebuff.cxx
+++ b/xml2cmp/source/xcd/filebuff.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: filebuff.cxx,v $
*
- * $Revision: 1.4 $
+ * $Revision: 1.5 $
*
- * last change: $Author: np $ $Date: 2001-03-23 13:39:36 $
+ * last change: $Author: np $ $Date: 2001-10-02 08:49:26 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -62,10 +62,15 @@
#include "filebuff.hxx"
#include <string.h>
-#include <fstream.h>
+#include <fstream>
#include <ctype.h>
+using std::ifstream;
+using std::ios;
+
+
+
bool
LoadXmlFile( Buffer & o_rBuffer,
const char * i_sXmlFilePath )