summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2020-07-02 08:47:40 +0200
committerStephan Bergmann <sbergman@redhat.com>2020-07-02 10:03:43 +0200
commit47060fe411a33c4dc05540c4fb5b6aa26ae12c25 (patch)
tree876d3dd7e8709d937af108be8b3e6530d1c873d9 /test
parent6409b5e7115049f7072c66c1dfb3dd1308709fcc (diff)
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 <sbergman@redhat.com>
Diffstat (limited to 'test')
-rw-r--r--test/source/screenshot_test.cxx2
-rw-r--r--test/source/sheet/xspreadsheets2.cxx6
2 files changed, 4 insertions, 4 deletions
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);