[Libreoffice-commits] core.git: editeng/source odk/examples sw/inc sw/source

Julien Nabet (via logerrit) logerrit at kemper.freedesktop.org
Tue Jul 7 15:10:50 UTC 2020


 editeng/source/misc/svxacorr.cxx                     |    2 +-
 odk/examples/DevelopersGuide/Text/TextDocuments.java |    2 +-
 sw/inc/shellio.hxx                                   |    2 +-
 sw/source/core/unocore/unoobj.cxx                    |    2 +-
 sw/source/filter/ascii/ascatr.cxx                    |    2 +-
 sw/source/filter/writer/writer.cxx                   |    2 +-
 6 files changed, 6 insertions(+), 6 deletions(-)

New commits:
commit e596785580cbc7e8f4055ae495de48e6ecd0c022
Author:     Julien Nabet <serval2412 at yahoo.fr>
AuthorDate: Tue Jul 7 13:01:40 2020 +0200
Commit:     Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Tue Jul 7 17:10:03 2020 +0200

    Typo: pargraph->paragraph
    
    Change-Id: I7749951d829eb8aaeacdca0fd66d41cf9d6a1613
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98251
    Tested-by: Jenkins
    Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>

diff --git a/editeng/source/misc/svxacorr.cxx b/editeng/source/misc/svxacorr.cxx
index 9fc509483fa0..b51d34e6173d 100644
--- a/editeng/source/misc/svxacorr.cxx
+++ b/editeng/source/misc/svxacorr.cxx
@@ -1722,7 +1722,7 @@ OUString SvxAutoCorrect::GetPrevAutoCorrWord(SvxAutoCorrDoc const& rDoc, const O
     // auto.
     sal_Int32 nCapLttrPos = nPos+1;        // on the 1st Character
     if( !nPos && !IsWordDelim( rTxt[ 0 ]))
-        --nCapLttrPos;          // Beginning of pargraph and no Blank!
+        --nCapLttrPos;          // Beginning of paragraph and no Blank!
 
     while( lcl_IsInAsciiArr( sImplSttSkipChars, rTxt[ nCapLttrPos ]) )
         if( ++nCapLttrPos >= nEnd )
diff --git a/odk/examples/DevelopersGuide/Text/TextDocuments.java b/odk/examples/DevelopersGuide/Text/TextDocuments.java
index 20e9f7a58e72..1a1a82762612 100644
--- a/odk/examples/DevelopersGuide/Text/TextDocuments.java
+++ b/odk/examples/DevelopersGuide/Text/TextDocuments.java
@@ -1591,7 +1591,7 @@ public class TextDocuments {
             // Insert a new paragraph
             mxDocText.insertControlCharacter (
                 mxDocCursor, ControlCharacter.PARAGRAPH_BREAK, false );
-            // And select the new pargraph
+            // And select the new paragraph
             xParaCursor.gotoPreviousParagraph ( true );
 
             // Create a new Text Section and access its XNamed interface
diff --git a/sw/inc/shellio.hxx b/sw/inc/shellio.hxx
index 8d1b4776c828..dd6183444fe8 100644
--- a/sw/inc/shellio.hxx
+++ b/sw/inc/shellio.hxx
@@ -417,7 +417,7 @@ public:
     bool m_bASCII_ParaAsBlank : 1;
     bool m_bASCII_NoLastLineEnd : 1;
     bool m_bUCS2_WithStartChar : 1;
-    bool m_bExportPargraphNumbering : 1;
+    bool m_bExportParagraphNumbering : 1;
 
     bool m_bBlock : 1;
     bool m_bOrganizerMode : 1;
diff --git a/sw/source/core/unocore/unoobj.cxx b/sw/source/core/unocore/unoobj.cxx
index 5b6a296c6065..236481cb03b2 100644
--- a/sw/source/core/unocore/unoobj.cxx
+++ b/sw/source/core/unocore/unoobj.cxx
@@ -144,7 +144,7 @@ void SwUnoCursorHelper::GetTextFromPam(SwPaM & rPam, OUString & rBuffer,
 
     SwWriter aWriter( aStream, rPam );
     xWrt->m_bASCII_NoLastLineEnd = true;
-    xWrt->m_bExportPargraphNumbering = false;
+    xWrt->m_bExportParagraphNumbering = false;
     SwAsciiOptions aOpt = xWrt->GetAsciiOptions();
     aOpt.SetCharSet( RTL_TEXTENCODING_UNICODE );
     xWrt->SetAsciiOptions( aOpt );
diff --git a/sw/source/filter/ascii/ascatr.cxx b/sw/source/filter/ascii/ascatr.cxx
index 3445d7fcdff7..ec8129eab961 100644
--- a/sw/source/filter/ascii/ascatr.cxx
+++ b/sw/source/filter/ascii/ascatr.cxx
@@ -264,7 +264,7 @@ static Writer& OutASC_SwTextNode( Writer& rWrt, SwContentNode& rNode )
     }
 
     const SwNumRule* pNumRule = rNd.GetNumRule();
-    if (pNumRule && !nStrPos && rWrt.m_bExportPargraphNumbering && !bIsOneParagraph)
+    if (pNumRule && !nStrPos && rWrt.m_bExportParagraphNumbering && !bIsOneParagraph)
     {
         bool bIsOutlineNumRule = pNumRule == rNd.GetDoc()->GetOutlineNumRule();
 
diff --git a/sw/source/filter/writer/writer.cxx b/sw/source/filter/writer/writer.cxx
index 5be2118a284b..743ce8bd1ebb 100644
--- a/sw/source/filter/writer/writer.cxx
+++ b/sw/source/filter/writer/writer.cxx
@@ -123,7 +123,7 @@ Writer::Writer()
     m_bASCII_NoLastLineEnd = m_bASCII_ParaAsBlank = m_bASCII_ParaAsCR =
         m_bWriteClipboardDoc = m_bWriteOnlyFirstTable = m_bBlock =
         m_bOrganizerMode = false;
-    m_bExportPargraphNumbering = true;
+    m_bExportParagraphNumbering = true;
 }
 
 Writer::~Writer()


More information about the Libreoffice-commits mailing list