diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2020-07-02 13:48:59 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2020-07-02 16:13:36 +0200 |
commit | ec2ee430e78cf768bbe48d4b7e7b32aaa6410b54 (patch) | |
tree | 1a969fdffe1733718bdc573fa5564c70c7732eec /writerperfect | |
parent | da1a875b5cc3753485535fdf92c8f6a9cfc66f3e (diff) |
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@redhat.com>
Diffstat (limited to 'writerperfect')
-rw-r--r-- | writerperfect/qa/unit/DirectoryStreamTest.cxx | 6 | ||||
-rw-r--r-- | writerperfect/qa/unit/WPXSvStreamTest.cxx | 6 | ||||
-rw-r--r-- | writerperfect/source/common/DocumentHandler.cxx | 2 |
3 files changed, 7 insertions, 7 deletions
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, |