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:
@@ -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()
|
||||||
{
|
{
|
||||||
|
@@ -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()
|
||||||
{
|
{
|
||||||
|
@@ -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,
|
||||||
|
Reference in New Issue
Block a user