From 9d6a532e49b2bdc0ee808ff0f4e17d327d79a754 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 2 Jul 2020 16:15:00 +0200 Subject: Upcoming improved loplugin:staticanonymous -> redundantstatic: xmloff Change-Id: I47bd2f4b6bbe47b8a6c0aa8102186bf25a3804f6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97772 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- xmloff/source/forms/controlpropertymap.cxx | 2 +- xmloff/source/forms/formevents.cxx | 2 +- xmloff/source/forms/gridcolumnproptranslator.cxx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'xmloff/source/forms') diff --git a/xmloff/source/forms/controlpropertymap.cxx b/xmloff/source/forms/controlpropertymap.cxx index 249f1815d6d6..c6cbef655e29 100644 --- a/xmloff/source/forms/controlpropertymap.cxx +++ b/xmloff/source/forms/controlpropertymap.cxx @@ -39,7 +39,7 @@ namespace xmloff #define MAP_CONST_P( name, prefix, token, type, context ){ name, sizeof(name)-1, prefix, token, type|XML_TYPE_PROP_PARAGRAPH, context, SvtSaveOptions::ODFSVER_010, false } #define MAP_END() { nullptr, 0, 0, XML_TOKEN_INVALID, 0, 0, SvtSaveOptions::ODFSVER_010, false } - static XMLPropertyMapEntry const aControlStyleProperties[] = + XMLPropertyMapEntry const aControlStyleProperties[] = { MAP_CONST_P( PROPERTY_ALIGN, XML_NAMESPACE_FO, XML_TEXT_ALIGN, XML_TYPE_TEXT_ALIGN, 0 ), MAP_CONST( PROPERTY_BACKGROUNDCOLOR, XML_NAMESPACE_FO, XML_BACKGROUND_COLOR, XML_TYPE_COLOR, 0 ), diff --git a/xmloff/source/forms/formevents.cxx b/xmloff/source/forms/formevents.cxx index 37ce1c5dc717..fa7c4d002b1b 100644 --- a/xmloff/source/forms/formevents.cxx +++ b/xmloff/source/forms/formevents.cxx @@ -25,7 +25,7 @@ namespace xmloff { //= event translation table - static const XMLEventNameTranslation aEventTranslations[] = + const XMLEventNameTranslation aEventTranslations[] = { { "XApproveActionListener::approveAction", XML_NAMESPACE_FORM, "approveaction" }, // "on-approveaction" { "XActionListener::actionPerformed", XML_NAMESPACE_FORM, "performaction" }, // "on-performaction" diff --git a/xmloff/source/forms/gridcolumnproptranslator.cxx b/xmloff/source/forms/gridcolumnproptranslator.cxx index 267f6e46c101..b79263310010 100644 --- a/xmloff/source/forms/gridcolumnproptranslator.cxx +++ b/xmloff/source/forms/gridcolumnproptranslator.cxx @@ -57,7 +57,7 @@ namespace xmloff return -1; } - static struct AlignmentTranslationEntry + struct AlignmentTranslationEntry { ParagraphAdjust nParagraphValue; sal_Int16 nControlValue; -- cgit