summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2019-05-24 23:02:46 +0000
committerJulien Nabet <serval2412@yahoo.fr>2019-05-25 09:27:26 +0200
commit9741ec7b204b8760228cb1a325c6e8ea3a47cce0 (patch)
treeef5cab61446642b02ed5e89a8557dd499fd746d9 /sw
parent4361b394cd707b0fbcdcdf7f7f3258b76b840f08 (diff)
Fix typos
Change-Id: I09ea15a845bdae45453983862edbcbe9550cce86 Reviewed-on: https://gerrit.libreoffice.org/72942 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'sw')
-rw-r--r--sw/source/uibase/utlui/content.cxx4
1 files changed, 2 insertions, 2 deletions
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<SwOutlineContent*>(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<SwOutlineContent*>(pTmp->GetUserData())->GetOutlineLevel())
@@ -2589,7 +2589,7 @@ void SwContentTree::ExecCommand(const OUString& rCmd, bool bOutlineWithChildren)
{
nDest = static_cast<SwOutlineContent*>(pTmp->GetUserData())->GetOutlinePos();
const auto nLevel = static_cast<SwOutlineContent*>(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<SwOutlineContent*>(pTmp->GetUserData())->GetOutlineLevel())