[Libreoffice-commits] core.git: vcl/osx

Stephan Bergmann (via logerrit) logerrit at kemper.freedesktop.org
Mon Mar 1 11:29:45 UTC 2021


 vcl/osx/service_entry.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 46d3370d6c5a571c3013e3a964e49f0997d4eabf
Author:     Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Mon Mar 1 11:30:39 2021 +0100
Commit:     Stephan Bergmann <sbergman at redhat.com>
CommitDate: Mon Mar 1 12:29:04 2021 +0100

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

diff --git a/vcl/osx/service_entry.cxx b/vcl/osx/service_entry.cxx
index 4263735422e7..22b28a2c4a1a 100644
--- a/vcl/osx/service_entry.cxx
+++ b/vcl/osx/service_entry.cxx
@@ -36,7 +36,7 @@ using namespace ::com::sun::star::datatransfer::clipboard;
 
 // 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");
 
 uno::Reference< XInterface > AquaSalInstance::CreateClipboard( const Sequence< Any >& i_rArguments )
 {


More information about the Libreoffice-commits mailing list