diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-06-19 19:04:35 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-06-19 19:04:35 +0000 |
commit | ac065a59939fe594e92378d6418929f09bbf842e (patch) | |
tree | a176635797ee89473562c9c6847f82b8a916a545 /xml2cmp | |
parent | 3d8019763e886f6042ca2bf5a0e482e3a23abd90 (diff) |
INTEGRATION: CWS warnings01 (1.4.4); FILE MERGED
2005/11/07 12:10:04 sb 1.4.4.1: #i53898# Made code warning-free (additional -W switches for GCC).
Diffstat (limited to 'xml2cmp')
-rw-r--r-- | xml2cmp/source/support/sistr.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/xml2cmp/source/support/sistr.cxx b/xml2cmp/source/support/sistr.cxx index d305fea9b514..2873a27878c5 100644 --- a/xml2cmp/source/support/sistr.cxx +++ b/xml2cmp/source/support/sistr.cxx @@ -4,9 +4,9 @@ * * $RCSfile: sistr.cxx,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: rt $ $Date: 2005-09-09 11:57:57 $ + * last change: $Author: hr $ $Date: 2006-06-19 20:04:35 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -48,9 +48,9 @@ const char NULCH = '\0'; const int NO_POS = -1; -Simstr::Simstr(const char * str) +Simstr::Simstr(const char * str_) { - if (str == 0) + if (str_ == 0) { len = 0; sz = new char[1]; @@ -58,9 +58,9 @@ Simstr::Simstr(const char * str) } else { - len = strlen(str); + len = strlen(str_); sz = new char[len+1]; - memcpy(sz,str,len+1); + memcpy(sz,str_,len+1); } } |