From 067b22aeff5ff256be393dc2aa14acdf0300427a Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Mon, 8 Mar 2021 17:39:58 +0100 Subject: loplugin:redundantstatic (clang-cl) Change-Id: Ieb4d3a0085555d84a16de490413b92b506a59dee Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112178 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- vcl/win/dtrans/WinClipboard.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 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, -- cgit