summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2017-11-19 21:29:23 +0100
committerJulien Nabet <serval2412@yahoo.fr>2017-11-19 21:57:17 +0100
commit86b8c063a47c1cca13bc208e17eac0d8d96d9072 (patch)
tree36d4ff66aedc3b2f2e5f734ddb62753eb4fd4993
parenttdf#86087 Save relative links in DOCX (diff)
downloadcore-86b8c063a47c1cca13bc208e17eac0d8d96d9072.tar.gz
core-86b8c063a47c1cca13bc208e17eac0d8d96d9072.zip
Fix typos
Change-Id: I964528cf4f3b81230c683011e1878b28378b0014 Reviewed-on: https://gerrit.libreoffice.org/44915 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
-rw-r--r--onlineupdate/source/update/updater/updater.rc2
-rw-r--r--sc/source/core/data/drwlayer.cxx2
-rw-r--r--sccomp/source/solver/DifferentialEvolution.hxx2
-rw-r--r--sfx2/classification/xAL-types.xsd4
-rw-r--r--sw/source/core/doc/htmltbl.cxx2
-rw-r--r--sw/source/core/doc/notxtfrm.cxx2
-rw-r--r--sw/source/core/draw/dflyobj.cxx8
-rw-r--r--sw/source/core/inc/frame.hxx8
-rw-r--r--sw/source/filter/ww8/ww8atr.cxx2
9 files changed, 16 insertions, 16 deletions
diff --git a/onlineupdate/source/update/updater/updater.rc b/onlineupdate/source/update/updater/updater.rc
index 1628e78933ad..d77cea2fee90 100644
--- a/onlineupdate/source/update/updater/updater.rc
+++ b/onlineupdate/source/update/updater/updater.rc
@@ -53,7 +53,7 @@ IDI_DIALOG ICON ICON_PATH
/////////////////////////////////////////////////////////////////////////////
//
-// Embedded an identifier to uniquely identiy this as a Mozilla updater.
+// Embedded an identifier to uniquely identify this as a Mozilla updater.
//
STRINGTABLE
diff --git a/sc/source/core/data/drwlayer.cxx b/sc/source/core/data/drwlayer.cxx
index 103093b1741f..7b0cc89fa0f1 100644
--- a/sc/source/core/data/drwlayer.cxx
+++ b/sc/source/core/data/drwlayer.cxx
@@ -896,7 +896,7 @@ void ScDrawLayer::RecalcPos( SdrObject* pObj, ScDrawObjData& rData, bool bNegati
// resize/position the shape to *full* size e.g. how it would be ( if no hidden rows/cols affected things )
pObj->SetLogicRect(aFullRect);
- // Ok, here is more nastyness, from xml the Anchor is in terms of the LogicRect which is the
+ // Ok, here is more nastiness, from xml the Anchor is in terms of the LogicRect which is the
// untransformed unrotated shape, here we swap out that initial anchor and from now on use
// an Anchor based on the SnapRect ( which is what you see on the screen )
ScDrawLayer::GetCellAnchorFromPosition( *pObj, rData, *pDoc, nTab1, false, false );
diff --git a/sccomp/source/solver/DifferentialEvolution.hxx b/sccomp/source/solver/DifferentialEvolution.hxx
index 7d37ef82b9f8..2ced9b9d209e 100644
--- a/sccomp/source/solver/DifferentialEvolution.hxx
+++ b/sccomp/source/solver/DifferentialEvolution.hxx
@@ -97,7 +97,7 @@ public:
size_t x = agentIndex; // randomPopulation(generator);
size_t a, b, c;
- // create a copy of choosen random agent in population
+ // create a copy of chosen random agent in population
Individual& rOriginal = maPopulation[x];
Individual aCandidate(rOriginal);
diff --git a/sfx2/classification/xAL-types.xsd b/sfx2/classification/xAL-types.xsd
index a91314a87c42..0522990072dc 100644
--- a/sfx2/classification/xAL-types.xsd
+++ b/sfx2/classification/xAL-types.xsd
@@ -51,13 +51,13 @@
</xs:simpleType>
<xs:simpleType name="AddressIDTypeList">
<xs:annotation>
- <xs:documentation>A list of types of address identiifers </xs:documentation>
+ <xs:documentation>A list of types of address identifiers </xs:documentation>
</xs:annotation>
<xs:restriction base="xs:normalizedString"/>
</xs:simpleType>
<xs:simpleType name="AddressLineTypeList">
<xs:annotation>
- <xs:documentation>A list of ypes of address line., e.g. street details, locality details</xs:documentation>
+ <xs:documentation>A list of types of address line, e.g. street details, locality details</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:normalizedString"/>
</xs:simpleType>
diff --git a/sw/source/core/doc/htmltbl.cxx b/sw/source/core/doc/htmltbl.cxx
index db087caff864..9408d76aa681 100644
--- a/sw/source/core/doc/htmltbl.cxx
+++ b/sw/source/core/doc/htmltbl.cxx
@@ -1763,7 +1763,7 @@ bool SwHTMLTableLayout::Resize( sal_uInt16 nAbsAvail, bool bRecalc,
}
// Optimisation:
- // If the minimums or maximums should not be recalculated and
+ // If the minimum or maximum should not be recalculated and
// - the table's width never needs to be recalculated, or
// - the table was already calculated for the passed width, or
// - the available space is less or equal to the minimum width
diff --git a/sw/source/core/doc/notxtfrm.cxx b/sw/source/core/doc/notxtfrm.cxx
index 1ebb9aaf0944..1ff730d580fb 100644
--- a/sw/source/core/doc/notxtfrm.cxx
+++ b/sw/source/core/doc/notxtfrm.cxx
@@ -1010,7 +1010,7 @@ void paintGraphicUsingPrimitivesHelper(
// need to use that. Usually the renderer would be a VCL-based
// PrimitiveRenderer, but there are system-specific shortcuts that
// will *not* use the VCL-Paint of Bitmap and thus ignore this.
- // Anyways, indirectly using a CLipRegion set at the taget OutDev
+ // Anyways, indirectly using a CLipRegion set at the target OutDev
// when using a PrimitiveRenderer is a non-valid implication.
// First tried only to use when HasPolyPolygonOrB2DPolyPolygon(),
// but there is an optimization at ClipRegion creation that detects
diff --git a/sw/source/core/draw/dflyobj.cxx b/sw/source/core/draw/dflyobj.cxx
index 2dd8cffbf300..56558e29b7fe 100644
--- a/sw/source/core/draw/dflyobj.cxx
+++ b/sw/source/core/draw/dflyobj.cxx
@@ -857,7 +857,7 @@ void SwVirtFlyDrawObj::NbcCrop(const basegfx::B2DPoint& rRef, double fxFact, dou
aOldRect.Left() + basegfx::fround(aOldRect.GetWidth() * rRef.getX()),
aOldRect.Top() + basegfx::fround(aOldRect.GetHeight() * rRef.getY()));
- // appy transformation, use old ResizeRect for now
+ // apply transformation, use old ResizeRect for now
tools::Rectangle aNewRect( aOldRect );
ResizeRect(
aNewRect,
@@ -928,7 +928,7 @@ void SwVirtFlyDrawObj::NbcCrop(const basegfx::B2DPoint& rRef, double fxFact, dou
const basegfx::B2DPoint aFormerCenter(
GetFlyFrame()->getFrameAreaTransformation() * basegfx::B2DPoint(0.5, 0.5));
- // define the existing rotaiton around that former center
+ // define the existing rotation around that former center
const basegfx::B2DHomMatrix aRotFormerCenter(
basegfx::utils::createRotateAroundPoint(
aFormerCenter.getX(),
@@ -942,7 +942,7 @@ void SwVirtFlyDrawObj::NbcCrop(const basegfx::B2DPoint& rRef, double fxFact, dou
aRotFormerCenter * basegfx::B2DPoint(aNewCenter.X(), aNewCenter.Y()));
// Create the new TopLeft of the unrotated, cropped object by creating
- // as if re-rceating the unrotated geometry
+ // as if re-creating the unrotated geometry
aNewTopLeft = Point(
basegfx::fround(aRotNewCenter.getX() - (0.5 * aNewRect.getWidth())),
basegfx::fround(aRotNewCenter.getY() - (0.5 * aNewRect.getHeight())));
@@ -993,7 +993,7 @@ void SwVirtFlyDrawObj::NbcResize(const Point& rRef, const Fraction& xFact, const
aNewMat.scale(double(xFact), double(yFact));
aNewMat.translate(aRef.getX(), aRef.getY());
- // get center of transfomed state
+ // get center of transformed state
const basegfx::B2DPoint aCenter(aNewMat * basegfx::B2DPoint(0.5, 0.5));
// decompose to extract scale
diff --git a/sw/source/core/inc/frame.hxx b/sw/source/core/inc/frame.hxx
index cc455a995008..25b65a992ff6 100644
--- a/sw/source/core/inc/frame.hxx
+++ b/sw/source/core/inc/frame.hxx
@@ -201,7 +201,7 @@ public:
// for the FrameArea and FramePrintArea.
// FramePrintArea is not relative to FrameArea in this
// transformation representation (to make it easier to use and understand).
- // There is no 'set' method since SwFrame is a layout obejct. For
+ // There is no 'set' method since SwFrame is a layout object. For
// some cases rotation will be included (used for SwGrfNode in inner
// SwFrame of a SwFlyFrame)
virtual basegfx::B2DHomMatrix getFrameAreaTransformation() const;
@@ -222,7 +222,7 @@ private:
SwFrameAreaDefinition& mrSwFrameAreaDefinition;
// FrameAreaTransformation and FramePrintAreaTransformation
- // !identtity when needed (translate/scale is used (e.g. rotation))
+ // !identity when needed (translate/scale is used (e.g. rotation))
basegfx::B2DHomMatrix maFrameAreaTransformation;
basegfx::B2DHomMatrix maFramePrintAreaTransformation;
@@ -252,13 +252,13 @@ public:
SwRect getUntransformedFramePrintArea() const;
// Helper method to re-create FrameAreaTransformations based on the
- // curent FrameAreaDefinition transformed by given rotation and Center
+ // current FrameAreaDefinition transformed by given rotation and Center
void createFrameAreaTransformations(
double fRotation,
const basegfx::B2DPoint& rCenter);
// Tooling method to reset the SwRect(s) in the current
- // SwFrameAreaDefinition which are already apapted to
+ // SwFrameAreaDefinition which are already adapted to
// Transformation back to the untransformed state, using
// the getUntransformedFrame*Area calls above when needed.
// Only the SwRect(s) are changed back, not the transformations.
diff --git a/sw/source/filter/ww8/ww8atr.cxx b/sw/source/filter/ww8/ww8atr.cxx
index 9e7c114988e0..95ab936fca09 100644
--- a/sw/source/filter/ww8/ww8atr.cxx
+++ b/sw/source/filter/ww8/ww8atr.cxx
@@ -278,7 +278,7 @@ void MSWordExportBase::OutputItemSet( const SfxItemSet& rSet, bool bPapFormat, b
{
AttrOutput().OutputItem( *pItem );
- // switch off the numerbering?
+ // switch off the numbering?
if ( static_cast<const SwNumRuleItem*>(pItem)->GetValue().isEmpty() &&
SfxItemState::SET != rSet.GetItemState( RES_LR_SPACE, false) &&
SfxItemState::SET == rSet.GetItemState( RES_LR_SPACE, true, &pItem ) )