diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2020-07-02 16:33:16 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2020-07-02 19:42:13 +0200 |
commit | 54c866828a9b85c23830e4a8be2c27b59ffd3cd5 (patch) | |
tree | ba9721dbffd46e7ad147b950744bd731acffe380 /xmlscript | |
parent | 9d6a532e49b2bdc0ee808ff0f4e17d327d79a754 (diff) |
Upcoming improved loplugin:staticanonymous -> redundantstatic: xmlscript
Change-Id: I59dc2d6949eb51394874403e62079ad75063882d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97773
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'xmlscript')
-rw-r--r-- | xmlscript/source/misc/unoservices.cxx | 2 | ||||
-rw-r--r-- | xmlscript/source/xml_helper/xml_impctx.cxx | 4 | ||||
-rw-r--r-- | xmlscript/source/xmldlg_imexp/xmldlg_import.cxx | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/xmlscript/source/misc/unoservices.cxx b/xmlscript/source/misc/unoservices.cxx index 4c5ff6e24381..31c5e7593a26 100644 --- a/xmlscript/source/misc/unoservices.cxx +++ b/xmlscript/source/misc/unoservices.cxx @@ -25,7 +25,7 @@ using namespace ::com::sun::star::uno; namespace xmlscript { - static const struct ::cppu::ImplementationEntry s_entries [] = + const struct ::cppu::ImplementationEntry s_entries [] = { { create_DocumentHandlerImpl, getImplementationName_DocumentHandlerImpl, diff --git a/xmlscript/source/xml_helper/xml_impctx.cxx b/xmlscript/source/xml_helper/xml_impctx.cxx index b696577b90da..5bb2f59f50d6 100644 --- a/xmlscript/source/xml_helper/xml_impctx.cxx +++ b/xmlscript/source/xml_helper/xml_impctx.cxx @@ -171,8 +171,8 @@ public: } -static OUString const g_sXMLNS_PREFIX_UNKNOWN( "<<< unknown prefix >>>" ); -static OUString const g_sXMLNS( "xmlns" ); +OUString const g_sXMLNS_PREFIX_UNKNOWN( "<<< unknown prefix >>>" ); +OUString const g_sXMLNS( "xmlns" ); DocumentHandlerImpl::DocumentHandlerImpl( diff --git a/xmlscript/source/xmldlg_imexp/xmldlg_import.cxx b/xmlscript/source/xmldlg_imexp/xmldlg_import.cxx index cb3550a3abff..4a355b72852a 100644 --- a/xmlscript/source/xmldlg_imexp/xmldlg_import.cxx +++ b/xmlscript/source/xmldlg_imexp/xmldlg_import.cxx @@ -1388,7 +1388,7 @@ bool ImportContext::importImageScaleModeProperty( return false; } -static StringTriple const s_aEventTranslations[] = +StringTriple const s_aEventTranslations[] = { // from xmloff/source/forms/formevents.cxx // 28.09.2001 tbe added on-adjustmentvaluechange |