test/source/screenshot_test.cxx      |    2 +-
 test/source/sheet/xspreadsheets2.cxx |    6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

New commits:
commit 47060fe411a33c4dc05540c4fb5b6aa26ae12c25
Author:     Stephan Bergmann <[email protected]>
AuthorDate: Thu Jul 2 08:47:40 2020 +0200
Commit:     Stephan Bergmann <[email protected]>
CommitDate: Thu Jul 2 10:03:43 2020 +0200

    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 <[email protected]>

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);
 
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to