summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
Diffstat (limited to 'desktop')
-rw-r--r--desktop/source/app/app.cxx4
-rw-r--r--desktop/source/deployment/inc/dp_descriptioninfoset.hxx2
-rw-r--r--desktop/source/deployment/manager/dp_extensionmanager.cxx4
-rw-r--r--desktop/source/deployment/misc/dp_misc.cxx2
-rw-r--r--desktop/source/deployment/misc/dp_resource.cxx1
-rw-r--r--desktop/source/deployment/registry/help/dp_help.cxx2
-rw-r--r--desktop/source/deployment/registry/inc/dp_backenddb.hxx2
-rw-r--r--desktop/win32/source/applauncher/launcher.cxx2
8 files changed, 9 insertions, 10 deletions
diff --git a/desktop/source/app/app.cxx b/desktop/source/app/app.cxx
index 03c436eb0138..377afc7f85c2 100644
--- a/desktop/source/app/app.cxx
+++ b/desktop/source/app/app.cxx
@@ -1487,7 +1487,7 @@ int Desktop::Main()
pExecGlobals->xGlobalBroadcaster = Reference < css::document::XEventListener >
( css::frame::theGlobalEventBroadcaster::get(xContext), UNO_QUERY_THROW );
- /* ensure existance of a default window that messages can be dispatched to
+ /* ensure existence of a default window that messages can be dispatched to
This is for the benefit of testtool which uses PostUserEvent extensively
and else can deadlock while creating this window from another tread while
the main thread is not yet in the event loop.
@@ -1645,7 +1645,7 @@ int Desktop::Main()
// Post user event to startup first application component window
// We have to send this OpenClients message short before execute() to
- // minimize the risk that this message overtakes type detection contruction!!
+ // minimize the risk that this message overtakes type detection construction!!
Application::PostUserEvent( LINK( this, Desktop, OpenClients_Impl ) );
// Post event to enable acceptors
diff --git a/desktop/source/deployment/inc/dp_descriptioninfoset.hxx b/desktop/source/deployment/inc/dp_descriptioninfoset.hxx
index f6718fee79df..8a25df838cd2 100644
--- a/desktop/source/deployment/inc/dp_descriptioninfoset.hxx
+++ b/desktop/source/deployment/inc/dp_descriptioninfoset.hxx
@@ -104,7 +104,7 @@ public:
If the platform element is present but does not specify a platform then an empty
sequence is returned. Examples for invalid platform elements:
<pre>
- <platform />, <platform value="" />, <platfrom value=",">
+ <platform />, <platform value="" />, <platform value=",">
</pre>
The value attribute can contain various platform tokens. They must be separated by
diff --git a/desktop/source/deployment/manager/dp_extensionmanager.cxx b/desktop/source/deployment/manager/dp_extensionmanager.cxx
index 097ff34d451e..73c11f34075d 100644
--- a/desktop/source/deployment/manager/dp_extensionmanager.cxx
+++ b/desktop/source/deployment/manager/dp_extensionmanager.cxx
@@ -527,9 +527,9 @@ ExtensionManager::getSupportedPackageTypes()
return getUserRepository()->getSupportedPackageTypes();
}
//Do some necessary checks and user interaction. This function does not
-//aquire the extension manager mutex and that mutex must not be aquired
+//acquire the extension manager mutex and that mutex must not be acquired
//when this function is called. doChecksForAddExtension does synchronous
-//user interactions which may require aquiring the solar mutex.
+//user interactions which may require acquiring the solar mutex.
//Returns true if the extension can be installed.
bool ExtensionManager::doChecksForAddExtension(
Reference<css::deployment::XPackageManager> const & xPackageMgr,
diff --git a/desktop/source/deployment/misc/dp_misc.cxx b/desktop/source/deployment/misc/dp_misc.cxx
index 8bd756e9d0d7..14e2c4c52ddb 100644
--- a/desktop/source/deployment/misc/dp_misc.cxx
+++ b/desktop/source/deployment/misc/dp_misc.cxx
@@ -407,7 +407,7 @@ oslProcess raiseProcess(
case osl_Process_E_NotFound:
throw RuntimeException( "image not found!", 0 );
case osl_Process_E_TimedOut:
- throw RuntimeException( "timout occurred!", 0 );
+ throw RuntimeException( "timeout occurred!", 0 );
case osl_Process_E_NoPermission:
throw RuntimeException( "permission denied!", 0 );
case osl_Process_E_Unknown:
diff --git a/desktop/source/deployment/misc/dp_resource.cxx b/desktop/source/deployment/misc/dp_resource.cxx
index f88743abb222..4f4a30099d48 100644
--- a/desktop/source/deployment/misc/dp_resource.cxx
+++ b/desktop/source/deployment/misc/dp_resource.cxx
@@ -73,7 +73,6 @@ OUString getResourceString( sal_uInt16 id )
return ret.replaceAll("%PRODUCTNAME", utl::ConfigManager::getProductName());
}
-
const LanguageTag & getOfficeLanguageTag()
{
return OfficeLocale::get();
diff --git a/desktop/source/deployment/registry/help/dp_help.cxx b/desktop/source/deployment/registry/help/dp_help.cxx
index ca3585f67388..12cb3c22c4e0 100644
--- a/desktop/source/deployment/registry/help/dp_help.cxx
+++ b/desktop/source/deployment/registry/help/dp_help.cxx
@@ -281,7 +281,7 @@ bool BackendImpl::PackageImpl::extensionContainsCompiledHelp()
if ( helpFolder.open() == ::osl::File::E_None)
{
//iterate over the contents of the help folder
- //We assume that all folders withing the help folder contain language specific
+ //We assume that all folders within the help folder contain language specific
//help files. If just one of them does not contain compiled help then this
//function returns false.
::osl::DirectoryItem item;
diff --git a/desktop/source/deployment/registry/inc/dp_backenddb.hxx b/desktop/source/deployment/registry/inc/dp_backenddb.hxx
index 6c8091fc31dc..f740af3b9323 100644
--- a/desktop/source/deployment/registry/inc/dp_backenddb.hxx
+++ b/desktop/source/deployment/registry/inc/dp_backenddb.hxx
@@ -107,7 +107,7 @@ protected:
OUString const & sListTagName,
OUString const & sMemberTagName);
- /* returns the values of one particulary child element of all key elements.
+ /* returns the values of one particularly child element of all key elements.
*/
::std::list< OUString> getOneChildFromAllEntries(
OUString const & sElementName);
diff --git a/desktop/win32/source/applauncher/launcher.cxx b/desktop/win32/source/applauncher/launcher.cxx
index b0f031a9068b..8c61a3ccfcee 100644
--- a/desktop/win32/source/applauncher/launcher.cxx
+++ b/desktop/win32/source/applauncher/launcher.cxx
@@ -40,7 +40,7 @@ extern "C" int APIENTRY WinMain( HINSTANCE, HINSTANCE, LPSTR, int )
extern "C" int APIENTRY _tWinMain( HINSTANCE, HINSTANCE, LPTSTR, int )
#endif
{
- // Retreive startup info
+ // Retrieve startup info
STARTUPINFO aStartupInfo;