Kaydet (Commit) 9741ec7b authored tarafından Andrea Gelmini's avatar Andrea Gelmini Kaydeden (comit) Julien Nabet

Fix typos

Change-Id: I09ea15a845bdae45453983862edbcbe9550cce86
Reviewed-on: https://gerrit.libreoffice.org/72942
Tested-by: Jenkins
Reviewed-by: 's avatarJulien Nabet <serval2412@yahoo.fr>
üst 4361b394
...@@ -1974,7 +1974,7 @@ void SdTiledRenderingTest::testLanguageAllText() ...@@ -1974,7 +1974,7 @@ void SdTiledRenderingTest::testLanguageAllText()
comphelper::LibreOfficeKit::setActive(); comphelper::LibreOfficeKit::setActive();
createDoc("language-all-text.odp"); 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({ uno::Sequence<beans::PropertyValue> aArgs = comphelper::InitPropertySequence({
{ "Language", uno::makeAny(OUString("Default_English (USA)")) }, { "Language", uno::makeAny(OUString("Default_English (USA)")) },
}); });
......
...@@ -2522,7 +2522,7 @@ void SwContentTree::ExecCommand(const OUString& rCmd, bool bOutlineWithChildren) ...@@ -2522,7 +2522,7 @@ void SwContentTree::ExecCommand(const OUString& rCmd, bool bOutlineWithChildren)
else if (nActLevel >= static_cast<SwOutlineContent*>(pEntry->GetUserData())->GetOutlineLevel()) else if (nActLevel >= static_cast<SwOutlineContent*>(pEntry->GetUserData())->GetOutlineLevel())
{ {
// nDest needs adjusted if there are selected entries (including ancestral lineage) // 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); SvTreeListEntry* pTmp = Prev(pEntry);
while (pTmp && lcl_IsContent(pTmp) && while (pTmp && lcl_IsContent(pTmp) &&
nActLevel < static_cast<SwOutlineContent*>(pTmp->GetUserData())->GetOutlineLevel()) nActLevel < static_cast<SwOutlineContent*>(pTmp->GetUserData())->GetOutlineLevel())
...@@ -2589,7 +2589,7 @@ void SwContentTree::ExecCommand(const OUString& rCmd, bool bOutlineWithChildren) ...@@ -2589,7 +2589,7 @@ void SwContentTree::ExecCommand(const OUString& rCmd, bool bOutlineWithChildren)
{ {
nDest = static_cast<SwOutlineContent*>(pTmp->GetUserData())->GetOutlinePos(); nDest = static_cast<SwOutlineContent*>(pTmp->GetUserData())->GetOutlinePos();
const auto nLevel = static_cast<SwOutlineContent*>(pTmp->GetUserData())->GetOutlineLevel(); const auto nLevel = static_cast<SwOutlineContent*>(pTmp->GetUserData())->GetOutlineLevel();
// account for selected entries' decendent lineage // account for selected entries' descendent lineage
pTmp = Next(pTmp); pTmp = Next(pTmp);
while (pTmp && lcl_IsContent(pTmp) && while (pTmp && lcl_IsContent(pTmp) &&
nLevel < static_cast<SwOutlineContent*>(pTmp->GetUserData())->GetOutlineLevel()) nLevel < static_cast<SwOutlineContent*>(pTmp->GetUserData())->GetOutlineLevel())
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment