summaryrefslogtreecommitdiff
path: root/xml2cmp
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2006-06-19 19:04:59 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2006-06-19 19:04:59 +0000
commit568463a29534d49e282092ab5cfe003b24718fd8 (patch)
tree6aab0ce8ef6fb0a5ce65e2be3895d197cc6f576b /xml2cmp
parentac065a59939fe594e92378d6418929f09bbf842e (diff)
INTEGRATION: CWS warnings01 (1.7.4); FILE MERGED
2005/10/18 10:08:53 np 1.7.4.1: #i53898#
Diffstat (limited to 'xml2cmp')
-rw-r--r--xml2cmp/source/xcd/cr_html.cxx12
-rw-r--r--xml2cmp/source/xcd/cr_html.hxx8
2 files changed, 10 insertions, 10 deletions
diff --git a/xml2cmp/source/xcd/cr_html.cxx b/xml2cmp/source/xcd/cr_html.cxx
index 7501aefa3a16..321f8d526bd5 100644
--- a/xml2cmp/source/xcd/cr_html.cxx
+++ b/xml2cmp/source/xcd/cr_html.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: cr_html.cxx,v $
*
- * $Revision: 1.7 $
+ * $Revision: 1.8 $
*
- * last change: $Author: rt $ $Date: 2005-09-09 12:00:51 $
+ * last change: $Author: hr $ $Date: 2006-06-19 20:04:45 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -234,10 +234,10 @@ HtmlCreator::Write_ReferenceDocu( const Simstr & i_sName,
void
-HtmlCreator::PrintH1( char * i_pText)
+HtmlCreator::PrintH1( const char * i_pText)
{
- static char sH1a[] = "<H1 ALIGN=CENTER>";
- static char sH1e[] = "</H1>";
+ static const char sH1a[] = "<H1 ALIGN=CENTER>";
+ static const char sH1e[] = "</H1>";
WriteStr(sH1a);
WriteStr(i_pText);
WriteStr(sH1e);
@@ -256,7 +256,7 @@ HtmlCreator::FinishRow()
}
void
-HtmlCreator::StartCell( char * i_pWidth)
+HtmlCreator::StartCell( const char * i_pWidth)
{
WriteStr( " <TD WIDTH=" );
WriteStr( i_pWidth );
diff --git a/xml2cmp/source/xcd/cr_html.hxx b/xml2cmp/source/xcd/cr_html.hxx
index 9f10a1bcfc82..79348aff42d3 100644
--- a/xml2cmp/source/xcd/cr_html.hxx
+++ b/xml2cmp/source/xcd/cr_html.hxx
@@ -4,9 +4,9 @@
*
* $RCSfile: cr_html.hxx,v $
*
- * $Revision: 1.7 $
+ * $Revision: 1.8 $
*
- * last change: $Author: rt $ $Date: 2005-09-09 12:01:08 $
+ * last change: $Author: hr $ $Date: 2006-06-19 20:04:59 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -82,11 +82,11 @@ class HtmlCreator
const Simstr & i_sTitle );
private:
void PrintH1(
- char * i_pText );
+ const char * i_pText );
void StartRow();
void FinishRow();
void StartCell(
- char * i_pWidth );
+ const char * i_pWidth );
void FinishCell();
void WriteElementName(