summaryrefslogtreecommitdiff
path: root/xmloff/source/forms
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2020-07-02 16:15:00 +0200
committerStephan Bergmann <sbergman@redhat.com>2020-07-02 18:45:39 +0200
commit9d6a532e49b2bdc0ee808ff0f4e17d327d79a754 (patch)
tree62a880c0af798f870174c8fc6753e4ddd79f8c64 /xmloff/source/forms
parente6862e7828ba6bdd63bffd7eeaecc7de5d7d1c2e (diff)
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 <sbergman@redhat.com>
Diffstat (limited to 'xmloff/source/forms')
-rw-r--r--xmloff/source/forms/controlpropertymap.cxx2
-rw-r--r--xmloff/source/forms/formevents.cxx2
-rw-r--r--xmloff/source/forms/gridcolumnproptranslator.cxx2
3 files changed, 3 insertions, 3 deletions
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;