Kaydet (Commit) a9c2d1c6 authored tarafından Noel Grandin's avatar Noel Grandin

fix spelling: garded -> guarded

Change-Id: I3e9f8781957a8b96afeb609501dff1f8bc9d718e
üst 9fd89a59
...@@ -690,12 +690,12 @@ Reference<css::deployment::XPackage> ExtensionManager::addExtension( ...@@ -690,12 +690,12 @@ Reference<css::deployment::XPackage> ExtensionManager::addExtension(
{ {
bool bUserDisabled = false; bool bUserDisabled = false;
// In this garded section (getMutex) we must not use the argument xCmdEnv // In this guarded section (getMutex) we must not use the argument xCmdEnv
// because it may bring up dialogs (XInteractionHandler::handle) this // because it may bring up dialogs (XInteractionHandler::handle) this
//may potententially deadlock. See issue // may potententially deadlock. See issue
//http://qa.openoffice.org/issues/show_bug.cgi?id=114933 // http://qa.openoffice.org/issues/show_bug.cgi?id=114933
//By not providing xCmdEnv the underlying APIs will throw an exception if // By not providing xCmdEnv the underlying APIs will throw an exception if
//the XInteractionRequest cannot be handled // the XInteractionRequest cannot be handled.
::osl::MutexGuard guard(getMutex()); ::osl::MutexGuard guard(getMutex());
if (bCanInstall) if (bCanInstall)
...@@ -807,7 +807,7 @@ Reference<css::deployment::XPackage> ExtensionManager::addExtension( ...@@ -807,7 +807,7 @@ Reference<css::deployment::XPackage> ExtensionManager::addExtension(
} }
::cppu::throwException(excOccurred2); ::cppu::throwException(excOccurred2);
} }
} // leaving the garded section (getMutex()) } // leaving the guarded section (getMutex())
try try
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment