summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--android/source/src/java/org/libreoffice/InvalidationHandler.java2
-rw-r--r--android/source/src/java/org/libreoffice/canvas/GraphicSelection.java4
-rw-r--r--include/svx/svdedtv.hxx2
-rw-r--r--include/svx/svdtrans.hxx2
-rw-r--r--nlpsolver/src/com/sun/star/comp/Calc/NLPSolver/BaseNLPSolver.java2
-rw-r--r--onlineupdate/source/update/common/updatehelper.cxx2
-rw-r--r--oox/source/ole/vbaexport.cxx2
-rw-r--r--sc/source/ui/undo/undoblk.cxx2
-rw-r--r--sc/source/ui/view/gridwin.cxx2
-rw-r--r--sc/source/ui/view/gridwin2.cxx2
-rw-r--r--svx/source/svdraw/svdhdl.cxx2
-rw-r--r--sw/qa/core/uwriter.cxx2
-rw-r--r--sw/qa/extras/uiwriter/uiwriter.cxx6
-rw-r--r--sw/source/core/text/txtftn.cxx2
-rw-r--r--sw/source/filter/ww8/ww8par3.cxx2
-rw-r--r--vcl/source/gdi/pdfwriter_impl.cxx2
16 files changed, 19 insertions, 19 deletions
diff --git a/android/source/src/java/org/libreoffice/InvalidationHandler.java b/android/source/src/java/org/libreoffice/InvalidationHandler.java
index a22c5fd6f437..f0a3982197aa 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 773975752319..30a328d88c9c 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 7eff81114321..8d85985abe61 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 7d6c515ed2fb..5fe3a36c782b 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 73da46b39567..0143b3a06c0b 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 3e91feae3253..5ffe261172d8 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 a9c9bfeb405a..f61e493e25ec 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 73346abf6ec2..d1db3b46a3c5 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 5200b85eb0be..1068aad3c711 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 d2f97e397623..c24fd53dc509 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 6e1cdf81dbcb..fd6225a64b0b 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 70061eb07011..92124c1d390a 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 d9c67b958f5b..91887202d0fd 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 d3b4b305cd3f..4eff4874557b 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 54b4afe2d38b..e6c99288aca6 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 d5aed16d9262..d449d1a7d9a2 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.
/*