diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-01-10 08:09:58 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-01-10 08:09:58 +0100 |
commit | c4de235ad38cd648c82c98235016f186eb594a32 (patch) | |
tree | 9f9aa2eae7add371ff60046f66b9b162913d13d5 /unodevtools/source | |
parent | 03304ba903ade6a538f948273dd390aa5465785f (diff) |
New loplugin:conststringvar: unodevtools
Change-Id: I7bbe7f78b8e62962f907a598e8405be7d4be03c9
Diffstat (limited to 'unodevtools/source')
-rw-r--r-- | unodevtools/source/skeletonmaker/javacompskeleton.cxx | 2 | ||||
-rw-r--r-- | unodevtools/source/skeletonmaker/skeletonmaker.cxx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/unodevtools/source/skeletonmaker/javacompskeleton.cxx b/unodevtools/source/skeletonmaker/javacompskeleton.cxx index cd978050e65f..eff3d95e471d 100644 --- a/unodevtools/source/skeletonmaker/javacompskeleton.cxx +++ b/unodevtools/source/skeletonmaker/javacompskeleton.cxx @@ -555,7 +555,7 @@ void generateMethodBodies(std::ostream& o, } } -static const char* propcomment= +static const char* const propcomment= " // use the last parameter of the PropertySetMixin constructor\n" " // for your optional attributes if necessary. See the documentation\n" " // of the PropertySetMixin helper for further information.\n" diff --git a/unodevtools/source/skeletonmaker/skeletonmaker.cxx b/unodevtools/source/skeletonmaker/skeletonmaker.cxx index 6fd03a6a7951..e2f97695997d 100644 --- a/unodevtools/source/skeletonmaker/skeletonmaker.cxx +++ b/unodevtools/source/skeletonmaker/skeletonmaker.cxx @@ -120,8 +120,8 @@ void printUsageAndExit(const char* programname, const char* version) SAL_IMPLEMENT_MAIN() { - const char* version = "0.4"; - const char* programname = "uno-skeletonmaker"; + const char* const version = "0.4"; + const char* const programname = "uno-skeletonmaker"; sal_uInt32 nCount = rtl_getAppCommandArgCount(); if ( nCount == 0 ) { |