From 7fdf8d562f46905749dad0e02a3d7cf8fb483049 Mon Sep 17 00:00:00 2001 From: Nikolai Pretzell Date: Tue, 2 Oct 2001 07:49:26 +0000 Subject: Issuezilla 789 fix. --- xml2cmp/source/support/syshelp.cxx | 6 ++++-- xml2cmp/source/xcd/cr_html.cxx | 6 +++--- xml2cmp/source/xcd/cr_html.hxx | 8 ++++---- xml2cmp/source/xcd/cr_index.cxx | 8 +++++--- xml2cmp/source/xcd/filebuff.cxx | 11 ++++++++--- 5 files changed, 24 insertions(+), 15 deletions(-) (limited to 'xml2cmp') 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[] = "   "; 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 -#include +#include #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 -#include +#include #include +using std::ifstream; +using std::ios; + + + bool LoadXmlFile( Buffer & o_rBuffer, const char * i_sXmlFilePath ) -- cgit