diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2010-10-14 22:18:02 -0500 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2010-10-25 17:57:35 -0500 |
commit | 2622a457404ff6593535219aab8e3cba1cb07c9e (patch) | |
tree | c0252373576c4ae240a27e54ce22239532038774 /sc/source/ui/unoobj/confuno.cxx | |
parent | defa3490b432f331b0f27a9ab14795f476cd3990 (diff) |
replace ScUnoGuard by SolarMutexGuard
ScUnoGaurd provide a Guard wrapper around Application::GetSolarMutex().
This is now provided by the class SolarMutexGuard.
Diffstat (limited to 'sc/source/ui/unoobj/confuno.cxx')
-rw-r--r-- | sc/source/ui/unoobj/confuno.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sc/source/ui/unoobj/confuno.cxx b/sc/source/ui/unoobj/confuno.cxx index 2b513d2b2e71..a00d65061007 100644 --- a/sc/source/ui/unoobj/confuno.cxx +++ b/sc/source/ui/unoobj/confuno.cxx @@ -33,7 +33,6 @@ #include "confuno.hxx" #include "unonames.hxx" -#include "unoguard.hxx" #include "scdll.hxx" #include "docsh.hxx" #include "miscuno.hxx" @@ -46,6 +45,7 @@ #include <sfx2/printer.hxx> #include <xmloff/xmluconv.hxx> #include <rtl/ustrbuf.hxx> +#include <vcl/svapp.hxx> using namespace com::sun::star; @@ -126,7 +126,7 @@ void ScDocumentConfiguration::Notify( SfxBroadcaster&, const SfxHint& rHint ) uno::Reference<beans::XPropertySetInfo> SAL_CALL ScDocumentConfiguration::getPropertySetInfo() throw(uno::RuntimeException) { - ScUnoGuard aGuard; + SolarMutexGuard aGuard; static uno::Reference<beans::XPropertySetInfo> aRef( new SfxItemPropertySetInfo( aPropSet.getPropertyMap() )); return aRef; @@ -138,7 +138,7 @@ void SAL_CALL ScDocumentConfiguration::setPropertyValue( lang::IllegalArgumentException, lang::WrappedTargetException, uno::RuntimeException) { - ScUnoGuard aGuard; + SolarMutexGuard aGuard; if(pDocShell) { @@ -337,7 +337,7 @@ uno::Any SAL_CALL ScDocumentConfiguration::getPropertyValue( const rtl::OUString throw(beans::UnknownPropertyException, lang::WrappedTargetException, uno::RuntimeException) { - ScUnoGuard aGuard; + SolarMutexGuard aGuard; uno::Any aRet; if(pDocShell) |