From f0835dca439215eed266f2d7af318d3d0b2cc766 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 2 Jul 2020 10:21:52 +0200 Subject: 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 --- unodevtools/source/skeletonmaker/javacompskeleton.cxx | 2 +- 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" -- cgit v1.2.3