[Libreoffice-commits] core.git: unodevtools/source

Stephan Bergmann (via logerrit) logerrit at kemper.freedesktop.org
Thu Jul 2 11:17:11 UTC 2020


 unodevtools/source/skeletonmaker/javacompskeleton.cxx |    2 +-
 unodevtools/source/skeletonmaker/skeletonmaker.cxx    |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit f0835dca439215eed266f2d7af318d3d0b2cc766
Author:     Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Thu Jul 2 10:21:52 2020 +0200
Commit:     Stephan Bergmann <sbergman at redhat.com>
CommitDate: Thu Jul 2 13:16:27 2020 +0200

    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 at redhat.com>

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"


More information about the Libreoffice-commits mailing list