summaryrefslogtreecommitdiff
path: root/svx/source
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2019-08-11 18:27:30 +0200
committerJulien Nabet <serval2412@yahoo.fr>2019-08-12 11:41:42 +0200
commitba6519a800da9f105953436e3e70701850d4e3dc (patch)
tree13d188e212ba708da70d7c06f33f580a4fdcaab6 /svx/source
parent5eb6f2d08d133a042a5dbd450bdb206f39399ce4 (diff)
Fix typos
Change-Id: I42f7ec098cb03cdbd4aa54b86f1c0171b317f956 Reviewed-on: https://gerrit.libreoffice.org/77282 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'svx/source')
-rw-r--r--svx/source/stbctrls/zoomsliderctrl.cxx2
-rw-r--r--svx/source/svdraw/sdrmasterpagedescriptor.cxx4
-rw-r--r--svx/source/svdraw/svdcrtv.cxx2
-rw-r--r--svx/source/svdraw/svddrgmt.cxx2
-rw-r--r--svx/source/svdraw/svddrgv.cxx2
-rw-r--r--svx/source/svdraw/svdedtv1.cxx2
-rw-r--r--svx/source/svdraw/svdedxv.cxx2
-rw-r--r--svx/source/svdraw/svdmark.cxx4
-rw-r--r--svx/source/svdraw/svdmrkv.cxx2
-rw-r--r--svx/source/svdraw/svdoedge.cxx2
10 files changed, 12 insertions, 12 deletions
diff --git a/svx/source/stbctrls/zoomsliderctrl.cxx b/svx/source/stbctrls/zoomsliderctrl.cxx
index 57c89097e427..7cf9ff0c86dc 100644
--- a/svx/source/stbctrls/zoomsliderctrl.cxx
+++ b/svx/source/stbctrls/zoomsliderctrl.cxx
@@ -67,7 +67,7 @@ const long nSliderXOffset = 20;
const long nSnappingEpsilon = 5; // snapping epsilon in pixels
const long nSnappingPointsMinDist = nSnappingEpsilon; // minimum distance of two adjacent snapping points
-// nOffset referes to the origin of the control:
+// nOffset refers to the origin of the control:
// + ----------- -
sal_uInt16 SvxZoomSliderControl::Offset2Zoom( long nOffset ) const
{
diff --git a/svx/source/svdraw/sdrmasterpagedescriptor.cxx b/svx/source/svdraw/sdrmasterpagedescriptor.cxx
index 2c01f1ecc8f0..ac6c871c9cc3 100644
--- a/svx/source/svdraw/sdrmasterpagedescriptor.cxx
+++ b/svx/source/svdraw/sdrmasterpagedescriptor.cxx
@@ -60,9 +60,9 @@ namespace sdr
return *mpViewContact;
}
- // this method is called form the destructor of the referenced page.
+ // this method is called from the destructor of the referenced page.
// do all necessary action to forget the page. It is not necessary to call
- // RemovePageUser(), that is done form the destructor.
+ // RemovePageUser(), that is done from the destructor.
void MasterPageDescriptor::PageInDestruction(const SdrPage& /*rPage*/)
{
maOwnerPage.TRG_ClearMasterPage();
diff --git a/svx/source/svdraw/svdcrtv.cxx b/svx/source/svdraw/svdcrtv.cxx
index 132870ac0175..b6d1bd96e064 100644
--- a/svx/source/svdraw/svdcrtv.cxx
+++ b/svx/source/svdraw/svdcrtv.cxx
@@ -662,7 +662,7 @@ bool SdrCreateView::EndCreateObj(SdrCreateCmd eCmd)
// The 2nd a little tricky thing is that this will early-create
// a ViewObjectContact for the new SdrObject, but these VOCs
// are anyways layouted for being create-on-demand. This will
- // be adapted/replaced corretly later on.
+ // be adapted/replaced correctly later on.
// This *should* be the right place for getting all interactively
// created objects, see InsertObjectAtView below that calls
// CreateUndoNewObject.
diff --git a/svx/source/svdraw/svddrgmt.cxx b/svx/source/svdraw/svddrgmt.cxx
index 400cab8f936b..a9e7ca7a6e27 100644
--- a/svx/source/svdraw/svddrgmt.cxx
+++ b/svx/source/svdraw/svddrgmt.cxx
@@ -900,7 +900,7 @@ drawinglayer::primitive2d::Primitive2DContainer SdrDragMethod::AddConnectorOverl
{
// this polygon is a temporary calculated connector path, so it is not possible to fetch
// the needed primitives directly from the pEdge object which does not get changed. If full
- // drag is on, use the SdrObjects ItemSet to create a adequate representation
+ // drag is on, use the SdrObjects ItemSet to create an adequate representation
bool bUseSolidDragging(getSolidDraggingActive());
if(bUseSolidDragging)
diff --git a/svx/source/svdraw/svddrgv.cxx b/svx/source/svdraw/svddrgv.cxx
index ea08590cf4e3..e807b0a65610 100644
--- a/svx/source/svdraw/svddrgv.cxx
+++ b/svx/source/svdraw/svddrgv.cxx
@@ -810,7 +810,7 @@ void SdrDragView::ShowDragObj()
// Changed for the GridOffset stuff: No longer iterate over
// SdrPaintWindow(s), but now over SdrPageWindow(s), so doing the
// same as the SdrHdl visualizations (see ::CreateB2dIAObject) do.
- // This is needed to get access to a ObjectContact which is needed
+ // This is needed to get access to an ObjectContact which is needed
// to evtl. process that GridOffset in CreateOverlayGeometry
SdrPageView* pPageView(GetSdrPageView());
diff --git a/svx/source/svdraw/svdedtv1.cxx b/svx/source/svdraw/svdedtv1.cxx
index b75099094576..7b2ac400e544 100644
--- a/svx/source/svdraw/svdedtv1.cxx
+++ b/svx/source/svdraw/svdedtv1.cxx
@@ -1071,7 +1071,7 @@ void SdrEditView::SetAttrToMarked(const SfxItemSet& rAttr, bool bReplaceAll)
// #i8508#
// If this is a text object also rescue the OutlinerParaObject since
// applying attributes to the object may change text layout when
- // multiple portions exist with multiple formats. If a OutlinerParaObject
+ // multiple portions exist with multiple formats. If an OutlinerParaObject
// really exists and needs to be rescued is evaluated in the undo
// implementation itself.
const bool bRescueText = dynamic_cast< SdrTextObj* >(pObj) != nullptr;
diff --git a/svx/source/svdraw/svdedxv.cxx b/svx/source/svdraw/svdedxv.cxx
index d37f7db235ee..69d9905c9477 100644
--- a/svx/source/svdraw/svdedxv.cxx
+++ b/svx/source/svdraw/svdedxv.cxx
@@ -2120,7 +2120,7 @@ bool SdrObjEditView::SetAttributes(const SfxItemSet& rSet, bool bReplaceAll)
// If this is a text object also rescue the OutlinerParaObject since
// applying attributes to the object may change text layout when
- // multiple portions exist with multiple formats. If a OutlinerParaObject
+ // multiple portions exist with multiple formats. If an OutlinerParaObject
// really exists and needs to be rescued is evaluated in the undo
// implementation itself.
bool bRescueText = mxTextEditObj.get();
diff --git a/svx/source/svdraw/svdmark.cxx b/svx/source/svdraw/svdmark.cxx
index 47d055548b4d..508df785cd1b 100644
--- a/svx/source/svdraw/svdmark.cxx
+++ b/svx/source/svdraw/svdmark.cxx
@@ -84,7 +84,7 @@ SdrMark::~SdrMark()
void SdrMark::ObjectInDestruction(const SdrObject& rObject)
{
(void) rObject; // avoid warnings
- OSL_ENSURE(mpSelectedSdrObject && mpSelectedSdrObject == &rObject, "SdrMark::ObjectInDestruction: called form object different from hosted one (!)");
+ OSL_ENSURE(mpSelectedSdrObject && mpSelectedSdrObject == &rObject, "SdrMark::ObjectInDestruction: called from object different from hosted one (!)");
OSL_ENSURE(mpSelectedSdrObject, "SdrMark::ObjectInDestruction: still selected SdrObject is deleted, deselect first (!)");
mpSelectedSdrObject = nullptr;
}
@@ -244,7 +244,7 @@ size_t SdrMarkList::FindObject(const SdrObject* pObj) const
// Problem is that GetOrdNum() which is const, internally casts to non-const and
// hardly sets the OrdNum member of the object (nOrdNum) to 0 (ZERO) if the object
- // is not inserted in a object list.
+ // is not inserted in an object list.
// Since this may be by purpose and necessary somewhere else i decided that it is
// less dangerous to change this method then changing SdrObject::GetOrdNum().
if(pObj)
diff --git a/svx/source/svdraw/svdmrkv.cxx b/svx/source/svdraw/svdmrkv.cxx
index cdd7dfc5657d..6e770eca7976 100644
--- a/svx/source/svdraw/svdmrkv.cxx
+++ b/svx/source/svdraw/svdmrkv.cxx
@@ -2037,7 +2037,7 @@ SdrObject* SdrMarkView::CheckSingleSdrObjectHit(const Point& rPnt, sal_uInt16 nT
SdrObject* pRet=nullptr;
tools::Rectangle aRect(pObj->GetCurrentBoundRect());
- // add possible GridOffset to up-to-now view-independent BountRect data
+ // add possible GridOffset to up-to-now view-independent BoundRect data
basegfx::B2DVector aGridOffset(0.0, 0.0);
if(getPossibleGridOffsetForSdrObject(aGridOffset, pObj, pPV))
{
diff --git a/svx/source/svdraw/svdoedge.cxx b/svx/source/svdraw/svdoedge.cxx
index 0e2d11846d0c..db21f5fc6e73 100644
--- a/svx/source/svdraw/svdoedge.cxx
+++ b/svx/source/svdraw/svdoedge.cxx
@@ -1944,7 +1944,7 @@ bool SdrEdgeObj::applySpecialDrag(SdrDragStat& rDragStat)
}
}
- // reset edge info's offsets, this is a end point drag
+ // reset edge info's offsets, this is an end point drag
aEdgeInfo.aObj1Line2 = Point();
aEdgeInfo.aObj1Line3 = Point();
aEdgeInfo.aObj2Line2 = Point();