summaryrefslogtreecommitdiff
path: root/fpicker
diff options
context:
space:
mode:
Diffstat (limited to 'fpicker')
-rw-r--r--fpicker/source/win32/VistaFilePickerImpl.cxx3
1 files changed, 3 insertions, 0 deletions
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);
+ }
}
}