[Libreoffice-commits] core.git: sw/source

Andrea Gelmini (via logerrit) logerrit at kemper.freedesktop.org
Sun Aug 2 08:21:14 UTC 2020


 sw/source/filter/ww8/ww8par6.cxx                |    2 +-
 sw/source/uibase/docvw/FrameControlsManager.cxx |    2 +-
 sw/source/uibase/utlui/content.cxx              |   10 +++++-----
 3 files changed, 7 insertions(+), 7 deletions(-)

New commits:
commit 7b78aaf0176d527c12fcbdd6d755cf98d7330c0c
Author:     Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Fri Jul 31 17:02:33 2020 +0200
Commit:     Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Sun Aug 2 10:20:35 2020 +0200

    Fix typos
    
    Change-Id: I90c9ecdaf262fe4e2d84af78b575a00c16634a7a
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99890
    Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>
    Tested-by: Jenkins

diff --git a/sw/source/filter/ww8/ww8par6.cxx b/sw/source/filter/ww8/ww8par6.cxx
index a5ab4e083db2..de77fa650ca8 100644
--- a/sw/source/filter/ww8/ww8par6.cxx
+++ b/sw/source/filter/ww8/ww8par6.cxx
@@ -2920,7 +2920,7 @@ void SwWW8ImplReader::Read_Symbol(sal_uInt16, const sal_uInt8* pData, short nLen
     }
     else
     {
-        // Make new Font-Attribut
+        // Make new Font-Attribute
         // (will be closed in SwWW8ImplReader::ReadChars() )
 
         //Will not be added to the charencoding stack, for styles the real
diff --git a/sw/source/uibase/docvw/FrameControlsManager.cxx b/sw/source/uibase/docvw/FrameControlsManager.cxx
index 63bca779d473..9362095e670f 100644
--- a/sw/source/uibase/docvw/FrameControlsManager.cxx
+++ b/sw/source/uibase/docvw/FrameControlsManager.cxx
@@ -267,7 +267,7 @@ void SwFrameControlsManager::SetOutlineContentVisibilityButton(const SwTextNode*
 
     if (pWin->GetSymbol() == SymbolType::ARROW_RIGHT)
     {
-        // show expand button immediatly
+        // show expand button immediately
         pWin->Show();
         // outline content might not be folded, this happens on undo, outline moves, and folded outline content reveals
         SwOutlineNodes::size_type nPos;
diff --git a/sw/source/uibase/utlui/content.cxx b/sw/source/uibase/utlui/content.cxx
index e92cddc641ef..061c164cdf1e 100644
--- a/sw/source/uibase/utlui/content.cxx
+++ b/sw/source/uibase/utlui/content.cxx
@@ -1192,7 +1192,7 @@ static void lcl_SetOutlineContentEntriesSensitivities(SwContentTree* pThis, weld
         if (rNodes.GoNext(&aIdx) != pEndNd)
             bHasContent = true;
 
-        // decendants
+        // descendants
         if (!bHasContent && (rContentTree.iter_has_child(rEntry) || rContentTree.get_children_on_demand(rEntry)))
         {
             while (++nPos < rOutlineNodes.size() &&
@@ -2803,7 +2803,7 @@ void SwContentTree::ExecCommand(const OString& rCmd, bool bOutlineWithChildren)
                     for (SwOutlineNodes::size_type nPos = 0; nPos < rOutlineNds.size(); ++nPos)
                     {
                         SwNode* pNd = rOutlineNds[nPos];
-                        if (pNd->IsTextNode()) // should aways be true
+                        if (pNd->IsTextNode()) // should always be true
                         {
                             bool bOutlineContentVisibleAttr = true;
                             pNd->GetTextNode()->GetAttrOutlineContentVisible(bOutlineContentVisibleAttr);
@@ -3180,7 +3180,7 @@ void SwContentTree::MoveOutline(SwOutlineNodes::size_type nTargetPos)
         for (SwOutlineNodes::size_type nPos = 0; nPos < rOutlineNds.size(); ++nPos)
         {
             SwNode* pNd = rOutlineNds[nPos];
-            if (pNd->IsTextNode()) // should aways be true
+            if (pNd->IsTextNode()) // should always be true
             {
                 bool bOutlineContentVisibleAttr = true;
                 pNd->GetTextNode()->GetAttrOutlineContentVisible(bOutlineContentVisibleAttr);
@@ -3553,8 +3553,8 @@ void SwContentTree::ExecuteContextMenuAction(const OString& rSelectedPopupEntry)
     switch (nSelectedPopupEntry)
     {
         case 1512: // fold or unfold outline content of selected entry
-        case 1513: // fold outline content of selected entry and decendents
-        case 1514: // unfold outline content of selected entry and decendents
+        case 1513: // fold outline content of selected entry and descendants
+        case 1514: // unfold outline content of selected entry and descendants
         {
             m_pActiveShell->EnterStdMode();
             m_bIgnoreViewChange = true;


More information about the Libreoffice-commits mailing list