summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2021-03-08 17:39:58 +0100
committerStephan Bergmann <sbergman@redhat.com>2021-03-09 09:30:34 +0100
commit067b22aeff5ff256be393dc2aa14acdf0300427a (patch)
treefde8904e0743bc2a05d051340a8847f723c1a2af
parentbb5900acfe6e250c75c34cd377777e752bae3a80 (diff)
loplugin:redundantstatic (clang-cl)
Change-Id: Ieb4d3a0085555d84a16de490413b92b506a59dee Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112178 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
-rw-r--r--vcl/win/dtrans/WinClipboard.cxx2
1 files changed, 1 insertions, 1 deletions
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,