unoxml/qa/unit/domtest.cxx | 6 +++--- unoxml/source/rdf/librdf_services.cxx | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-)
New commits: commit fdab50022519d8d794a00a3693e66bd8f3fad303 Author: Stephan Bergmann <sberg...@redhat.com> AuthorDate: Thu Jul 2 11:30:35 2020 +0200 Commit: Stephan Bergmann <sberg...@redhat.com> CommitDate: Thu Jul 2 13:44:51 2020 +0200 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 <sberg...@redhat.com> 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, _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits