summaryrefslogtreecommitdiff
path: root/uui/source/iahndl-errorhandler.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'uui/source/iahndl-errorhandler.cxx')
-rw-r--r--uui/source/iahndl-errorhandler.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/uui/source/iahndl-errorhandler.cxx b/uui/source/iahndl-errorhandler.cxx
index 5f2d60eaa9..087a1cfd36 100644
--- a/uui/source/iahndl-errorhandler.cxx
+++ b/uui/source/iahndl-errorhandler.cxx
@@ -58,7 +58,7 @@ executeErrorDialog(
WinBits nButtonMask)
SAL_THROW((uno::RuntimeException))
{
- vos::OGuard aGuard(Application::GetSolarMutex());
+ SolarMutexGuard aGuard;
rtl::OUStringBuffer aText(rContext);
if (rContext.getLength() != 0 && rMessage.getLength() != 0)
@@ -183,7 +183,7 @@ UUIInteractionHelper::handleErrorHandlerRequest(
SOURCE_SVX :
SOURCE_UUI;
- vos::OGuard aGuard(Application::GetSolarMutex());
+ SolarMutexGuard aGuard;
std::auto_ptr< ResMgr > xManager;
xManager.reset(ResMgr::CreateResMgr(aManager[eSource]));
if (!xManager.get())
@@ -267,7 +267,7 @@ UUIInteractionHelper::handleErrorHandlerRequest(
rtl::OUString aContext(getContextProperty());
if (aContext.getLength() == 0 && nErrorCode != 0)
{
- vos::OGuard aGuard(Application::GetSolarMutex());
+ SolarMutexGuard aGuard;
ErrorContext * pContext = ErrorContext::GetContext();
if (pContext)
{