[Libreoffice-commits] core.git: desktop/qa sw/source
Andrea Gelmini (via logerrit)
logerrit at kemper.freedesktop.org
Thu Sep 23 03:29:53 UTC 2021
desktop/qa/desktop_lib/test_desktop_lib.cxx | 2 +-
sw/source/uibase/utlui/content.cxx | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 84e61754bfe2f07de412c24513774900702a48a2
Author: Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Wed Sep 22 22:10:23 2021 +0200
Commit: Adolfo Jayme Barrientos <fitojb at ubuntu.com>
CommitDate: Thu Sep 23 05:29:21 2021 +0200
Fix typos
Change-Id: I01c46b864e296d4094f0a1579fdc64066eacc386
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122496
Tested-by: Jenkins
Reviewed-by: Adolfo Jayme Barrientos <fitojb at ubuntu.com>
diff --git a/desktop/qa/desktop_lib/test_desktop_lib.cxx b/desktop/qa/desktop_lib/test_desktop_lib.cxx
index 680e48228d10..d827124a4e52 100644
--- a/desktop/qa/desktop_lib/test_desktop_lib.cxx
+++ b/desktop/qa/desktop_lib/test_desktop_lib.cxx
@@ -3299,7 +3299,7 @@ void DesktopLOKTest::testMultiViewTableSelection()
Scheduler::ProcessEventsToIdle();
// View1 should not get any table selection messages.
CPPUNIT_ASSERT_EQUAL(0, aView1.m_nTableSelectionCount);
- // View2 will first get table selection of Table1, then emty selection, and finally on 7th down arrow keypress,
+ // View2 will first get table selection of Table1, then empty selection, and finally on 7th down arrow keypress,
// it will get table-selection of Table2. So in total it should get 3 table selections.
CPPUNIT_ASSERT_EQUAL(3, aView2.m_nTableSelectionCount);
CPPUNIT_ASSERT(!aView2.m_bEmptyTableSelection);
diff --git a/sw/source/uibase/utlui/content.cxx b/sw/source/uibase/utlui/content.cxx
index fb8667ead94a..ff17d753e13e 100644
--- a/sw/source/uibase/utlui/content.cxx
+++ b/sw/source/uibase/utlui/content.cxx
@@ -3406,7 +3406,7 @@ void SwContentTree::UpdateTracking()
m_pActiveShell->GetContentAtPos(m_pActiveShell->GetCursorDocPos(), aContentAtPos) &&
!(m_bIsRoot && m_nRootType != ContentTypeId::URLFIELD))
{
- // Because hyperlink item names do not need to be unique, finding the corrosponding item
+ // Because hyperlink item names do not need to be unique, finding the corresponding item
// in the tree by name may result in incorrect selection. Find the item in the tree by
// comparing the SwTextINetFormat pointer at the document cursor position to that stored
// in the item SwURLFieldContent.
More information about the Libreoffice-commits
mailing list