summaryrefslogtreecommitdiff
path: root/toolkit/source/controls
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2010-10-14 16:43:53 -0500
committerNorbert Thiebaud <nthiebaud@gmail.com>2010-10-25 19:55:37 -0500
commit7223ecb528c9883bae835ae5b47f7306efa2e256 (patch)
tree03715319790af474ba8305c0806e89cb2f95bf5d /toolkit/source/controls
parent18a9a87a805b94ad8f7b8a67d63a8568bfd295e7 (diff)
Use SolarMutexGuard where appropriate
Diffstat (limited to 'toolkit/source/controls')
-rw-r--r--toolkit/source/controls/unocontrol.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/toolkit/source/controls/unocontrol.cxx b/toolkit/source/controls/unocontrol.cxx
index 8286bd3d203b..872b80be1e32 100644
--- a/toolkit/source/controls/unocontrol.cxx
+++ b/toolkit/source/controls/unocontrol.cxx
@@ -219,7 +219,7 @@ Reference< XWindowPeer > UnoControl::ImplGetCompatiblePeer( sal_Bool bAcceptE
WorkWindow* pWW;
{
- osl::Guard< vos::IMutex > aGuard( Application::GetSolarMutex() );
+ SolarMutexGuard aGuard;
pWW = lcl_GetDefaultWindow();
}
try
@@ -652,7 +652,7 @@ void UnoControl::ImplModelPropertiesChanged( const Sequence< PropertyChangeEvent
// #82300# - 2000-12-21 - fs@openoffice.org
if (bNeedNewPeer && xParent.is())
{
- NAMESPACE_VOS(OGuard) aVclGuard( Application::GetSolarMutex() );
+ SolarMutexGuard aVclGuard;
// and now this is the final withdrawal:
// With 83561, I have no other idea than locking the SolarMutex here ....
// I really hate the fact that VCL is not theadsafe ....