diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-06-19 19:05:21 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-06-19 19:05:21 +0000 |
commit | dae8b44763a9fcc34df2c748db655e7c9e911095 (patch) | |
tree | 67f582acd514e625c2747a4e5ef4ecb607dda6c2 /xml2cmp | |
parent | 86cebdca3eb3973dc1d49f843058232b8abb08bb (diff) |
INTEGRATION: CWS warnings01 (1.6.4); FILE MERGED
2005/10/18 10:08:54 np 1.6.4.1: #i53898#
Diffstat (limited to 'xml2cmp')
-rw-r--r-- | xml2cmp/source/xcd/cr_metho.cxx | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/xml2cmp/source/xcd/cr_metho.cxx b/xml2cmp/source/xcd/cr_metho.cxx index a1e503b774c7..692a480fc919 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.6 $ + * $Revision: 1.7 $ * - * last change: $Author: rt $ $Date: 2005-09-09 12:01:58 $ + * last change: $Author: hr $ $Date: 2006-06-19 20:05:21 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -41,17 +41,20 @@ -char C_sFileHeader1[] = "/* "; -char C_sFileHeader2[] = " */\r\n/* Implementation of component_getDescriptionFunc() */\r\n\r\n" +const char C_sFileHeader1[] + = "/* "; +const char C_sFileHeader2[] + = " */\r\n/* Implementation of component_getDescriptionFunc() */\r\n\r\n" "#include <sal/types.h>\r\n\r\n"; -char C_sFuncBegin[] = "#ifdef __cplusplus\r\n" +const char C_sFuncBegin[] + = "#ifdef __cplusplus\r\n" "extern \"C\" {\r\n" "#endif\r\n\r\n" "const sal_Char * SAL_CALL\r\ncomponent_getDescriptionFunc()\r\n" "{\r\n" " return (const sal_Char*) \r\n" " \""; -char C_sFuncEnd[] = "\";\r\n" +const char C_sFuncEnd[] = "\";\r\n" "}\r\n\r\n" "#ifdef __cplusplus\r\n" "} /* end of extern \"C\" */\r\n" @@ -64,7 +67,7 @@ Create_AccessMethod( const char * i_pOutputFileName, { const char * pText = i_sText; const char * pTrans = 0; - char sDescrLineChange[] = "\"\r\n \""; + const char sDescrLineChange[] = "\"\r\n \""; int sDescrLen = strlen(sDescrLineChange); std::ofstream aFile(i_pOutputFileName, std::ios::out |