diff options
Diffstat (limited to 'sd/source/ui/framework/configuration/ConfigurationController.cxx')
-rw-r--r-- | sd/source/ui/framework/configuration/ConfigurationController.cxx | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/sd/source/ui/framework/configuration/ConfigurationController.cxx b/sd/source/ui/framework/configuration/ConfigurationController.cxx index 10d7a1aa00e7..f3f4ab4617f8 100644 --- a/sd/source/ui/framework/configuration/ConfigurationController.cxx +++ b/sd/source/ui/framework/configuration/ConfigurationController.cxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -117,7 +117,7 @@ public: ::com::sun::star::drawing::framework::XConfiguration> mxRequestedConfiguration; ViewShellBase* mpBase; - + ::boost::shared_ptr<ResourceFactoryManager> mpResourceFactoryContainer; ::boost::shared_ptr<ConfigurationControllerResourceManager> mpResourceManager; @@ -143,14 +143,14 @@ ConfigurationController::Lock::Lock (const Reference<XConfigurationController>& : mxController(rxController) { OSL_ASSERT(mxController.is()); - + if (mxController.is()) mxController->lock(); } - - - + + + ConfigurationController::Lock::~Lock (void) { if (mxController.is()) @@ -287,7 +287,7 @@ void SAL_CALL ConfigurationController::notifyEvent ( //----- XConfigurationController ---------------------------------------------- - + void SAL_CALL ConfigurationController::lock (void) throw (RuntimeException) { @@ -297,7 +297,7 @@ void SAL_CALL ConfigurationController::lock (void) ::osl::MutexGuard aGuard (maMutex); ThrowIfDisposed(); - + ++mpImplementation->mnLockCount; if (mpImplementation->mpConfigurationUpdaterLock.get()==NULL) mpImplementation->mpConfigurationUpdaterLock @@ -380,7 +380,7 @@ void SAL_CALL ConfigurationController::requestResourceActivation ( requestResourceDeactivation(aResourceList[nIndex]); } } - + Reference<XConfigurationChangeRequest> xRequest( new GenericConfigurationChangeRequest( rxResourceId, @@ -477,7 +477,7 @@ sal_Bool SAL_CALL ConfigurationController::hasPendingRequests (void) { ::osl::MutexGuard aGuard (maMutex); ThrowIfDisposed(); - + return ! mpImplementation->mpQueueProcessor->IsEmpty(); } @@ -596,7 +596,7 @@ void SAL_CALL ConfigurationController::restoreConfiguration ( //----- XResourceFactoryManager ----------------------------------------------- - + void SAL_CALL ConfigurationController::addResourceFactory( const OUString& sResourceURL, const Reference<XResourceFactory>& rxResourceFactory) @@ -609,7 +609,7 @@ void SAL_CALL ConfigurationController::addResourceFactory( - + void SAL_CALL ConfigurationController::removeResourceFactoryForURL( const OUString& sResourceURL) throw (RuntimeException) |