[Libreoffice-commits] core.git: vcl/win
Noel Grandin (via logerrit)
logerrit at kemper.freedesktop.org
Sat Sep 4 06:12:48 UTC 2021
vcl/win/dtrans/WinClipboard.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 86fa9c907387e96c9c93f1e17239730271fedbfd
Author: Noel Grandin <noel.grandin at collabora.co.uk>
AuthorDate: Fri Sep 3 14:41:57 2021 +0200
Commit: Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Sat Sep 4 08:12:13 2021 +0200
fix comment left behind
in commit e25ba7dc57229d1cb9794abd1ca23c0d87ebecb3
use a dummy clipboard when running unit tests
Change-Id: If5f57d1777dddbd70771299c8e161b33da10711d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121600
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>
diff --git a/vcl/win/dtrans/WinClipboard.cxx b/vcl/win/dtrans/WinClipboard.cxx
index 39094d9e5e0f..2c33fe72e9c9 100644
--- a/vcl/win/dtrans/WinClipboard.cxx
+++ b/vcl/win/dtrans/WinClipboard.cxx
@@ -327,12 +327,12 @@ uno::Sequence<OUString> SAL_CALL CWinClipboard::getSupportedServiceNames()
return { "com.sun.star.datatransfer.clipboard.SystemClipboard" };
}
-// We run unit tests in parallel, which is a problem when touching a shared resource
extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface*
dtrans_CWinClipboard_get_implementation(css::uno::XComponentContext* context,
css::uno::Sequence<css::uno::Any> const& args)
{
- // the system clipboard, so rather use the dummy GenericClipboard.
+ // We run unit tests in parallel, which is a problem when touching a shared resource
+ // like the system clipboard, so rather use the dummy GenericClipboard.
static const bool bRunningUnitTest = getenv("LO_TESTNAME");
if (bRunningUnitTest)
More information about the Libreoffice-commits
mailing list