summaryrefslogtreecommitdiff
path: root/svx/source/unogallery/unogalitem.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/unogallery/unogalitem.cxx')
-rw-r--r--svx/source/unogallery/unogalitem.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/svx/source/unogallery/unogalitem.cxx b/svx/source/unogallery/unogalitem.cxx
index 5538098199..e04a3715dd 100644
--- a/svx/source/unogallery/unogalitem.cxx
+++ b/svx/source/unogallery/unogalitem.cxx
@@ -208,7 +208,7 @@ uno::Sequence< uno::Type > SAL_CALL GalleryItem::getTypes()
uno::Sequence< sal_Int8 > SAL_CALL GalleryItem::getImplementationId()
throw(uno::RuntimeException)
{
- const vos::OGuard aGuard( Application::GetSolarMutex() );
+ const SolarMutexGuard aGuard;
static uno::Sequence< sal_Int8 > aId;
if( aId.getLength() == 0 )
@@ -225,7 +225,7 @@ uno::Sequence< sal_Int8 > SAL_CALL GalleryItem::getImplementationId()
sal_Int8 SAL_CALL GalleryItem::getType()
throw (uno::RuntimeException)
{
- const ::vos::OGuard aGuard( Application::GetSolarMutex() );
+ const SolarMutexGuard aGuard;
sal_Int8 nRet = gallery::GalleryItemType::EMPTY;
if( isValid() )
@@ -254,7 +254,7 @@ sal_Int8 SAL_CALL GalleryItem::getType()
::comphelper::PropertySetInfo* GalleryItem::createPropertySetInfo()
{
- vos::OGuard aGuard( Application::GetSolarMutex() );
+ SolarMutexGuard aGuard;
::comphelper::PropertySetInfo* pRet = new ::comphelper::PropertySetInfo();
static ::comphelper::PropertyMapEntry aEntries[] =
@@ -294,7 +294,7 @@ void GalleryItem::_setPropertyValues( const comphelper::PropertyMapEntry** ppEnt
lang::IllegalArgumentException,
lang::WrappedTargetException )
{
- const ::vos::OGuard aGuard( Application::GetSolarMutex() );
+ const SolarMutexGuard aGuard;
while( *ppEntries )
{
@@ -339,7 +339,7 @@ void GalleryItem::_getPropertyValues( const comphelper::PropertyMapEntry** ppEnt
throw( beans::UnknownPropertyException,
lang::WrappedTargetException )
{
- const ::vos::OGuard aGuard( Application::GetSolarMutex() );
+ const SolarMutexGuard aGuard;
while( *ppEntries )
{