summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-01-07 08:50:55 +0200
committerNoel Grandin <noel@peralex.com>2015-01-07 08:50:55 +0200
commita9c2d1c626c52ae595efc1000b0682ba6354fc54 (patch)
tree79ac996f2645be3d0c98f9549565ff56027b889f
parent9fd89a5952a48b473cee03a2681eb5d4cd6d1742 (diff)
fix spelling: garded -> guarded
Change-Id: I3e9f8781957a8b96afeb609501dff1f8bc9d718e
-rw-r--r--desktop/source/deployment/manager/dp_extensionmanager.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/desktop/source/deployment/manager/dp_extensionmanager.cxx b/desktop/source/deployment/manager/dp_extensionmanager.cxx
index 345a3e0a574b..c0b41df2fc44 100644
--- a/desktop/source/deployment/manager/dp_extensionmanager.cxx
+++ b/desktop/source/deployment/manager/dp_extensionmanager.cxx
@@ -690,12 +690,12 @@ Reference<css::deployment::XPackage> ExtensionManager::addExtension(
{
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
- //may potententially deadlock. See issue
- //http://qa.openoffice.org/issues/show_bug.cgi?id=114933
- //By not providing xCmdEnv the underlying APIs will throw an exception if
- //the XInteractionRequest cannot be handled
+ // may potententially deadlock. See issue
+ // http://qa.openoffice.org/issues/show_bug.cgi?id=114933
+ // By not providing xCmdEnv the underlying APIs will throw an exception if
+ // the XInteractionRequest cannot be handled.
::osl::MutexGuard guard(getMutex());
if (bCanInstall)
@@ -807,7 +807,7 @@ Reference<css::deployment::XPackage> ExtensionManager::addExtension(
}
::cppu::throwException(excOccurred2);
}
- } // leaving the garded section (getMutex())
+ } // leaving the guarded section (getMutex())
try
{