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

Andrea Gelmini andrea.gelmini at gelma.net
Sun Nov 5 16:07:47 UTC 2017


 sw/qa/extras/ooxmlexport/ooxmlexport10.cxx   |    2 +-
 sw/source/filter/ww8/docxattributeoutput.cxx |    4 ++--
 sw/source/filter/ww8/ww8atr.cxx              |    2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

New commits:
commit 55574560dd9dcebcd5794b23fe3c564d2a35decb
Author: Andrea Gelmini <andrea.gelmini at gelma.net>
Date:   Sun Nov 5 16:26:32 2017 +0100

    Fix typos
    
    Change-Id: I6338ff36670b54ea69a959674239b4ba3029a5a3
    Reviewed-on: https://gerrit.libreoffice.org/44328
    Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>
    Tested-by: Julien Nabet <serval2412 at yahoo.fr>

diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport10.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport10.cxx
index a4265728e0ff..913b09b6257f 100644
--- a/sw/qa/extras/ooxmlexport/ooxmlexport10.cxx
+++ b/sw/qa/extras/ooxmlexport/ooxmlexport10.cxx
@@ -1276,7 +1276,7 @@ DECLARE_OOXMLEXPORT_TEST( testTableCrossReference, "table_cross_reference.odt" )
                 CPPUNIT_ASSERT_EQUAL(sal_Int16(0), nValue);
                 break;
             }
-            // Above / bellow reference
+            // Above / below reference
             case 6:
             {
                 CPPUNIT_ASSERT(xServiceInfo->supportsService("com.sun.star.text.TextField.GetReference"));
diff --git a/sw/source/filter/ww8/docxattributeoutput.cxx b/sw/source/filter/ww8/docxattributeoutput.cxx
index 4bf1b1c3dc27..b9a0095fa484 100644
--- a/sw/source/filter/ww8/docxattributeoutput.cxx
+++ b/sw/source/filter/ww8/docxattributeoutput.cxx
@@ -596,7 +596,7 @@ void DocxAttributeOutput::EndParagraph( ww8::WW8TableNodeInfoInner::Pointer_t pT
     if( !m_rExport.SdrExporter().IsDMLAndVMLDrawingOpen() )
         m_bParagraphOpened = false;
 
-    // Clear gererated bookmarks
+    // Clear generated bookmarks
     m_aBookmarksWithPosStart.clear();
     m_aBookmarksWithPosEnd.clear();
 
@@ -7214,7 +7214,7 @@ void DocxAttributeOutput::GenerateBookmarksForSequenceField(const SwTextNode& rN
                                 // If we have a reference to the current sequence field
                                 if(pRefField->GetSeqNo() == nSeqFieldNumber && pRefField->GetSetRefName() == sObjectName)
                                 {
-                                    // Need to create a seperate run for separator character
+                                    // Need to create a separate run for separator character
                                     SwWW8AttrIter aLocalAttrIter( m_rExport, rNode );
                                     const OUString aText = rNode.GetText();
                                     const sal_Int32 nCategoryStart = aText.indexOf(pRefField->GetSetRefName());
diff --git a/sw/source/filter/ww8/ww8atr.cxx b/sw/source/filter/ww8/ww8atr.cxx
index ad4c300b0350..51ef08a2a21e 100644
--- a/sw/source/filter/ww8/ww8atr.cxx
+++ b/sw/source/filter/ww8/ww8atr.cxx
@@ -2821,7 +2821,7 @@ void AttributeOutputBase::TextField( const SwFormatField& rField )
                             case REF_ONLYSEQNO:
                                     sName += "_number_only";
                                     break;
-                            default: // Ingore other types of reference fields
+                            default: // Ignore other types of reference fields
                                     eField = ww::eNONE;
                                     break;
                         }


More information about the Libreoffice-commits mailing list