[Libreoffice-commits] core.git: compilerplugins/clang onlineupdate/source svx/source
Andrea Gelmini
andrea.gelmini at gelma.net
Thu Jun 1 07:43:45 UTC 2017
compilerplugins/clang/unusedfields.cxx | 2 +-
onlineupdate/source/service/maintenanceservice.cxx | 2 +-
onlineupdate/source/service/serviceinstall.cxx | 2 +-
onlineupdate/source/update/common/updatehelper.cxx | 2 +-
onlineupdate/source/update/updater/updater.cxx | 2 +-
svx/source/form/filtnav.cxx | 2 +-
6 files changed, 6 insertions(+), 6 deletions(-)
New commits:
commit 5482ee62a51f213eed49becff0a07640c030df7e
Author: Andrea Gelmini <andrea.gelmini at gelma.net>
Date: Thu Jun 1 09:14:53 2017 +0200
Fix typos
Change-Id: Ic7fbd750321e4cfde1cfb0e04ffb545bb1f66d9c
Reviewed-on: https://gerrit.libreoffice.org/37921
Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>
Tested-by: Julien Nabet <serval2412 at yahoo.fr>
diff --git a/compilerplugins/clang/unusedfields.cxx b/compilerplugins/clang/unusedfields.cxx
index f58ad599ea35..2d87cab22708 100644
--- a/compilerplugins/clang/unusedfields.cxx
+++ b/compilerplugins/clang/unusedfields.cxx
@@ -261,7 +261,7 @@ bool UnusedFields::VisitMemberExpr( const MemberExpr* memberExpr )
;
else if (name == "clear" || name == "dispose" || name == "clearAndDispose" || name == "swap")
// we're abusing the write-only analysis here to look for fields which don't have anything useful
- // being done to them, so we're ignoreing things like std::vector::clear, vector::swap,
+ // being done to them, so we're ignoring things like std::vector::clear, vector::swap,
// and VclPtr::clearAndDispose
;
else
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,
diff --git a/svx/source/form/filtnav.cxx b/svx/source/form/filtnav.cxx
index 50c7f557e6ce..199e667feac7 100644
--- a/svx/source/form/filtnav.cxx
+++ b/svx/source/form/filtnav.cxx
@@ -1776,7 +1776,7 @@ void FmFilterNavigator::KeyInput(const KeyEvent& rKEvt)
void FmFilterNavigator::DeleteSelection()
{
// to avoid the deletion of an entry twice (e.g. deletion of a parent and afterward
- // the deletion of its child, I have to shrink the selecton list
+ // the deletion of its child, I have to shrink the selection list
::std::vector<SvTreeListEntry*> aEntryList;
for (SvTreeListEntry* pEntry = FirstSelected();
pEntry != nullptr;
More information about the Libreoffice-commits
mailing list