summaryrefslogtreecommitdiff
path: root/unoxml
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2020-07-02 11:30:35 +0200
committerStephan Bergmann <sbergman@redhat.com>2020-07-02 13:44:51 +0200
commitfdab50022519d8d794a00a3693e66bd8f3fad303 (patch)
tree59144625f7dbc95c0d34e0ff6d86c41598cbaac7 /unoxml
parenta001b5a8626789ec93ad5d05a32c8bd76250d083 (diff)
Upcoming improved loplugin:staticanonymous -> redundantstatic: unoxml
Change-Id: I755d70b8aeadf8946dacb20292e97797a51aa44a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97738 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'unoxml')
-rw-r--r--unoxml/qa/unit/domtest.cxx6
-rw-r--r--unoxml/source/rdf/librdf_services.cxx2
2 files changed, 4 insertions, 4 deletions
diff --git a/unoxml/qa/unit/domtest.cxx b/unoxml/qa/unit/domtest.cxx
index b6e468defdb5..67afde99d3a0 100644
--- a/unoxml/qa/unit/domtest.cxx
+++ b/unoxml/qa/unit/domtest.cxx
@@ -40,7 +40,7 @@ using css::xml::dom::XDocumentBuilder;
namespace
{
// valid xml
-static const char validTestFile[] =
+const char validTestFile[] =
"<?xml version=\"1.0\" encoding=\"UTF-8\"?> \
<office:document-content \
xmlns:office=\"urn:oasis:names:tc:opendocument:xmlns:office:1.0\" \
@@ -56,7 +56,7 @@ static const char validTestFile[] =
// generates a warning: unknown xml:space
// value
-static const char warningTestFile[] =
+const char warningTestFile[] =
"<?xml version=\"1.0\" encoding=\"UTF-8\"?> \
<office:document-content \
xmlns:office=\"urn:oasis:names:tc:opendocument:xmlns:office:1.0\" \
@@ -72,7 +72,7 @@ static const char warningTestFile[] =
";
// <?xml not at start of file
-static const char errorTestFile[] =
+const char errorTestFile[] =
" <?xml version=\"1.0\" encoding=\"UTF-8\"?> \
<office:document-content \
xmlns:office=\"urn:oasis:names:tc:opendocument:xmlns:office:1.0\" \
diff --git a/unoxml/source/rdf/librdf_services.cxx b/unoxml/source/rdf/librdf_services.cxx
index cd6292bb26ce..318bc9b8fb3a 100644
--- a/unoxml/source/rdf/librdf_services.cxx
+++ b/unoxml/source/rdf/librdf_services.cxx
@@ -30,7 +30,7 @@ using namespace ::com::sun::star;
extern "C"
{
-static ::cppu::ImplementationEntry const entries[] = {
+::cppu::ImplementationEntry const entries[] = {
{ &comp_CBlankNode::_create,
&comp_CBlankNode::_getImplementationName,
&comp_CBlankNode::_getSupportedServiceNames,