[Libreoffice-commits] core.git: xmlscript/source
Stephan Bergmann (via logerrit)
logerrit at kemper.freedesktop.org
Thu Jul 2 17:42:56 UTC 2020
xmlscript/source/misc/unoservices.cxx | 2 +-
xmlscript/source/xml_helper/xml_impctx.cxx | 4 ++--
xmlscript/source/xmldlg_imexp/xmldlg_import.cxx | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
New commits:
commit 54c866828a9b85c23830e4a8be2c27b59ffd3cd5
Author: Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Thu Jul 2 16:33:16 2020 +0200
Commit: Stephan Bergmann <sbergman at redhat.com>
CommitDate: Thu Jul 2 19:42:13 2020 +0200
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 at redhat.com>
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
More information about the Libreoffice-commits
mailing list