[Libreoffice-commits] core.git: android/source include/svx nlpsolver/src onlineupdate/source oox/source sc/source svx/source sw/qa sw/source vcl/source

Andrea Gelmini andrea.gelmini at gelma.net
Fri Sep 18 15:06:50 PDT 2015


 android/source/src/java/org/libreoffice/InvalidationHandler.java     |    2 +-
 android/source/src/java/org/libreoffice/canvas/GraphicSelection.java |    4 ++--
 include/svx/svdedtv.hxx                                              |    2 +-
 include/svx/svdtrans.hxx                                             |    2 +-
 nlpsolver/src/com/sun/star/comp/Calc/NLPSolver/BaseNLPSolver.java    |    2 +-
 onlineupdate/source/update/common/updatehelper.cxx                   |    2 +-
 oox/source/ole/vbaexport.cxx                                         |    2 +-
 sc/source/ui/undo/undoblk.cxx                                        |    2 +-
 sc/source/ui/view/gridwin.cxx                                        |    2 +-
 sc/source/ui/view/gridwin2.cxx                                       |    2 +-
 svx/source/svdraw/svdhdl.cxx                                         |    2 +-
 sw/qa/core/uwriter.cxx                                               |    2 +-
 sw/qa/extras/uiwriter/uiwriter.cxx                                   |    6 +++---
 sw/source/core/text/txtftn.cxx                                       |    2 +-
 sw/source/filter/ww8/ww8par3.cxx                                     |    2 +-
 vcl/source/gdi/pdfwriter_impl.cxx                                    |    2 +-
 16 files changed, 19 insertions(+), 19 deletions(-)

New commits:
commit ac226443522c55ab75cab8eed354b999052135a7
Author: Andrea Gelmini <andrea.gelmini at gelma.net>
Date:   Fri Sep 18 22:44:02 2015 +0200

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

diff --git a/android/source/src/java/org/libreoffice/InvalidationHandler.java b/android/source/src/java/org/libreoffice/InvalidationHandler.java
index a22c5fd..f0a3982 100644
--- a/android/source/src/java/org/libreoffice/InvalidationHandler.java
+++ b/android/source/src/java/org/libreoffice/InvalidationHandler.java
@@ -418,7 +418,7 @@ public class InvalidationHandler implements Document.MessageCallback {
     }
 
     /**
-     * A key event happend (i.e. user started typing).
+     * A key event happened (i.e. user started typing).
      */
     public void keyEvent() {
         mKeyEvent = true;
diff --git a/android/source/src/java/org/libreoffice/canvas/GraphicSelection.java b/android/source/src/java/org/libreoffice/canvas/GraphicSelection.java
index 7739757..30a328d 100644
--- a/android/source/src/java/org/libreoffice/canvas/GraphicSelection.java
+++ b/android/source/src/java/org/libreoffice/canvas/GraphicSelection.java
@@ -253,7 +253,7 @@ public class GraphicSelection extends CommonCanvasElement {
     }
 
     /**
-     * When a single press (no dragging happend) was performed.
+     * When a single press (no dragging happened) was performed.
      */
     private void onSinglePress(PointF screenPosition) {
         sendGraphicSelection("LongPress", screenPosition);
@@ -289,4 +289,4 @@ public class GraphicSelection extends CommonCanvasElement {
         EXTEND
     }
 }
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
\ No newline at end of file
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/svx/svdedtv.hxx b/include/svx/svdedtv.hxx
index 7eff811..8d85985 100644
--- a/include/svx/svdedtv.hxx
+++ b/include/svx/svdedtv.hxx
@@ -95,7 +95,7 @@ protected:
     bool                        bMoreThanOneNotMovable : 1;   // more then one objects are not moveable
     bool                        bOneOrMoreMovable : 1;        // at least one object is moveable
     bool                        bMoreThanOneNoMovRot : 1;     // more then one object is not moveble nor turnable (Crook)
-    bool                        bContortionPossible : 1;      // all polygones (grouped if neccessary)
+    bool                        bContortionPossible : 1;      // all polygones (grouped if necessary)
     bool                        bAllPolys : 1;                // all polygones (not grouped)
     bool                        bOneOrMorePolys : 1;          // at least one polygon (not grouped)
     bool                        bMoveAllowed : 1;
diff --git a/include/svx/svdtrans.hxx b/include/svx/svdtrans.hxx
index 7d6c515..5fe3a36 100644
--- a/include/svx/svdtrans.hxx
+++ b/include/svx/svdtrans.hxx
@@ -196,7 +196,7 @@ long GetLen(const Point& rPnt);
  * shear and then the rotation.                              /          /
  *                                                          /          / \
  *                                                         /          /   |
- * A) Inital rectangle aRect  B) After applying Shear      /0        3/ Rot|
+ * A) Initial rectangle aRect  B) After applying Shear     /0        3/ Rot|
  * +------------------+       --------------------        ------------------
  * |0                1|        \0                1\       C) After applying Rotate
  * |                  |         \                  \
