From 81bfb3c727777d05b0a40b1f8cac25f82f14ce59 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 30 Jun 2020 15:21:28 +0200 Subject: [PATCH] Upcoming improved loplugin:staticanonymous -> redundantstatic: basctl Change-Id: I316331cee15bbb87ecfbda84f3195759e521df6a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97520 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- basctl/source/basicide/layout.cxx | 2 +- basctl/source/dlged/dlged.cxx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/basctl/source/basicide/layout.cxx b/basctl/source/basicide/layout.cxx index eb81e7964b2a..0549e2ca110f 100644 --- a/basctl/source/basicide/layout.cxx +++ b/basctl/source/basicide/layout.cxx @@ -29,7 +29,7 @@ namespace basctl namespace { // the thickness of the splitting lines -static long const nSplitThickness = 3; +long const nSplitThickness = 3; } // namespace // ctor for derived classes diff --git a/basctl/source/dlged/dlged.cxx b/basctl/source/dlged/dlged.cxx index 3f6fd34b106e..481e669d765b 100644 --- a/basctl/source/dlged/dlged.cxx +++ b/basctl/source/dlged/dlged.cxx @@ -57,8 +57,8 @@ using namespace ::com::sun::star::uno; using namespace ::com::sun::star::beans; using namespace ::com::sun::star::io; -static const char aResourceResolverPropName[] = "ResourceResolver"; -static const char aDecorationPropName[] = "Decoration"; +const char aResourceResolverPropName[] = "ResourceResolver"; +const char aDecorationPropName[] = "Decoration"; // DlgEdHint