summaryrefslogtreecommitdiff
path: root/onlineupdate
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2017-06-01 09:14:53 +0200
committerJulien Nabet <serval2412@yahoo.fr>2017-06-01 09:42:53 +0200
commit5482ee62a51f213eed49becff0a07640c030df7e (patch)
tree9d7a55ea4682fce906dcd798cd20800c079bc49c /onlineupdate
parent82dc186a2a0f819fded89a84956bd75a0096e06b (diff)
Fix typos
Change-Id: Ic7fbd750321e4cfde1cfb0e04ffb545bb1f66d9c Reviewed-on: https://gerrit.libreoffice.org/37921 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'onlineupdate')
-rw-r--r--onlineupdate/source/service/maintenanceservice.cxx2
-rw-r--r--onlineupdate/source/service/serviceinstall.cxx2
-rw-r--r--onlineupdate/source/update/common/updatehelper.cxx2
-rw-r--r--onlineupdate/source/update/updater/updater.cxx2
4 files changed, 4 insertions, 4 deletions
diff --git a/onlineupdate/source/service/maintenanceservice.cxx b/onlineupdate/source/service/maintenanceservice.cxx
index 036bfe25192f..6010dbd3e199 100644
--- a/onlineupdate/source/service/maintenanceservice.cxx
+++ b/onlineupdate/source/service/maintenanceservice.cxx
@@ -238,7 +238,7 @@ BackupOldLogs(LPCWSTR basePath, int numLogsToKeep)
* if it has been 5 seconds after all work is done and the process is still not
* terminated. This thread is only started once a stopped state was sent to the
* SCM. The stop pending hang can be reproduced intermittently even if you set
- * a stopped state dirctly and never set a stop pending state. It is safe to
+ * a stopped state directly and never set a stop pending state. It is safe to
* forcefully terminate the process ourselves since all work is done once we
* start this thread.
*/
diff --git a/onlineupdate/source/service/serviceinstall.cxx b/onlineupdate/source/service/serviceinstall.cxx
index 0bbc875086be..edff2e3c2794 100644
--- a/onlineupdate/source/service/serviceinstall.cxx
+++ b/onlineupdate/source/service/serviceinstall.cxx
@@ -139,7 +139,7 @@ GetVersionNumberFromPath(LPWSTR path, DWORD &A, DWORD &B,
*
* @param serviceHandle A handle to an opened service with
* SERVICE_CHANGE_CONFIG access right
- * @param TRUE on succcess.
+ * @param TRUE on success.
*/
BOOL
UpdateServiceDescription(SC_HANDLE serviceHandle)
diff --git a/onlineupdate/source/update/common/updatehelper.cxx b/onlineupdate/source/update/common/updatehelper.cxx
index ab9e77f00979..1363fa040eb9 100644
--- a/onlineupdate/source/update/common/updatehelper.cxx
+++ b/onlineupdate/source/update/common/updatehelper.cxx
@@ -272,7 +272,7 @@ StartServiceUpdate(LPCWSTR installDir)
PathAppendSafe(newMaintServicePath,
L"maintenanceservice.exe");
- // Copy the temp file in alongside the maintenace service.
+ // Copy the temp file in alongside the maintenance service.
// This is a requirement for maintenance service upgrades.
if (!CopyFileW(newMaintServicePath, tmpService, FALSE))
{
diff --git a/onlineupdate/source/update/updater/updater.cxx b/onlineupdate/source/update/updater/updater.cxx
index e81fd89e840b..cd63539edfb4 100644
--- a/onlineupdate/source/update/updater/updater.cxx
+++ b/onlineupdate/source/update/updater/updater.cxx
@@ -3630,7 +3630,7 @@ int NS_main(int argc, NS_tchar **argv)
DWORD lastWriteError = 0;
do
{
- // By opening a file handle wihout FILE_SHARE_READ to the callback
+ // By opening a file handle without FILE_SHARE_READ to the callback
// executable, the OS will prevent launching the process while it is
// being updated.
callbackFile = CreateFileW(targetPath,