[Libreoffice-commits] core.git: writerperfect/qa writerperfect/source
Stephan Bergmann (via logerrit)
logerrit at kemper.freedesktop.org
Thu Jul 2 14:14:25 UTC 2020
writerperfect/qa/unit/DirectoryStreamTest.cxx | 6 +++---
writerperfect/qa/unit/WPXSvStreamTest.cxx | 6 +++---
writerperfect/source/common/DocumentHandler.cxx | 2 +-
3 files changed, 7 insertions(+), 7 deletions(-)
New commits:
commit ec2ee430e78cf768bbe48d4b7e7b32aaa6410b54
Author: Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Thu Jul 2 13:48:59 2020 +0200
Commit: Stephan Bergmann <sbergman at redhat.com>
CommitDate: Thu Jul 2 16:13:36 2020 +0200
Upcoming improved loplugin:staticanonymous -> redundantstatic: writerperfect
Change-Id: I13fcde3b0c847a622be0305c6d2bd21057d3402c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97758
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman at redhat.com>
diff --git a/writerperfect/qa/unit/DirectoryStreamTest.cxx b/writerperfect/qa/unit/DirectoryStreamTest.cxx
index 8d8388dc3c0d..fcf77743c0c5 100644
--- a/writerperfect/qa/unit/DirectoryStreamTest.cxx
+++ b/writerperfect/qa/unit/DirectoryStreamTest.cxx
@@ -56,9 +56,9 @@ private:
uno::Reference<ucb::XContent> m_xNonexistent;
};
-static const char g_aDirPath[] = "/writerperfect/qa/unit/data/stream/test.dir";
-static const char g_aNondirPath[] = "/writerperfect/qa/unit/data/stream/test.dir/mimetype";
-static const char g_aNonexistentPath[] = "/writerperfect/qa/unit/data/stream/foo/bar";
+const char g_aDirPath[] = "/writerperfect/qa/unit/data/stream/test.dir";
+const char g_aNondirPath[] = "/writerperfect/qa/unit/data/stream/test.dir/mimetype";
+const char g_aNonexistentPath[] = "/writerperfect/qa/unit/data/stream/foo/bar";
DirectoryStreamTest::DirectoryStreamTest()
{
diff --git a/writerperfect/qa/unit/WPXSvStreamTest.cxx b/writerperfect/qa/unit/WPXSvStreamTest.cxx
index e9680510b43a..21715229e299 100644
--- a/writerperfect/qa/unit/WPXSvStreamTest.cxx
+++ b/writerperfect/qa/unit/WPXSvStreamTest.cxx
@@ -63,9 +63,9 @@ private:
void testStructured();
};
-static const char aText[] = "hello world";
-static const char aOLEFile[] = "/writerperfect/qa/unit/data/stream/fdo40686-1.doc";
-static const char aZipFile[] = "/writerperfect/qa/unit/data/stream/test.odt";
+const char aText[] = "hello world";
+const char aOLEFile[] = "/writerperfect/qa/unit/data/stream/fdo40686-1.doc";
+const char aZipFile[] = "/writerperfect/qa/unit/data/stream/test.odt";
shared_ptr<RVNGInputStream> lcl_createStream()
{
diff --git a/writerperfect/source/common/DocumentHandler.cxx b/writerperfect/source/common/DocumentHandler.cxx
index 35aa49181313..181415033909 100644
--- a/writerperfect/source/common/DocumentHandler.cxx
+++ b/writerperfect/source/common/DocumentHandler.cxx
@@ -20,7 +20,7 @@
namespace writerperfect
{
-static const unsigned char librvng_utf8_skip_data[256]
+const unsigned char librvng_utf8_skip_data[256]
= { 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
More information about the Libreoffice-commits
mailing list