summaryrefslogtreecommitdiff
path: root/unodevtools
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2006-06-19 23:51:11 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2006-06-19 23:51:11 +0000
commitf48fdb1a023bdadf1167456bf6df64fe3e66afa7 (patch)
treec869baad2bcb27fb29ad311579915fd928c8bfd6 /unodevtools
parent71e86f0d5925fde5e7a57f2ccc21febda203a8b6 (diff)
INTEGRATION: CWS warnings01 (1.3.2); FILE MERGED
2006/04/07 20:05:37 sb 1.3.2.3: RESYNC: (1.4-1.5); FILE MERGED 2006/01/25 20:44:37 sb 1.3.2.2: RESYNC: (1.3-1.4); FILE MERGED 2005/11/09 11:51:20 pl 1.3.2.1: #i53898# removed warnings
Diffstat (limited to 'unodevtools')
-rw-r--r--unodevtools/source/skeletonmaker/skeletonmaker.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/unodevtools/source/skeletonmaker/skeletonmaker.cxx b/unodevtools/source/skeletonmaker/skeletonmaker.cxx
index 95a63910b1f5..e1cbef929816 100644
--- a/unodevtools/source/skeletonmaker/skeletonmaker.cxx
+++ b/unodevtools/source/skeletonmaker/skeletonmaker.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: skeletonmaker.cxx,v $
*
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
- * last change: $Author: vg $ $Date: 2006-03-15 09:21:00 $
+ * last change: $Author: hr $ $Date: 2006-06-20 00:51:11 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -111,7 +111,7 @@ static const char usageText[] =
" -h, --help print this help and exit\n\n"
" Sun Microsystems (R) ";
-void printUsageAndExit(char* programname, char* version)
+void printUsageAndExit(const char* programname, const char* version)
{
std::cerr
<< "\n using: " << programname
@@ -133,10 +133,10 @@ void printUsageAndExit(char* programname, char* version)
}
-SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv)
+SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, /*argv*/)
{
- char* version = "0.3";
- char* programname = "uno-skeletonmaker";
+ const char* version = "0.3";
+ const char* programname = "uno-skeletonmaker";
if ( argc <= 1 ) {
printUsageAndExit(programname, version);