[Libreoffice-commits] core.git: fpicker/source vcl/win

Stephan Bergmann (via logerrit) logerrit at kemper.freedesktop.org
Fri Apr 9 19:15:01 UTC 2021


 fpicker/source/win32/shared.hxx |    6 +++---
 vcl/win/dtrans/MimeAttrib.hxx   |   10 +++++-----
 2 files changed, 8 insertions(+), 8 deletions(-)

New commits:
commit de9d7f75eee26a6f53bdba6627bed8596f79900d
Author:     Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Fri Apr 9 15:27:36 2021 +0200
Commit:     Stephan Bergmann <sbergman at redhat.com>
CommitDate: Fri Apr 9 21:14:15 2021 +0200

    loplugin:redundantstatic (clang-cl)
    
    Change-Id: If21e0991c483836c2eb9a03396f077111dbec1fb
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113872
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sbergman at redhat.com>

diff --git a/fpicker/source/win32/shared.hxx b/fpicker/source/win32/shared.hxx
index aa211a6057c1..c47f6411e28b 100644
--- a/fpicker/source/win32/shared.hxx
+++ b/fpicker/source/win32/shared.hxx
@@ -21,9 +21,9 @@
 
 #include <rtl/ustring.hxx>
 
-static const OUStringLiteral BACKSLASH(u"\\");
-static const OUStringLiteral FILTER_SEPARATOR(u"------------------------------------------");
-static const OUStringLiteral ALL_FILES_WILDCARD(u"*.*");
+const OUStringLiteral BACKSLASH(u"\\");
+const OUStringLiteral FILTER_SEPARATOR(u"------------------------------------------");
+const OUStringLiteral ALL_FILES_WILDCARD(u"*.*");
 const bool ALLOW_DUPLICATES = true;
 
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/vcl/win/dtrans/MimeAttrib.hxx b/vcl/win/dtrans/MimeAttrib.hxx
index ed47f0a4e0ca..875cb957add6 100644
--- a/vcl/win/dtrans/MimeAttrib.hxx
+++ b/vcl/win/dtrans/MimeAttrib.hxx
@@ -21,11 +21,11 @@
 
 #include <rtl/ustring.hxx>
 
-static const OUStringLiteral TEXTPLAIN_PARAM_CHARSET(u"charset");
+const OUStringLiteral TEXTPLAIN_PARAM_CHARSET(u"charset");
 
-static const OUStringLiteral PRE_WINDOWS_CODEPAGE(u"windows");
-static const OUStringLiteral PRE_OEM_CODEPAGE(u"cp");
-static const OUStringLiteral CHARSET_UTF16(u"utf-16");
-static const OUStringLiteral CHARSET_UNICODE(u"unicode");
+const OUStringLiteral PRE_WINDOWS_CODEPAGE(u"windows");
+const OUStringLiteral PRE_OEM_CODEPAGE(u"cp");
+const OUStringLiteral CHARSET_UTF16(u"utf-16");
+const OUStringLiteral CHARSET_UNICODE(u"unicode");
 
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */


More information about the Libreoffice-commits mailing list