summaryrefslogtreecommitdiff
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
parent4361b394cd707b0fbcdcdf7f7f3258b76b840f08 (diff)
Fix typos
Change-Id: I09ea15a845bdae45453983862edbcbe9550cce86 Reviewed-on: https://gerrit.libreoffice.org/72942 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
-rw-r--r--sd/qa/unit/tiledrendering/tiledrendering.cxx2
-rw-r--r--sw/source/uibase/utlui/content.cxx4
2 files changed, 3 insertions, 3 deletions
diff --git a/sd/qa/unit/tiledrendering/tiledrendering.cxx b/sd/qa/unit/tiledrendering/tiledrendering.cxx
index 80bd4e155cd3..c5f00e39c8d0 100644
--- a/sd/qa/unit/tiledrendering/tiledrendering.cxx
+++ b/sd/qa/unit/tiledrendering/tiledrendering.cxx
@@ -1974,7 +1974,7 @@ void SdTiledRenderingTest::testLanguageAllText()
comphelper::LibreOfficeKit::setActive();
createDoc("language-all-text.odp");
- // Set tha language to English for all text.
+ // Set the language to English for all text.
uno::Sequence<beans::PropertyValue> aArgs = comphelper::InitPropertySequence({
{ "Language", uno::makeAny(OUString("Default_English (USA)")) },
});
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())