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 | 1ad06c7fab1a4bc871c0ebd9a65df1a55133e6c8 (patch) | |
tree | 52dc00081ae8f5610e8fe17f23820fa4d4571988 /basctl/source/dlged/dlgedclip.cxx | |
parent | 3f7fe354b2d9f608738ab04e8921c35efed68c3a (diff) |
use SolarMutexGuard to guard the SolarMutex
Diffstat (limited to 'basctl/source/dlged/dlgedclip.cxx')
-rw-r--r-- | basctl/source/dlged/dlgedclip.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/basctl/source/dlged/dlgedclip.cxx b/basctl/source/dlged/dlgedclip.cxx index 12e3b3846..1a6da9cc9 100644 --- a/basctl/source/dlged/dlgedclip.cxx +++ b/basctl/source/dlged/dlgedclip.cxx @@ -89,7 +89,7 @@ sal_Bool DlgEdTransferableImpl::compareDataFlavors( const DataFlavor& lFlavor, c Any SAL_CALL DlgEdTransferableImpl::getTransferData( const DataFlavor& rFlavor ) throw(UnsupportedFlavorException, IOException, RuntimeException) { - const ::vos::OGuard aGuard( Application::GetSolarMutex() ); + const SolarMutexGuard aGuard; if ( !isDataFlavorSupported( rFlavor ) ) throw UnsupportedFlavorException(); @@ -112,7 +112,7 @@ Any SAL_CALL DlgEdTransferableImpl::getTransferData( const DataFlavor& rFlavor ) Sequence< DataFlavor > SAL_CALL DlgEdTransferableImpl::getTransferDataFlavors( ) throw(RuntimeException) { - const ::vos::OGuard aGuard( Application::GetSolarMutex() ); + const SolarMutexGuard aGuard; return m_SeqFlavors; } @@ -121,7 +121,7 @@ Sequence< DataFlavor > SAL_CALL DlgEdTransferableImpl::getTransferDataFlavors( sal_Bool SAL_CALL DlgEdTransferableImpl::isDataFlavorSupported( const DataFlavor& rFlavor ) throw(RuntimeException) { - const ::vos::OGuard aGuard( Application::GetSolarMutex() ); + const SolarMutexGuard aGuard; sal_Bool bRet = sal_False; @@ -142,7 +142,7 @@ sal_Bool SAL_CALL DlgEdTransferableImpl::isDataFlavorSupported( const DataFlavor void SAL_CALL DlgEdTransferableImpl::lostOwnership( const Reference< XClipboard >&, const Reference< XTransferable >& ) throw(RuntimeException) { - const ::vos::OGuard aGuard( Application::GetSolarMutex() ); + const SolarMutexGuard aGuard; m_SeqFlavors = Sequence< DataFlavor >(); m_SeqData = Sequence< Any >(); |