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

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


The following commit(s) were added to refs/heads/AOO42X by this push:
     new e3e50c8737 Fix typo (rigth -> right) and some more
e3e50c8737 is described below

commit e3e50c873746385c569cebc7e8db90a96fe96c1c
Author: mseidel <[email protected]>
AuthorDate: Sat Sep 6 00:31:41 2025 +0200

    Fix typo (rigth -> right) and some more
    
    (cherry picked from commit 083d9fe7b3d2dda5c3695550b2c36f86003acbfa)
---
 .../qadevOOo/tests/java/ifc/connection/_XAcceptor.java |  4 +---
 main/starmath/inc/dialog.hxx                           |  9 ++++-----
 main/starmath/source/dialog.cxx                        |  6 +++---
 main/sw/source/core/layout/laycache.cxx                |  8 +++-----
 main/sw/source/filter/ww8/rtfattributeoutput.cxx       | 18 +++++++++---------
 5 files changed, 20 insertions(+), 25 deletions(-)

diff --git a/main/qadevOOo/tests/java/ifc/connection/_XAcceptor.java 
b/main/qadevOOo/tests/java/ifc/connection/_XAcceptor.java
index 782910d2c2..8ed4698868 100644
--- a/main/qadevOOo/tests/java/ifc/connection/_XAcceptor.java
+++ b/main/qadevOOo/tests/java/ifc/connection/_XAcceptor.java
@@ -19,8 +19,6 @@
  *
  *************************************************************/
 
-
-
 package ifc.connection;
 
 import java.io.PrintWriter;
@@ -250,7 +248,7 @@ public class _XAcceptor extends MultiMethodTest {
                             acception.ex instanceof
                             com.sun.star.connection.ConnectionSetupException) {
 
-                            log.println("Rigth exception was thrown when 
trying"+
+                            log.println("Right exception was thrown when 
trying"+
                             " to listen on the same port") ;
                         } else {
                             result = false ;
diff --git a/main/starmath/inc/dialog.hxx b/main/starmath/inc/dialog.hxx
index 383e25e2dd..2c5eba7d88 100644
--- a/main/starmath/inc/dialog.hxx
+++ b/main/starmath/inc/dialog.hxx
@@ -19,7 +19,6 @@
  *
  *************************************************************/
 
-
 #ifndef DIALOG_HXX
 #define DIALOG_HXX
 
@@ -433,8 +432,8 @@ class SmSymDefineDialog : public ModalDialog
     PushButton      aChangeBtn;
     PushButton      aDeleteBtn;
     FixedImage      aRightArrow;
-    Image           aRigthArrow_Im;
-    Image           aRigthArrow_Im_HC;     // hi-contrast version
+    Image           aRightArrow_Im;
+    Image           aRightArrow_Im_HC;     // hi-contrast version
 
     SmSymbolManager     aSymbolMgrCopy,
                        &rSymbolMgr;
@@ -515,6 +514,6 @@ public:
        void            SelectChar(xub_Unicode cChar);
 };
 
-
-
 #endif
+
+/* vim: set noet sw=4 ts=4: */
diff --git a/main/starmath/source/dialog.cxx b/main/starmath/source/dialog.cxx
index 84b2511d4f..d502f5c3b2 100644
--- a/main/starmath/source/dialog.cxx
+++ b/main/starmath/source/dialog.cxx
@@ -2058,8 +2058,8 @@ SmSymDefineDialog::SmSymDefineDialog(Window * pParent,
     aChangeBtn          (this, SmResId(2)),
     aDeleteBtn          (this, SmResId(3)),
     aRightArrow         (this, SmResId(1)),
-    aRigthArrow_Im      (SmResId(1)),
-    aRigthArrow_Im_HC   (SmResId(2)),   // hi-contrast version
+    aRightArrow_Im      (SmResId(1)),
+    aRightArrow_Im_HC   (SmResId(2)),   // hi-contrast version
     rSymbolMgr          (rMgr),
     pSubsetMap          (NULL),
     pFontList           (NULL)
@@ -2136,7 +2136,7 @@ void SmSymDefineDialog::InitColor_Impl()
     aSymbolDisplay   .SetBackground( aWall );
     aSymbolDisplay   .SetTextColor( aTxtColor );
 
-    const Image &rArrowRight = bHighContrast ? aRigthArrow_Im_HC : 
aRigthArrow_Im;
+    const Image &rArrowRight = bHighContrast ? aRightArrow_Im_HC : 
aRightArrow_Im;
     aRightArrow.SetImage( rArrowRight );
 }
 
diff --git a/main/sw/source/core/layout/laycache.cxx 
b/main/sw/source/core/layout/laycache.cxx
index edf2e32574..f81d7aeedc 100644
--- a/main/sw/source/core/layout/laycache.cxx
+++ b/main/sw/source/core/layout/laycache.cxx
@@ -19,12 +19,9 @@
  *
  *************************************************************/
 
-
-
 // MARKER(update_precomp.py): autogen include statement, do not remove
 #include "precompiled_sw.hxx"
 
-
 #include <hintids.hxx>
 #include <editeng/brkitem.hxx>
 #include <tools/stream.hxx>
@@ -64,7 +61,6 @@
 
 #include <set>
 
-
 using namespace ::com::sun::star;
 // <--
 
@@ -499,7 +495,7 @@ SwActualSection::SwActualSection( SwActualSection *pUp,
 /*-----------------28.5.2001 11:09------------------
  * SwLayHelper
  *  is the helper class, which utilizes the layout cache information
- *  to distribute the document content to the rigth pages.
+ *  to distribute the document content to the right pages.
  * It's used by the _InsertCnt(..)-function.
  * If there's no layout cache, the distribution to the pages is more
  * a guess, but a guess with statistical background.
@@ -1392,3 +1388,5 @@ void SwLayCacheIoImpl::CloseFlagRec()
                        pStream->Seek( nFlagRecEnd );
        }
 }
+
+/* vim: set noet sw=4 ts=4: */
diff --git a/main/sw/source/filter/ww8/rtfattributeoutput.cxx 
b/main/sw/source/filter/ww8/rtfattributeoutput.cxx
index b30a0eeb6e..d49fe06ba5 100644
--- a/main/sw/source/filter/ww8/rtfattributeoutput.cxx
+++ b/main/sw/source/filter/ww8/rtfattributeoutput.cxx
@@ -412,8 +412,8 @@ void RtfAttributeOutput::RTLAndCJKState( bool bIsRTL, 
sal_uInt16 nScript )
        You would have thought that
        m_rExport.Strm() << (bIsRTL ? OOO_STRING_SVTOOLS_RTF_RTLCH : 
OOO_STRING_SVTOOLS_RTF_LTRCH); would be sufficient here ,
        but looks like word needs to see the other directional token to be
-       satisified that all is kosher, otherwise it seems in ver 2003 to go and
-       semi-randomlyly stick strike through about the place. Perhaps
+       satisfied that all is kosher, otherwise it seems in ver 2003 to go and
+       semi-randomly stick strike through about the place. Perhaps
        strikethrough is some ms developers "something is wrong signal" 
debugging
        code that we're triggering ?
        */
@@ -467,7 +467,7 @@ void RtfAttributeOutput::StartParagraph( 
ww8::WW8TableNodeInfo::Pointer_t pTextN
         if ( nRow == 0 && nCell == 0 )
         {
             // Do we have to start the table?
-            // [If we are at the rigth depth already, it means that we
+            // [If we are at the right depth already, it means that we
             // continue the table cell]
             sal_uInt32 nCurrentDepth = pTextNodeInfo->getDepth();
 
@@ -872,7 +872,7 @@ void RtfAttributeOutput::TableDefaultBorders( 
ww8::WW8TableNodeInfoInner::Pointe
         {
             OOO_STRING_SVTOOLS_RTF_CLBRDRT, OOO_STRING_SVTOOLS_RTF_CLBRDRL, 
OOO_STRING_SVTOOLS_RTF_CLBRDRB, OOO_STRING_SVTOOLS_RTF_CLBRDRR
         };
-        //Yes left and top are swapped with eachother for cell padding! Because
+        //Yes left and top are swapped with each other for cell padding! 
Because
         //that's what the thunderingly annoying rtf export/import word xp does.
         static const char* aCellPadNames[] =
         {
@@ -1013,7 +1013,7 @@ void RtfAttributeOutput::TableNodeInfoInner( 
ww8::WW8TableNodeInfoInner::Pointer
     OSL_TRACE("%s", OSL_THIS_FUNC);
 
     // This is called when the nested table ends in a cell, and there's no
-    // paragraph benhind that; so we must check for the ends of cell, rows,
+    // paragraph behind that; so we must check for the ends of cell, rows,
     // and tables
     // ['true' to write an empty paragraph, MS Word insists on that]
     FinishTableRowCell( pNodeInfoInner, true );
@@ -1626,7 +1626,7 @@ void RtfAttributeOutput::WriteField_Impl( const SwField* 
pFld, ww::eField /*eTyp
 {
     OSL_TRACE("%s", OSL_THIS_FUNC);
 
-    // NEEDSWORK this has beeen tested only with page numbers
+    // NEEDSWORK this has been tested only with page numbers
     m_aRunText.getOStringBuffer().append("{" OOO_STRING_SVTOOLS_RTF_FIELD);
     m_aRunText.getOStringBuffer().append("{" OOO_STRING_SVTOOLS_RTF_IGNORE 
OOO_STRING_SVTOOLS_RTF_FLDINST " ");
     m_aRunText.getOStringBuffer().append(m_rExport.OutString(rFldCmd, 
m_rExport.eCurrentEncoding));
@@ -3530,7 +3530,7 @@ void ExportPICT(
         rBuffer.append(RtfExport::sNewLine);
 
         // append binary data for later streaming
-        // anotation: it is okay to append further to the remembered rBuffer 
since
+        // annotation: it is okay to append further to the remembered rBuffer 
since
         // the address of this basic buffer at MultiBuffer does not change; it 
will
         // be reset to length zero, though, after this call
         rTarget.appendHexData(pGraphicAry, nSize);
@@ -3705,7 +3705,7 @@ void RtfAttributeOutput::FlyFrameGraphic( const 
SwFlyFrmFmt* pFlyFrmFmt, const S
     /*
        If the graphic is not of type WMF then we will have to store two
        graphics, one in the native format wrapped in shppict, and the other in
-       the wmf format wrapped in nonshppict, so as to keep wordpad happy. If 
its
+       the wmf format wrapped in nonshppict, so as to keep wordpad happy. If 
it's
        a wmf already then we don't need any such wrapping
        */
     bool bIsWMF = (const sal_Char*)pBLIPType == (const 
sal_Char*)OOO_STRING_SVTOOLS_RTF_WMETAFILE ? true : false;
@@ -3747,4 +3747,4 @@ void RtfAttributeOutput::FlyFrameGraphic( const 
SwFlyFrmFmt* pFlyFrmFmt, const S
     m_aRunText.getOStringBuffer().append(m_rExport.sNewLine);
 }
 
-/* vi:set shiftwidth=4 expandtab: */
+/* vim: set noet sw=4 ts=4: */

Reply via email to