From 9741ec7b204b8760228cb1a325c6e8ea3a47cce0 Mon Sep 17 00:00:00 2001 From: Andrea Gelmini Date: Fri, 24 May 2019 23:02:46 +0000 Subject: Fix typos Change-Id: I09ea15a845bdae45453983862edbcbe9550cce86 Reviewed-on: https://gerrit.libreoffice.org/72942 Tested-by: Jenkins Reviewed-by: Julien Nabet --- sw/source/uibase/utlui/content.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sw/source/uibase/utlui/content.cxx') diff --git a/sw/source/uibase/utlui/content.cxx b/sw/source/uibase/utlui/content.cxx index 21d7e3a1ecb2..810690100c61 100644 --- a/sw/source/uibase/utlui/content.cxx +++ b/sw/source/uibase/utlui/content.cxx @@ -2522,7 +2522,7 @@ void SwContentTree::ExecCommand(const OUString& rCmd, bool bOutlineWithChildren) else if (nActLevel >= static_cast(pEntry->GetUserData())->GetOutlineLevel()) { // nDest needs adjusted if there are selected entries (including ancestral lineage) - // immediatly before the current moved entry. + // immediately before the current moved entry. SvTreeListEntry* pTmp = Prev(pEntry); while (pTmp && lcl_IsContent(pTmp) && nActLevel < static_cast(pTmp->GetUserData())->GetOutlineLevel()) @@ -2589,7 +2589,7 @@ void SwContentTree::ExecCommand(const OUString& rCmd, bool bOutlineWithChildren) { nDest = static_cast(pTmp->GetUserData())->GetOutlinePos(); const auto nLevel = static_cast(pTmp->GetUserData())->GetOutlineLevel(); - // account for selected entries' decendent lineage + // account for selected entries' descendent lineage pTmp = Next(pTmp); while (pTmp && lcl_IsContent(pTmp) && nLevel < static_cast(pTmp->GetUserData())->GetOutlineLevel()) -- cgit