diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2020-07-02 10:21:52 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2020-07-02 13:16:27 +0200 |
commit | f0835dca439215eed266f2d7af318d3d0b2cc766 (patch) | |
tree | 4b22cabc453697765915114b5dd961b7c142bd90 /unodevtools | |
parent | 4bc6799cbf00715b2a0a8f5553d8600ca04c3882 (diff) |
Upcoming improved loplugin:staticanonymous -> redundantstatic: unodevtools
Change-Id: I6768925fd5fb00cd4805b00cebaa0c37656591f7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97728
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'unodevtools')
-rw-r--r-- | unodevtools/source/skeletonmaker/javacompskeleton.cxx | 2 | ||||
-rw-r--r-- | unodevtools/source/skeletonmaker/skeletonmaker.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/unodevtools/source/skeletonmaker/javacompskeleton.cxx b/unodevtools/source/skeletonmaker/javacompskeleton.cxx index ca4735747f13..914525272267 100644 --- a/unodevtools/source/skeletonmaker/javacompskeleton.cxx +++ b/unodevtools/source/skeletonmaker/javacompskeleton.cxx @@ -545,7 +545,7 @@ static void generateMethodBodies(std::ostream& o, } } -static const char* const propcomment= +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 e59c71a94552..c58348320eab 100644 --- a/unodevtools/source/skeletonmaker/skeletonmaker.cxx +++ b/unodevtools/source/skeletonmaker/skeletonmaker.cxx @@ -33,7 +33,7 @@ using namespace ::unodevtools; namespace { -static const char usageText[] = +const char usageText[] = "\n sub-commands:\n" " dump dump declarations on stdout (e.g. constructors, methods, type\n" " mapping for properties) or complete method bodies with\n" |