vcl/win/dtrans/WinClipboard.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 24dd6c5f9861340fafccad9504a99a939cbba0a6 Author: Mike Kaganski <mike.kagan...@collabora.com> AuthorDate: Tue Mar 9 22:16:48 2021 +0100 Commit: Mike Kaganski <mike.kagan...@collabora.com> CommitDate: Wed Mar 10 06:26:00 2021 +0100 Fix comment after renaming variable Change-Id: I4bf7b2cf76d26060dcb0acfdf9796d339f7dcbc4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112220 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kagan...@collabora.com> diff --git a/vcl/win/dtrans/WinClipboard.cxx b/vcl/win/dtrans/WinClipboard.cxx index 23b20449e0c5..5ec56690b17e 100644 --- a/vcl/win/dtrans/WinClipboard.cxx +++ b/vcl/win/dtrans/WinClipboard.cxx @@ -206,7 +206,7 @@ void SAL_CALL CWinClipboard::flushClipboard() throw lang::DisposedException("object is already disposed", static_cast<XClipboardEx*>(this)); - // actually it should be ClearableMutexGuard aGuard( m_ClipContentMutex ); + // actually it should be ClearableMutexGuard aGuard( m_aContentCacheMutex ); // but it does not work since FlushClipboard does a callback and frees DataObject // which results in a deadlock in onReleaseDataObject. // FlushClipboard had to be synchron in order to prevent shutdown until all _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits