diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-06-19 20:56:00 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-06-19 20:56:00 +0000 |
commit | eb59c1780ed7d7a988389e1491baec073d1d9af6 (patch) | |
tree | f7ad98b68dc04f5ae3fc44b6e276ca2a40799d43 /cpputools/source/sp2bv/sp2bv.cxx | |
parent | 8092bd01e328c056ea738cff994fb5c08eeaa5d3 (diff) |
INTEGRATION: CWS warnings01 (1.2.10); FILE MERGED
2005/09/23 02:56:10 sb 1.2.10.2: RESYNC: (1.2-1.3); FILE MERGED
2005/09/07 11:52:49 sb 1.2.10.1: #i53898# Made code warning-free.
Diffstat (limited to 'cpputools/source/sp2bv/sp2bv.cxx')
-rw-r--r-- | cpputools/source/sp2bv/sp2bv.cxx | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/cpputools/source/sp2bv/sp2bv.cxx b/cpputools/source/sp2bv/sp2bv.cxx index 5e3b619e55e6..be83494f6b93 100644 --- a/cpputools/source/sp2bv/sp2bv.cxx +++ b/cpputools/source/sp2bv/sp2bv.cxx @@ -4,9 +4,9 @@ * * $RCSfile: sp2bv.cxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: rt $ $Date: 2005-09-08 09:39:15 $ + * last change: $Author: hr $ $Date: 2006-06-19 21:56:00 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -44,7 +44,7 @@ using namespace rtl; -static sal_Bool hasOption(char* szOption, int argc, char** argv); +static sal_Bool hasOption(char const * szOption, int argc, char** argv); #define HELP_TEXT \ @@ -107,7 +107,6 @@ int main(int argc, char **argv) case '}': case '\\': fprintf(stderr, "sp2vb: file URL contains invalid characters!\n"); return -1; - break; default: rtl_uStringbuffer_insert( &pBuffer, &nCapacity, pBuffer->length, pCur, 1); } @@ -130,7 +129,7 @@ int main(int argc, char **argv) -static sal_Bool hasOption(char* szOption, int argc, char** argv) +static sal_Bool hasOption(char const * szOption, int argc, char** argv) { sal_Bool retVal= sal_False; for(sal_Int16 i= 1; i < argc; i++) |