diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2010-10-13 04:35:41 -0500 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2010-10-25 19:55:29 -0500 |
commit | 0d1f3a8577c56d162de09478cc3c358beb8683a7 (patch) | |
tree | 19a7987d6c26b8a37bd7e58d79a63d7007b10e4e /forms/source/runtime/formoperations.cxx | |
parent | d166c4a022a4219eb488f6c0dbd3a6defdc974f7 (diff) |
use SolarMutexGuard to guard the SolarMutex
Diffstat (limited to 'forms/source/runtime/formoperations.cxx')
-rw-r--r-- | forms/source/runtime/formoperations.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/forms/source/runtime/formoperations.cxx b/forms/source/runtime/formoperations.cxx index b1d7e01f837b..78190b19ae7a 100644 --- a/forms/source/runtime/formoperations.cxx +++ b/forms/source/runtime/formoperations.cxx @@ -471,7 +471,7 @@ namespace frm //-------------------------------------------------------------------- void SAL_CALL FormOperations::execute( ::sal_Int16 _nFeature ) throw (RuntimeException, IllegalArgumentException, SQLException, WrappedTargetException) { - ::vos::OGuard aSolarGuard( Application::GetSolarMutex() ); + SolarMutexGuard aSolarGuard; MethodGuard aGuard( *this ); if ( ( _nFeature != FormFeature::DeleteRecord ) && ( _nFeature != FormFeature::UndoRecordChanges ) ) @@ -744,7 +744,7 @@ namespace frm return; } - ::vos::OGuard aSolarGuard( Application::GetSolarMutex() ); + SolarMutexGuard aSolarGuard; MethodGuard aGuard( *this ); // at the moment we have only one feature which supports execution parameters |