From 64d624b65124ac02d8ee59b135593fd9d8eb9067 Mon Sep 17 00:00:00 2001 From: Andrea Gelmini Date: Sat, 9 Jan 2016 22:55:28 +0100 Subject: Fix typos Change-Id: I9a5940027423ff0791fa7da0b79b617412ce6b86 Reviewed-on: https://gerrit.libreoffice.org/21209 Tested-by: Jenkins Reviewed-by: Ashod Nakashian --- onlineupdate/source/libmar/verify/cryptox.c | 2 +- onlineupdate/source/libmar/verify/mar_verify.c | 2 +- onlineupdate/source/update/common/updatehelper.cxx | 2 +- onlineupdate/source/update/inc/mozilla/UniquePtr.h | 2 +- onlineupdate/source/update/updater/nsWindowsRestart.cxx | 2 +- onlineupdate/source/update/updater/updater.cxx | 4 ++-- 6 files changed, 7 insertions(+), 7 deletions(-) (limited to 'onlineupdate') 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 * 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]; -- cgit