summaryrefslogtreecommitdiff
path: root/onlineupdate
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2016-01-09 22:55:28 +0100
committerAshod Nakashian <ashnakash@gmail.com>2016-01-10 14:17:20 +0000
commit64d624b65124ac02d8ee59b135593fd9d8eb9067 (patch)
tree772fc0f308549b9416fbcb06bce2bf0e0f5809cc /onlineupdate
parentd61c16966b017abdbebf5ec0c2131de5a91c67f8 (diff)
Fix typos
Change-Id: I9a5940027423ff0791fa7da0b79b617412ce6b86 Reviewed-on: https://gerrit.libreoffice.org/21209 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Diffstat (limited to 'onlineupdate')
-rw-r--r--onlineupdate/source/libmar/verify/cryptox.c2
-rw-r--r--onlineupdate/source/libmar/verify/mar_verify.c2
-rw-r--r--onlineupdate/source/update/common/updatehelper.cxx2
-rw-r--r--onlineupdate/source/update/inc/mozilla/UniquePtr.h2
-rw-r--r--onlineupdate/source/update/updater/nsWindowsRestart.cxx2
-rw-r--r--onlineupdate/source/update/updater/updater.cxx4
6 files changed, 7 insertions, 7 deletions
diff --git a/onlineupdate/source/libmar/verify/cryptox.c b/onlineupdate/source/libmar/verify/cryptox.c
index 1de9891d5011..c5bef7387514 100644
--- a/onlineupdate/source/libmar/verify/cryptox.c
+++ b/onlineupdate/source/libmar/verify/cryptox.c
@@ -143,7 +143,7 @@ CyprtoAPI_VerifySignature(HCRYPTHASH *hash,
/**
* Obtains the public key for the passed in cert data
*
- * @param provider The cryto provider
+ * @param provider The crypto provider
* @param certData Data of the certificate to extract the public key from
* @param sizeOfCertData The size of the certData buffer
* @param certStore Pointer to the handle of the certificate store to use
diff --git a/onlineupdate/source/libmar/verify/mar_verify.c b/onlineupdate/source/libmar/verify/mar_verify.c
index c07ca20f88a3..ff0909a16f29 100644
--- a/onlineupdate/source/libmar/verify/mar_verify.c
+++ b/onlineupdate/source/libmar/verify/mar_verify.c
@@ -155,7 +155,7 @@ mar_verify_signatures(MarFile *mar,
}
if (CryptoX_Failed(CryptoX_InitCryptoProvider(&provider))) {
- fprintf(stderr, "ERROR: Could not init crytpo library.\n");
+ fprintf(stderr, "ERROR: Could not init crypto library.\n");
goto failure;
}
diff --git a/onlineupdate/source/update/common/updatehelper.cxx b/onlineupdate/source/update/common/updatehelper.cxx
index 7ccc319d39f5..fef3a70a7526 100644
--- a/onlineupdate/source/update/common/updatehelper.cxx
+++ b/onlineupdate/source/update/common/updatehelper.cxx
@@ -715,7 +715,7 @@ GetDWORDValue(HKEY key, LPCWSTR valueName, DWORD &retValue)
/**
* Determines if the the system's elevation type allows
- * unprmopted elevation.
+ * unprompted elevation.
*
* @param isUnpromptedElevation Out parameter which specifies if unprompted
* elevation is allowed.
diff --git a/onlineupdate/source/update/inc/mozilla/UniquePtr.h b/onlineupdate/source/update/inc/mozilla/UniquePtr.h
index 28b5794e4469..6fad8d1cfb8a 100644
--- a/onlineupdate/source/update/inc/mozilla/UniquePtr.h
+++ b/onlineupdate/source/update/inc/mozilla/UniquePtr.h
@@ -102,7 +102,7 @@ namespace mozilla {
* and move-assigned, not only from itself but from "derived" UniquePtr<U, E>
* instantiations where U converts to T and E converts to D. If you want to use
* this, you're going to have to specify a deletion policy for both UniquePtr
- * instantations, and T pretty much has to have a virtual destructor. In other
+ * instantiations, and T pretty much has to have a virtual destructor. In other
* words, this doesn't work:
*
* struct Base { virtual ~Base() {} };
diff --git a/onlineupdate/source/update/updater/nsWindowsRestart.cxx b/onlineupdate/source/update/updater/nsWindowsRestart.cxx
index 27fe249e429f..fff40808af1b 100644
--- a/onlineupdate/source/update/updater/nsWindowsRestart.cxx
+++ b/onlineupdate/source/update/updater/nsWindowsRestart.cxx
@@ -310,7 +310,7 @@ static int ArgStrLen(const wchar_t *s)
BOOL addDoubleQuotes = wcspbrk(s, L" \t") != nullptr;
if (addDoubleQuotes) {
- i += 2; // initial and final duoblequote
+ i += 2; // initial and final doublequote
}
if (hasDoubleQuote) {
diff --git a/onlineupdate/source/update/updater/updater.cxx b/onlineupdate/source/update/updater/updater.cxx
index 3066b2b716d0..5e88dff4e2a1 100644
--- a/onlineupdate/source/update/updater/updater.cxx
+++ b/onlineupdate/source/update/updater/updater.cxx
@@ -1829,7 +1829,7 @@ LaunchCallbackApp(const NS_tchar *workingDir,
WinLaunchChild(argv[0], argc, argv, nullptr);
}
#else
-# warning "Need implementaton of LaunchCallbackApp"
+# warning "Need implementation of LaunchCallbackApp"
#endif
}
@@ -2698,7 +2698,7 @@ int NS_main(int argc, NS_tchar **argv)
}
}
- // Make sure the service registry entries for the instsallation path
+ // Make sure the service registry entries for the installation path
// are available. If not don't use the service.
if (useService) {
WCHAR maintenanceServiceKey[MAX_PATH + 1];