Kaydet (Commit) 86b8c063 authored tarafından Andrea Gelmini's avatar Andrea Gelmini Kaydeden (comit) Julien Nabet

Fix typos

Change-Id: I964528cf4f3b81230c683011e1878b28378b0014
Reviewed-on: https://gerrit.libreoffice.org/44915Reviewed-by: 's avatarJulien Nabet <serval2412@yahoo.fr>
Tested-by: 's avatarJulien Nabet <serval2412@yahoo.fr>
üst 2b2f1352
......@@ -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
......
......@@ -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 );
......
......@@ -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);
......
......@@ -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>
......
......@@ -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
......
......@@ -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
......
......@@ -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
......
......@@ -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.
......
......@@ -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 ) )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment