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

Andrea Gelmini (via logerrit) logerrit at kemper.freedesktop.org
Mon Aug 5 15:09:52 UTC 2019


 sw/source/core/docnode/ndtbl.cxx            |    2 +-
 sw/source/core/edit/edglss.cxx              |    2 +-
 sw/source/core/edit/editsh.cxx              |    4 ++--
 sw/source/core/inc/flyfrm.hxx               |    2 +-
 sw/source/core/inc/ftnfrm.hxx               |    2 +-
 sw/source/core/inc/swcache.hxx              |    8 ++++----
 sw/source/core/inc/tblrwcl.hxx              |    2 +-
 writerfilter/documentation/doxygen/Doxyfile |    2 +-
 writerfilter/source/ooxml/model.xml         |    2 +-
 9 files changed, 13 insertions(+), 13 deletions(-)

New commits:
commit 05ba4af68f0fbb6bb0fd7487588c98eca2355b62
Author:     Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Mon Aug 5 11:47:39 2019 +0200
Commit:     Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Mon Aug 5 17:09:05 2019 +0200

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

diff --git a/sw/source/core/docnode/ndtbl.cxx b/sw/source/core/docnode/ndtbl.cxx
index e71fb003bf9f..057ebdbb5ee5 100644
--- a/sw/source/core/docnode/ndtbl.cxx
+++ b/sw/source/core/docnode/ndtbl.cxx
@@ -2814,7 +2814,7 @@ void SwDoc::SetTabRows( const SwTabCols &rNew, bool bCurColOnly,
                                     pLine = pBox->GetUpper();
                                 if( pLine && pTextFrame ) // always for old table model
                                 {
-                                    // The new row height must not to be calculated from a overlapping box
+                                    // The new row height must not to be calculated from an overlapping box
                                     SwFormatFrameSize aNew( pLine->GetFrameFormat()->GetFrameSize() );
                                     const long nNewSize = aRectFnSet.GetHeight(pFrame->getFrameArea()) + nDiff;
                                     if( nNewSize != aNew.GetHeight() )
diff --git a/sw/source/core/edit/edglss.cxx b/sw/source/core/edit/edglss.cxx
index 2540672a9be3..807eaa3e19cb 100644
--- a/sw/source/core/edit/edglss.cxx
+++ b/sw/source/core/edit/edglss.cxx
@@ -282,7 +282,7 @@ void SwEditShell::GetSelectedText( OUString &rBuf, ParaBreakType nHndlParaBrk )
         SwReaderWriter::GetWriter( FILTER_TEXT, OUString(), xWrt );
         if( xWrt.is() )
         {
-            // write selected areas into a ASCII document
+            // write selected areas into an ASCII document
             SwWriter aWriter( aStream, *this);
             xWrt->SetShowProgress(false);
 
diff --git a/sw/source/core/edit/editsh.cxx b/sw/source/core/edit/editsh.cxx
index 2d4389b34722..603932d9ce10 100644
--- a/sw/source/core/edit/editsh.cxx
+++ b/sw/source/core/edit/editsh.cxx
@@ -726,7 +726,7 @@ void SwEditShell::GetINetAttrs( SwGetINetAttrs& rArr )
     }
 }
 
-/// If the cursor is in a INetAttribute then it will be deleted completely (incl. hint text, the
+/// If the cursor is in an INetAttribute then it will be deleted completely (incl. hint text, the
 /// latter is needed for drag & drop)
 void SwEditShell::DelINetAttrWithText()
 {
@@ -820,7 +820,7 @@ void SwEditShell::SetNumberingRestart()
                             }
                             if (bIsNodeNum)
                             {
-                                // now set a the start value as attribute
+                                // now set the start value as attribute
                                 SwPosition aCurrentNode(*pNd);
                                 GetDoc()->SetNumRuleStart( aCurrentNode );
                             }
diff --git a/sw/source/core/inc/flyfrm.hxx b/sw/source/core/inc/flyfrm.hxx
index c44725f73a6b..b51fd502f951 100644
--- a/sw/source/core/inc/flyfrm.hxx
+++ b/sw/source/core/inc/flyfrm.hxx
@@ -224,7 +224,7 @@ public:
 
         definition found in /core/layout/paintfrm.cxx
 
-        @return true, if background color is transparent or a existing background
+        @return true, if background color is transparent or an existing background
         graphic is transparent.
     */
     bool IsBackgroundTransparent() const;
diff --git a/sw/source/core/inc/ftnfrm.hxx b/sw/source/core/inc/ftnfrm.hxx
index 3141980ad662..66dff1db3ea7 100644
--- a/sw/source/core/inc/ftnfrm.hxx
+++ b/sw/source/core/inc/ftnfrm.hxx
@@ -41,7 +41,7 @@ void RemoveFootnotesForNode(
 
 // There exists a special section on a page for footnotes. It's called
 // SwFootnoteContFrame. Each footnote is separated by a SwFootnoteFrame which contains
-// the paragraphs of a footnote. SwFootnoteFrame can be splitted and will then
+// the paragraphs of a footnote. SwFootnoteFrame can be split and will then
 // continue on another page.
 class SwFootnoteContFrame: public SwLayoutFrame
 {
diff --git a/sw/source/core/inc/swcache.hxx b/sw/source/core/inc/swcache.hxx
index b8aa145e3a3e..e2d5216d6212 100644
--- a/sw/source/core/inc/swcache.hxx
+++ b/sw/source/core/inc/swcache.hxx
@@ -28,7 +28,7 @@
  * If you access it by index, managing the index is the responsibility of
  * the cache user.
  *
- * The cached objects are derrived from the base class SwCacheObj.
+ * The cached objects are derived from the base class SwCacheObj.
  * In it, the cache objects are doubly-linked which allows for the use of
  * an LRU algorithm.
  *
@@ -127,7 +127,7 @@ public:
 
 /**
  * The Cache object base class
- * Users of the Cache must derrive a class from the SwCacheObj and store
+ * Users of the Cache must derive a class from the SwCacheObj and store
  * their payload there
  */
 class SwCacheObj
@@ -186,9 +186,9 @@ public:
  * The Cache object is created in the ctor.
  * If the Cache does not return one, the member is set to 0 and one is
  * created on the Get() and added to the Cache (if possible).
- * Cache users must derrive a class from SwCacheAccess in order to
+ * Cache users must derive a class from SwCacheAccess in order to
  * guarantee type safety. The base class should always be called for the
- * Get(). A derrived Get() should only ever guarantee type safety.
+ * Get(). A derived Get() should only ever guarantee type safety.
  * Cache objects are always locked for the instance's life time.
  */
 class SwCacheAccess
diff --git a/sw/source/core/inc/tblrwcl.hxx b/sw/source/core/inc/tblrwcl.hxx
index 25ae789c0e6c..c0a06e066ada 100644
--- a/sw/source/core/inc/tblrwcl.hxx
+++ b/sw/source/core/inc/tblrwcl.hxx
@@ -110,7 +110,7 @@ void sw_BoxSetSplitBoxFormats( SwTableBox* pBox, SwCollectTableLineBoxes* pSplPa
  */
 struct SwSaveRowSpan
 {
-    sal_uInt16 const mnSplitLine; // the line number where the table has been splitted
+    sal_uInt16 const mnSplitLine; // the line number where the table has been split
     std::vector< long > mnRowSpans; // the row span attributes in this line
     SwSaveRowSpan( SwTableBoxes& rBoxes, sal_uInt16 nSplitLn );
 };
diff --git a/writerfilter/documentation/doxygen/Doxyfile b/writerfilter/documentation/doxygen/Doxyfile
index eddd48e32ec2..15414b8287c6 100644
--- a/writerfilter/documentation/doxygen/Doxyfile
+++ b/writerfilter/documentation/doxygen/Doxyfile
@@ -1087,7 +1087,7 @@ PERL_PATH              = /usr/bin/perl
 #---------------------------------------------------------------------------
 
 # If the CLASS_DIAGRAMS tag is set to YES (the default) Doxygen will
-# generate a inheritance diagram (in HTML, RTF and LaTeX) for classes with base
+# generate an inheritance diagram (in HTML, RTF and LaTeX) for classes with base
 # or super classes. Setting the tag to NO turns the diagrams off. Note that
 # this option is superseded by the HAVE_DOT option below. This is only a
 # fallback. It is recommended to install and use dot, since it yields more
diff --git a/writerfilter/source/ooxml/model.xml b/writerfilter/source/ooxml/model.xml
index a838c8bfde2c..dc260be432cf 100644
--- a/writerfilter/source/ooxml/model.xml
+++ b/writerfilter/source/ooxml/model.xml
@@ -1813,7 +1813,7 @@
           <value>wdUpDiag</value>
           <!-- Dashed Downward Diagonal -->
           <value>dashDnDiag</value>
-          <!-- Dashed Upward DIagonal -->
+          <!-- Dashed Upward Diagonal -->
           <value>dashUpDiag</value>
           <!-- Diagonal Cross -->
           <value>diagCross</value>


More information about the Libreoffice-commits mailing list