diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2020-08-04 15:42:52 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2020-08-04 20:20:41 +0200 |
commit | 924341e2c73e28b92fb927f2a4b5494ded5f257a (patch) | |
tree | b3259d4d66ca2cdac17383475472b22c72b67624 /sal | |
parent | 56223a535d9c1da3ebf36dac9ee09e62b6de242a (diff) |
Improved loplugin:staticanonymous -> redundantstatic redux, clang-cl
Change-Id: Ie6dc22edbcfdf05ab8d7d668cb7cc33b5b747995
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100100
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sal')
-rw-r--r-- | sal/osl/w32/file_dirvol.cxx | 6 | ||||
-rw-r--r-- | sal/osl/w32/file_error.cxx | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sal/osl/w32/file_dirvol.cxx b/sal/osl/w32/file_dirvol.cxx index d581e1536595..bf8e8fbcd9d6 100644 --- a/sal/osl/w32/file_dirvol.cxx +++ b/sal/osl/w32/file_dirvol.cxx @@ -31,9 +31,9 @@ #include <sal/log.hxx> #include <o3tl/char16_t2wchar_t.hxx> -static const wchar_t UNC_PREFIX[] = L"\\\\"; -static const wchar_t BACKSLASH = '\\'; -static const wchar_t SLASH = '/'; +const wchar_t UNC_PREFIX[] = L"\\\\"; +const wchar_t BACKSLASH = '\\'; +const wchar_t SLASH = '/'; BOOL TimeValueToFileTime(const TimeValue *cpTimeVal, FILETIME *pFTime) { diff --git a/sal/osl/w32/file_error.cxx b/sal/osl/w32/file_error.cxx index c9f8b8a3cc3e..feefaca388ce 100644 --- a/sal/osl/w32/file_error.cxx +++ b/sal/osl/w32/file_error.cxx @@ -31,7 +31,7 @@ struct osl_file_error_entry } -static const struct osl_file_error_entry errtable[] = { +const struct osl_file_error_entry errtable[] = { { ERROR_SUCCESS, osl_File_E_None }, /* 0 */ { ERROR_INVALID_FUNCTION, osl_File_E_INVAL }, /* 1 */ { ERROR_FILE_NOT_FOUND, osl_File_E_NOENT }, /* 2 */ |