[Libreoffice-commits] core.git: fpicker/source
Samuel Mehrbrodt (via logerrit)
logerrit at kemper.freedesktop.org
Tue Feb 23 14:02:48 UTC 2021
fpicker/source/win32/VistaFilePickerImpl.cxx | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit 07324a1c4acd2e051d84ac0961979b8b88826f83
Author: Samuel Mehrbrodt <samuel.mehrbrodt at allotropia.de>
AuthorDate: Tue Feb 23 13:37:20 2021 +0100
Commit: Samuel Mehrbrodt <samuel.mehrbrodt at allotropia.de>
CommitDate: Tue Feb 23 15:02:06 2021 +0100
Add mutex guard when assigning member
Change-Id: I173824eaccea35d9f5e47b4248939050fceb939c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111393
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <samuel.mehrbrodt at allotropia.de>
diff --git a/fpicker/source/win32/VistaFilePickerImpl.cxx b/fpicker/source/win32/VistaFilePickerImpl.cxx
index 7d3b4d014450..ba53a2c9175e 100644
--- a/fpicker/source/win32/VistaFilePickerImpl.cxx
+++ b/fpicker/source/win32/VistaFilePickerImpl.cxx
@@ -490,7 +490,10 @@ void VistaFilePickerImpl::impl_sta_CreateDialog(const RequestRef& rRequest, Pick
sal_Int64 tmp = 0;
aAny >>= tmp;
if(tmp != 0)
+ {
+ osl::MutexGuard aLock(m_aMutex);
m_hParentWindow = reinterpret_cast<HWND>(tmp);
+ }
}
}
More information about the Libreoffice-commits
mailing list