diff --git a/nlpsolver/src/com/sun/star/comp/Calc/NLPSolver/BaseNLPSolver.java b/nlpsolver/src/com/sun/star/comp/Calc/NLPSolver/BaseNLPSolver.java
index 73da46b..0143b3a 100644
--- a/nlpsolver/src/com/sun/star/comp/Calc/NLPSolver/BaseNLPSolver.java
+++ b/nlpsolver/src/com/sun/star/comp/Calc/NLPSolver/BaseNLPSolver.java
@@ -85,7 +85,7 @@ public abstract class BaseNLPSolver extends WeakBase
     public BaseNLPSolver(XComponentContext xContext, String name) {
         m_xContext = xContext;
         m_name = name;
-            // init members exposed as XSolver properties thru uno bridge
+            // init members exposed as XSolver properties through uno bridge
         m_objective = new CellAddress();
         m_variables = new CellAddress[0];
         m_constraints = new SolverConstraint[0];
diff --git a/onlineupdate/source/update/common/updatehelper.cxx b/onlineupdate/source/update/common/updatehelper.cxx
index 3e91fea..5ffe261 100644
--- a/onlineupdate/source/update/common/updatehelper.cxx
+++ b/onlineupdate/source/update/common/updatehelper.cxx
@@ -624,7 +624,7 @@ IsProcessRunning(LPCWSTR filename)
 }
 
 /**
- * Waits for the specified applicaiton to exit.
+ * Waits for the specified application to exit.
  *
  * @param filename   The application to wait for.
  * @param maxSeconds The maximum amount of seconds to wait for all
diff --git a/oox/source/ole/vbaexport.cxx b/oox/source/ole/vbaexport.cxx
index a9c9bfe..f61e493 100644
--- a/oox/source/ole/vbaexport.cxx
+++ b/oox/source/ole/vbaexport.cxx
@@ -417,7 +417,7 @@ void writePROJECTVERSION(SvStream& rStrm)
 {
     rStrm.WriteUInt16(0x0009); // id
     rStrm.WriteUInt32(0x00000004); // Reserved
-    rStrm.WriteUInt32(1467127224); // VersionMajor // TODO: where is this magic number comming from
+    rStrm.WriteUInt32(1467127224); // VersionMajor // TODO: where is this magic number coming from
     rStrm.WriteUInt16(5); // VersionMinor // TODO: where is this magic number coming from
 }
 
diff --git a/sc/source/ui/undo/undoblk.cxx b/sc/source/ui/undo/undoblk.cxx
index 73346ab..d1db3b4 100644
--- a/sc/source/ui/undo/undoblk.cxx
+++ b/sc/source/ui/undo/undoblk.cxx
@@ -1245,7 +1245,7 @@ void ScUndoDragDrop::DoUndo( ScRange aRange )
 
     // Additionally discard/forget caption ownership during deletion, as
     // Drag&Drop is a special case in that the Undo holds captions of the
-    // transfered target range, which would get deleted and
+    // transferred target range, which would get deleted and
     // SdrGroupUndo::Undo() would attempt to access invalidated captions and
     // crash, tdf#92995
     InsertDeleteFlags nDelFlags = nUndoFlags | IDF_FORGETCAPTIONS;
diff --git a/sc/source/ui/view/gridwin.cxx b/sc/source/ui/view/gridwin.cxx
index 5200b85..1068aad 100644
--- a/sc/source/ui/view/gridwin.cxx
+++ b/sc/source/ui/view/gridwin.cxx
@@ -1974,7 +1974,7 @@ void ScGridWindow::HandleMouseButtonDown( const MouseEvent& rMEvt, MouseEventSta
 
         pViewData->GetViewShell()->SetDrawShell( false );               // no Draw-Objekt selected
 
-        // TestMouse has already happend above
+        // TestMouse has already happened above
     }
 
     Point aPos = rMEvt.GetPosPixel();
diff --git a/sc/source/ui/view/gridwin2.cxx b/sc/source/ui/view/gridwin2.cxx
index d2f97e3..c24fd53 100644
--- a/sc/source/ui/view/gridwin2.cxx
+++ b/sc/source/ui/view/gridwin2.cxx
@@ -800,7 +800,7 @@ sal_uInt16 ScGridWindow::HitPageBreak( const Point& rMouse, ScRange* pSource,
     if (pBreak)
         *pBreak = nBreak;       // X/Y position of the moved page break
     if (pPrev)
-        *pPrev = nPrev;         // X/Y begining of the page, which is above the break
+        *pPrev = nPrev;         // X/Y beginning of the page, which is above the break
     return nFound;
 }
 
diff --git a/svx/source/svdraw/svdhdl.cxx b/svx/source/svdraw/svdhdl.cxx
index 6e1cdf8..fd6225a 100644
--- a/svx/source/svdraw/svdhdl.cxx
+++ b/svx/source/svdraw/svdhdl.cxx
@@ -790,7 +790,7 @@ sdr::overlay::OverlayObject* SdrHdl::CreateOverlayObject(
         // When the image with handles is not found, the bitmap returned is
         // empty. This is a problem when we use LibreOffice as a library
         // (through LOKit - for example on Android) even when we don't show
-        // the handles, beacuse the hit test would always return false.
+        // the handles, because the hit test would always return false.
         //
         // This HACK replaces the empty bitmap with a black 13x13 bitmap handle
         // so that the hit test works for this case.
diff --git a/sw/qa/core/uwriter.cxx b/sw/qa/core/uwriter.cxx
index 70061eb..92124c1 100644
--- a/sw/qa/core/uwriter.cxx
+++ b/sw/qa/core/uwriter.cxx
@@ -1456,7 +1456,7 @@ namespace
         }
     };
     TYPEINIT1( TestClient, SwClient );
-    // sad copypasta as tools/rtti.hxxs little brain cant cope with templates
+    // sad copypasta as tools/rtti.hxxs little brain can't cope with templates
     struct OtherTestClient : SwClient
     {
         TYPEINFO_OVERRIDE();
diff --git a/sw/qa/extras/uiwriter/uiwriter.cxx b/sw/qa/extras/uiwriter/uiwriter.cxx
index d9c67b9..9188720 100644
--- a/sw/qa/extras/uiwriter/uiwriter.cxx
+++ b/sw/qa/extras/uiwriter/uiwriter.cxx
@@ -1672,14 +1672,14 @@ void SwUiWriterTest::testTdf77342()
     SwGetRefFieldType* pRefType = static_cast<SwGetRefFieldType*>(pField);
     //moving cursor to the starting of document
     pWrtShell->SttDoc();
-    //inserting refernce field 1
+    //inserting reference field 1
     SwGetRefField aField1(pRefType, OUString(""), REF_FOOTNOTE, sal_uInt16(0), REF_CONTENT);
     pWrtShell->Insert(aField1);
     //inserting second footnote
     pWrtShell->InsertFootnote(OUString(""));
     pWrtShell->SttDoc();
     pCrsr->Move(fnMoveForward);
-    //inserting refernce field 2
+    //inserting reference field 2
     SwGetRefField aField2(pRefType, OUString(""), REF_FOOTNOTE, sal_uInt16(1), REF_CONTENT);
     pWrtShell->Insert(aField2);
     //inserting third footnote
@@ -1687,7 +1687,7 @@ void SwUiWriterTest::testTdf77342()
     pWrtShell->SttDoc();
     pCrsr->Move(fnMoveForward);
     pCrsr->Move(fnMoveForward);
-    //inserting refernce field 3
+    //inserting reference field 3
     SwGetRefField aField3(pRefType, OUString(""), REF_FOOTNOTE, sal_uInt16(2), REF_CONTENT);
     pWrtShell->Insert(aField3);
     //updating the fields
diff --git a/sw/source/core/text/txtftn.cxx b/sw/source/core/text/txtftn.cxx
index d3b4b30..4eff487 100644
--- a/sw/source/core/text/txtftn.cxx
+++ b/sw/source/core/text/txtftn.cxx
@@ -847,7 +847,7 @@ SwFootnotePortion *SwTextFormatter::NewFootnotePortion( SwTextFormatInfo &rInf,
     // The Footnote2 Reference remains on the Page/Column. The Footnote itself
     // is on the next Page/Column.
     //
-    // Exception: If the Page/Column cannot accomodate another line,
+    // Exception: If the Page/Column cannot accommodate another line,
     // the Footnote Reference should be moved to the next one.
     if( !rFootnote.IsEndNote() )
     {
diff --git a/sw/source/filter/ww8/ww8par3.cxx b/sw/source/filter/ww8/ww8par3.cxx
index 54b4afe..e6c9928 100644
--- a/sw/source/filter/ww8/ww8par3.cxx
+++ b/sw/source/filter/ww8/ww8par3.cxx
@@ -508,7 +508,7 @@ OUString sanitizeString(const OUString& rString)
             }
             ++i;    //skip correct low
         }
-        if (rtl::isLowSurrogate(c)) //bare low without preceeding high
+        if (rtl::isLowSurrogate(c)) //bare low without preceding high
         {
             SAL_WARN("sw.ww8", "Surrogate error: low without high");
             return rString.copy(0, i);
diff --git a/vcl/source/gdi/pdfwriter_impl.cxx b/vcl/source/gdi/pdfwriter_impl.cxx
index d5aed16..d449d1a 100644
--- a/vcl/source/gdi/pdfwriter_impl.cxx
+++ b/vcl/source/gdi/pdfwriter_impl.cxx
@@ -6118,7 +6118,7 @@ typedef struct {
     Extension *extensions;
 } TimeStampReq;
 
-// (Partial) ASN.1 for the time stamp responce. Very complicated. Pulled
+// (Partial) ASN.1 for the time stamp response. Very complicated. Pulled
 // together from varuous RFCs.
 
 /*


More information about the Libreoffice-commits mailing list