sd/source/ui/dlg/sdtreelb.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit be12f60b1055292ac655e53f4fb56567b5c15970 Author: Andrea Gelmini <andrea.gelm...@gelma.net> AuthorDate: Mon Nov 21 11:14:44 2022 +0100 Commit: Julien Nabet <serval2...@yahoo.fr> CommitDate: Mon Nov 21 12:01:54 2022 +0100 Fix typo Change-Id: Ie1ed42bed5ff91dd39136be11bf365e737853c6c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143021 Reviewed-by: Julien Nabet <serval2...@yahoo.fr> Tested-by: Julien Nabet <serval2...@yahoo.fr> diff --git a/sd/source/ui/dlg/sdtreelb.cxx b/sd/source/ui/dlg/sdtreelb.cxx index a90a76adbee2..da6a7182ef2a 100644 --- a/sd/source/ui/dlg/sdtreelb.cxx +++ b/sd/source/ui/dlg/sdtreelb.cxx @@ -508,7 +508,7 @@ sal_Int8 SdPageObjsTLVDropTarget::AcceptDrop(const AcceptDropEvent& rEvt) if (m_rTreeView.get_iter_depth(*xSource) == 0) return DND_ACTION_NONE; - // disallow when the source is the parent or ancestoral parent of the target + // disallow when the source is the parent or ancestral parent of the target std::unique_ptr<weld::TreeIter> xTargetParent(m_rTreeView.make_iterator(xTarget.get())); while (m_rTreeView.get_iter_depth(*xTargetParent) > 1) { @@ -581,7 +581,7 @@ sal_Int8 SdPageObjsTLVDropTarget::ExecuteDrop( const ExecuteDropEvent& rEvt ) if (m_rTreeView.iter_compare(*xSourceParent, *xTargetParent) == 0 && nIterCompare < 0) nTargetPos = m_rTreeView.get_iter_index_in_parent(*xTarget); - // Remove the source object from soure parent list and insert it in the target parent list. + // Remove the source object from source parent list and insert it in the target parent list. SdrObject* pSourceParentObject = weld::fromId<SdrObject*>(m_rTreeView.get_id(*xSourceParent)); SdrObject* pTargetParentObject = weld::fromId<SdrObject*>(m_rTreeView.get_id(*xTargetParent));