You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by ms...@apache.org on 2022/08/22 00:11:03 UTC

[openoffice] branch AOO41X updated: Fixed typos (TOOD -> TODO)

This is an automated email from the ASF dual-hosted git repository.

mseidel pushed a commit to branch AOO41X
in repository https://gitbox.apache.org/repos/asf/openoffice.git


The following commit(s) were added to refs/heads/AOO41X by this push:
     new 22ea211e5d Fixed typos (TOOD -> TODO)
22ea211e5d is described below

commit 22ea211e5d72c49b08cce5bd5c7b47abff7c407c
Author: mseidel <ms...@apache.org>
AuthorDate: Mon Aug 22 02:06:38 2022 +0200

    Fixed typos (TOOD -> TODO)
    
    (cherry picked from commit 00245318452aeba6d36c95ae7db8b7b7a688e764)
---
 main/odk/examples/java/Inspector/InspectorPane.java | 8 ++++----
 main/sw/source/core/layout/paintfrm.cxx             | 2 +-
 main/sw/source/ui/docvw/AnnotationWin.cxx           | 2 +-
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/main/odk/examples/java/Inspector/InspectorPane.java b/main/odk/examples/java/Inspector/InspectorPane.java
index a057c83c0b..61b90abd7c 100644
--- a/main/odk/examples/java/Inspector/InspectorPane.java
+++ b/main/odk/examples/java/Inspector/InspectorPane.java
@@ -466,9 +466,9 @@ import javax.swing.event.TreeWillExpandListener;
                     addPropertySetInfoSubNodes(oUnoPropertyNode);
                 }
                 else{
-                    //TOOD this code is redundant!!!
+                    // TODO this code is redundant!!!
                     if ( oUnoObject.getClass().isArray()){
-                        // TOODO probably we should provid a possibility to insert also non-primitive nodes
+                        // TODO probably we should provid a possibility to insert also non-primitive nodes
                         addPrimitiveValuesToTreeNode(oUnoPropertyNode, oUnoObject);
                     }
                     else{
@@ -517,7 +517,7 @@ import javax.swing.event.TreeWillExpandListener;
             else if (_oUnoNode.getNodeType() == XUnoNode.nOTHERS){
                 Object oUnoObject = _oUnoNode.getUnoObject();
                 if ( oUnoObject.getClass().isArray()){
-                    // TOODO probably we should provid a possibility to insert also non-primitive nodes
+                    // TODO probably we should provid a possibility to insert also non-primitive nodes
                      addPrimitiveValuesToTreeNode(_oUnoNode, oUnoObject);
                 }
                 else{
@@ -615,4 +615,4 @@ import javax.swing.event.TreeWillExpandListener;
             m_xDialogProvider.showPopUpMenu(_invoker, x, y);
         }
 }
-    
\ No newline at end of file
+    
diff --git a/main/sw/source/core/layout/paintfrm.cxx b/main/sw/source/core/layout/paintfrm.cxx
index bdc928d5f4..81d304e597 100644
--- a/main/sw/source/core/layout/paintfrm.cxx
+++ b/main/sw/source/core/layout/paintfrm.cxx
@@ -5476,7 +5476,7 @@ const sal_Int8 SwPageFrm::mnShadowPxWidth = 2;
 //IMPORTANT: if you change the rects here, also change SwPostItMgr::ScrollbarHit
 /*static*/void SwPageFrm::PaintNotesSidebar(const SwRect& _rPageRect, ViewShell* _pViewShell, sal_uInt16 nPageNum, bool bRight)
 {
-	//TOOD: cut out scrollbar area and arrows out of sidepane rect, otherwise it could flicker when pressing arrow buttons
+	//TODO: cut out scrollbar area and arrows out of sidepane rect, otherwise it could flicker when pressing arrow buttons
     if (!_pViewShell )
         return;
 
diff --git a/main/sw/source/ui/docvw/AnnotationWin.cxx b/main/sw/source/ui/docvw/AnnotationWin.cxx
index 143b0d045c..0102f633bd 100644
--- a/main/sw/source/ui/docvw/AnnotationWin.cxx
+++ b/main/sw/source/ui/docvw/AnnotationWin.cxx
@@ -225,7 +225,7 @@ void SwAnnotationWin::InitAnswer(OutlinerParaObject* pText)
     GetOutlinerView()->InsertText(aText,false);
 
     // insert old, selected text or "..."
-    // TOOD: iterate over all paragraphs, not only first one to find out if it is empty
+    // TODO: iterate over all paragraphs, not only first one to find out if it is empty
     if (pText->GetTextObject().GetText(0) != String(rtl::OUString::createFromAscii("")))
         GetOutlinerView()->GetEditView().InsertText(pText->GetTextObject());
     else