[Libreoffice-commits] core.git: vcl/win
Stephan Bergmann (via logerrit)
logerrit at kemper.freedesktop.org
Tue Mar 9 08:31:21 UTC 2021
vcl/win/dtrans/WinClipboard.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 067b22aeff5ff256be393dc2aa14acdf0300427a
Author: Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Mon Mar 8 17:39:58 2021 +0100
Commit: Stephan Bergmann <sbergman at redhat.com>
CommitDate: Tue Mar 9 09:30:34 2021 +0100
loplugin:redundantstatic (clang-cl)
Change-Id: Ieb4d3a0085555d84a16de490413b92b506a59dee
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112178
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman at redhat.com>
diff --git a/vcl/win/dtrans/WinClipboard.cxx b/vcl/win/dtrans/WinClipboard.cxx
index 2100510b5d34..407325b14280 100644
--- a/vcl/win/dtrans/WinClipboard.cxx
+++ b/vcl/win/dtrans/WinClipboard.cxx
@@ -324,7 +324,7 @@ uno::Sequence<OUString> SAL_CALL CWinClipboard::getSupportedServiceNames()
// We run unit tests in parallel, which is a problem when touching a shared resource
// the system clipboard, so rather use the dummy GenericClipboard.
-static const bool bRunningUnitTest = getenv("LO_TESTNAME");
+const bool bRunningUnitTest = getenv("LO_TESTNAME");
extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface*
dtrans_CWinClipboard_get_implementation(css::uno::XComponentContext* context,
More information about the Libreoffice-commits
mailing list