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

Andrea Gelmini (via logerrit) logerrit at kemper.freedesktop.org
Sun Aug 23 10:49:48 UTC 2020


 sw/source/filter/ww8/ww8par6.cxx |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 46911d142952a4bf01d5b82816ffd8ab3da7710e
Author:     Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Sat Aug 22 19:28:29 2020 +0200
Commit:     Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Sun Aug 23 12:49:11 2020 +0200

    Fix typo in code
    
    Change-Id: I7453c43aad73331c2c7d5a4ca0b36870a18b686a
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101207
    Tested-by: Jenkins
    Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>

diff --git a/sw/source/filter/ww8/ww8par6.cxx b/sw/source/filter/ww8/ww8par6.cxx
index de77fa650ca8..8ca82678a206 100644
--- a/sw/source/filter/ww8/ww8par6.cxx
+++ b/sw/source/filter/ww8/ww8par6.cxx
@@ -2957,8 +2957,8 @@ SwWW8StyInf *SwWW8ImplReader::GetStyle(sal_uInt16 nColl) const
 // contour and shadow
 void SwWW8ImplReader::Read_BoldUsw( sal_uInt16 nId, const sal_uInt8* pData, short nLen )
 {
-    const int nContigiousWestern = 8;
-    const int nWestern = nContigiousWestern + 1;
+    const int nContiguousWestern = 8;
+    const int nWestern = nContiguousWestern + 1;
     const int nEastern = 2;
     const int nCTL = 2;
     const int nIds = nWestern + nEastern + nCTL;
@@ -2981,7 +2981,7 @@ void SwWW8ImplReader::Read_BoldUsw( sal_uInt16 nId, const sal_uInt8* pData, shor
     sal_uInt8 nI;
     // the attribute number for "double strike-through" breaks rank
     if (NS_sprm::CFDStrike::val == nId)
-        nI = nContigiousWestern;               // The out of sequence western id
+        nI = nContiguousWestern;               // The out of sequence western id
     else
     {
         // The contiguous western ids


More information about the Libreoffice-commits mailing list