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>
This commit is contained in:
Stephan Bergmann
2020-07-02 13:48:59 +02:00
parent da1a875b5c
commit ec2ee430e7
3 changed files with 7 additions and 7 deletions

View File

@@ -56,9 +56,9 @@ private:
uno::Reference<ucb::XContent> m_xNonexistent; uno::Reference<ucb::XContent> m_xNonexistent;
}; };
static const char g_aDirPath[] = "/writerperfect/qa/unit/data/stream/test.dir"; const char g_aDirPath[] = "/writerperfect/qa/unit/data/stream/test.dir";
static const char g_aNondirPath[] = "/writerperfect/qa/unit/data/stream/test.dir/mimetype"; 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_aNonexistentPath[] = "/writerperfect/qa/unit/data/stream/foo/bar";
DirectoryStreamTest::DirectoryStreamTest() DirectoryStreamTest::DirectoryStreamTest()
{ {

View File

@@ -63,9 +63,9 @@ private:
void testStructured(); void testStructured();
}; };
static const char aText[] = "hello world"; const char aText[] = "hello world";
static const char aOLEFile[] = "/writerperfect/qa/unit/data/stream/fdo40686-1.doc"; const char aOLEFile[] = "/writerperfect/qa/unit/data/stream/fdo40686-1.doc";
static const char aZipFile[] = "/writerperfect/qa/unit/data/stream/test.odt"; const char aZipFile[] = "/writerperfect/qa/unit/data/stream/test.odt";
shared_ptr<RVNGInputStream> lcl_createStream() shared_ptr<RVNGInputStream> lcl_createStream()
{ {

View File

@@ -20,7 +20,7 @@
namespace writerperfect 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, 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,