summaryrefslogtreecommitdiff
path: root/sw/source/uibase/fldui
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2020-07-02 08:20:48 +0200
committerStephan Bergmann <sbergman@redhat.com>2020-07-02 09:30:19 +0200
commit2b0677d69e6e53a7e3a74c6e42a8d02f7cc36a41 (patch)
tree56d3cb8394f726025842adf25e902255b435bf85 /sw/source/uibase/fldui
parent13c4a795aa42250a31977068a3fbb2dc5162e443 (diff)
Upcoming improved loplugin:staticanonymous -> redundantstatic: sw
Change-Id: Id4e6e18b1fce848972e67ca519cbf23eab7cd109 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97701 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sw/source/uibase/fldui')
-rw-r--r--sw/source/uibase/fldui/fldmgr.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/uibase/fldui/fldmgr.cxx b/sw/source/uibase/fldui/fldmgr.cxx
index 4fe926573b45..e2cf3daaed45 100644
--- a/sw/source/uibase/fldui/fldmgr.cxx
+++ b/sw/source/uibase/fldui/fldmgr.cxx
@@ -120,9 +120,9 @@ enum
GRP_WEB_VAR_END = GRP_WEB_VAR_BEGIN + 1
};
-static const sal_uInt16 VF_COUNT = 1; // { 0 }
-static const sal_uInt16 VF_USR_COUNT = 2; // { 0, nsSwExtendedSubType::SUB_CMD }
-static const sal_uInt16 VF_DB_COUNT = 1; // { nsSwExtendedSubType::SUB_OWN_FMT }
+const sal_uInt16 VF_COUNT = 1; // { 0 }
+const sal_uInt16 VF_USR_COUNT = 2; // { 0, nsSwExtendedSubType::SUB_CMD }
+const sal_uInt16 VF_DB_COUNT = 1; // { nsSwExtendedSubType::SUB_OWN_FMT }
static const char* FLD_EU_ARY[] =
{
@@ -292,7 +292,7 @@ struct SwFieldPack
}
// strings and formats
-static const SwFieldPack aSwFields[] =
+const SwFieldPack aSwFields[] =
{
// Document
{ SwFieldTypesEnum::ExtendedUser, FLD_EU_ARY, SAL_N_ELEMENTS(FLD_EU_ARY), nullptr, 0 },