diff options
author | Nikolai Pretzell <np@openoffice.org> | 2001-10-02 07:49:26 +0000 |
---|---|---|
committer | Nikolai Pretzell <np@openoffice.org> | 2001-10-02 07:49:26 +0000 |
commit | 7fdf8d562f46905749dad0e02a3d7cf8fb483049 (patch) | |
tree | 12e5d85d520aab995befc20ba69a989482987138 /xml2cmp/source/xcd | |
parent | a6f7f2f54804b63e51c800c5bbc82415e1999c42 (diff) |
Issuezilla 789 fix.
Diffstat (limited to 'xml2cmp/source/xcd')
-rw-r--r-- | xml2cmp/source/xcd/cr_html.cxx | 6 | ||||
-rw-r--r-- | xml2cmp/source/xcd/cr_html.hxx | 8 | ||||
-rw-r--r-- | xml2cmp/source/xcd/cr_index.cxx | 8 | ||||
-rw-r--r-- | xml2cmp/source/xcd/filebuff.cxx | 11 |
4 files changed, 20 insertions, 13 deletions
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 ) |