From 47060fe411a33c4dc05540c4fb5b6aa26ae12c25 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 2 Jul 2020 08:47:40 +0200 Subject: Upcoming improved loplugin:staticanonymous -> redundantstatic: test Change-Id: I7926d0fef411337e637bca6d0f18ea75a12dc522 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97704 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- test/source/screenshot_test.cxx | 2 +- test/source/sheet/xspreadsheets2.cxx | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'test/source') diff --git a/test/source/screenshot_test.cxx b/test/source/screenshot_test.cxx index b1bdf7d98ddf..8e6a8775db05 100644 --- a/test/source/screenshot_test.cxx +++ b/test/source/screenshot_test.cxx @@ -40,7 +40,7 @@ using namespace css; using namespace css::uno; /// the target directory for screenshots -static constexpr OUStringLiteral g_aScreenshotDirectory("screenshots"); +constexpr OUStringLiteral g_aScreenshotDirectory("screenshots"); ScreenshotTest::ScreenshotTest() : maKnownDialogs() diff --git a/test/source/sheet/xspreadsheets2.cxx b/test/source/sheet/xspreadsheets2.cxx index 5544d026d195..d494e40c5136 100644 --- a/test/source/sheet/xspreadsheets2.cxx +++ b/test/source/sheet/xspreadsheets2.cxx @@ -32,9 +32,9 @@ using namespace css::uno; namespace apitest { -static constexpr OUStringLiteral gaSrcSheetName("SheetToCopy"); -static constexpr OUStringLiteral gaSrcFileName("rangenamessrc.ods"); -static constexpr OUStringLiteral gaDestFileBase("ScNamedRangeObj.ods"); +constexpr OUStringLiteral gaSrcSheetName("SheetToCopy"); +constexpr OUStringLiteral gaSrcFileName("rangenamessrc.ods"); +constexpr OUStringLiteral gaDestFileBase("ScNamedRangeObj.ods"); static sal_Int32 nInsertedSheets(0); -- cgit v1.2.3