[Libreoffice-commits] core.git: framework/source include/comphelper include/cppuhelper sw/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Fri Nov 16 22:11:31 UTC 2018


 framework/source/services/frame.cxx        |    2 +-
 include/comphelper/interfacecontainer2.hxx |    2 +-
 include/cppuhelper/interfacecontainer.h    |    4 ++--
 sw/source/core/bastyp/bparr.cxx            |    2 +-
 sw/source/core/undo/untblk.cxx             |    4 ++--
 5 files changed, 7 insertions(+), 7 deletions(-)

New commits:
commit 32865e69c9774d5545a3100158798b6763ff62f0
Author:     Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Fri Nov 16 18:20:19 2018 +0100
Commit:     Jens Carl <j.carl43 at gmx.de>
CommitDate: Fri Nov 16 23:11:03 2018 +0100

    Fix typos
    
    Change-Id: I63b3cdae2dfb4442d10430d9041145f892b31967
    Reviewed-on: https://gerrit.libreoffice.org/63480
    Tested-by: Jenkins
    Reviewed-by: Jens Carl <j.carl43 at gmx.de>

diff --git a/framework/source/services/frame.cxx b/framework/source/services/frame.cxx
index 798fcde08f28..8a718d787ecf 100644
--- a/framework/source/services/frame.cxx
+++ b/framework/source/services/frame.cxx
@@ -2287,7 +2287,7 @@ css::uno::Reference< css::frame::XDispatch > SAL_CALL Frame::queryDispatch( cons
                                                                             const OUString& sTargetFrameName,
                                                                             sal_Int32 nSearchFlags)
 {
-    // Don't check incoming parameter here! Our helper do it for us and it is not a good idea to do it more than ones!
+    // Don't check incoming parameter here! Our helper do it for us and it is not a good idea to do it more than once!
 
     checkDisposed();
 
diff --git a/include/comphelper/interfacecontainer2.hxx b/include/comphelper/interfacecontainer2.hxx
index f5907d205aa7..5fd78a584ce3 100644
--- a/include/comphelper/interfacecontainer2.hxx
+++ b/include/comphelper/interfacecontainer2.hxx
@@ -169,7 +169,7 @@ public:
     sal_Int32 removeInterface( const css::uno::Reference< css::uno::XInterface > & rxIFace );
     /**
       Call disposing on all object in the container that
-      support XEventListener. Than clear the container.
+      support XEventListener. Then clear the container.
      */
     void disposeAndClear( const css::lang::EventObject & rEvt );
     /**
diff --git a/include/cppuhelper/interfacecontainer.h b/include/cppuhelper/interfacecontainer.h
index 66522576fe03..2d56568c9da5 100644
--- a/include/cppuhelper/interfacecontainer.h
+++ b/include/cppuhelper/interfacecontainer.h
@@ -189,7 +189,7 @@ public:
     sal_Int32 SAL_CALL removeInterface( const css::uno::Reference< css::uno::XInterface > & rxIFace );
     /**
       Call disposing on all object in the container that
-      support XEventListener. Than clear the container.
+      support XEventListener. Then clear the container.
      */
     void SAL_CALL disposeAndClear( const css::lang::EventObject & rEvt );
     /**
@@ -585,7 +585,7 @@ public:
 
     /**
       Call disposing on all object in the container that
-      support XEventListener. Than clear the container.
+      support XEventListener. Then clear the container.
      */
     void SAL_CALL disposeAndClear( const css::lang::EventObject & rEvt );
     /**
diff --git a/sw/source/core/bastyp/bparr.cxx b/sw/source/core/bastyp/bparr.cxx
index f466f204a643..8739d01c193b 100644
--- a/sw/source/core/bastyp/bparr.cxx
+++ b/sw/source/core/bastyp/bparr.cxx
@@ -430,7 +430,7 @@ sal_uInt16 BigPtrArray::Compress()
             if( USHRT_MAX == nFirstChgPos )
                 nFirstChgPos = cur;
 
-            // Not full yet? Than fill up.
+            // Not full yet? Then fill up.
             if( n > nLast )
                 n = nLast;
 
diff --git a/sw/source/core/undo/untblk.cxx b/sw/source/core/undo/untblk.cxx
index 424f1acb59d6..5a347704333e 100644
--- a/sw/source/core/undo/untblk.cxx
+++ b/sw/source/core/undo/untblk.cxx
@@ -106,9 +106,9 @@ void SwUndoInserts::SetInsertRange( const SwPaM& rPam, bool bScanFlys,
         nSttNode = pTmpPos->nNode.GetIndex();
         nSttContent = pTmpPos->nContent.GetIndex();
 
-        if( !bSttIsTextNd )      // if a table selection is added ...
+        if( !bSttIsTextNd )      // if a table selection is added...
         {
-            ++nSttNode;         // ... than the CopyPam is not fully correct
+            ++nSttNode;         // ... then the CopyPam is not fully correct
             bSttWasTextNd = false;
         }
     }


More information about the Libreoffice-commits mailing list