[Libreoffice-commits] core.git: basegfx/source drawinglayer/source include/drawinglayer include/vcl sd/source svx/source vcl/source
Tor Lillqvist
tml at collabora.com
Tue Jul 7 04:31:45 PDT 2015
basegfx/source/polygon/b3dpolygontools.cxx | 2 +-
basegfx/source/polygon/b3dpolypolygontools.cxx | 2 +-
drawinglayer/source/primitive2d/patternfillprimitive2d.cxx | 2 +-
drawinglayer/source/primitive2d/sceneprimitive2d.cxx | 2 +-
include/drawinglayer/primitive2d/svggradientprimitive2d.hxx | 8 ++++----
include/vcl/bitmapex.hxx | 2 +-
sd/source/ui/accessibility/AccessibleViewForwarder.cxx | 4 ++--
sd/source/ui/slidesorter/view/SlsLayouter.cxx | 2 +-
svx/source/engine3d/e3dsceneupdater.cxx | 2 +-
svx/source/engine3d/obj3d.cxx | 2 +-
vcl/source/outdev/outdev.cxx | 2 +-
vcl/source/window/floatwin.cxx | 4 ++--
12 files changed, 17 insertions(+), 17 deletions(-)
New commits:
commit 33de79f434bdeab591dd8146cad12657d2e8ad34
Author: Tor Lillqvist <tml at collabora.com>
Date: Tue Jul 7 14:30:31 2015 +0300
Fix some misspellings
Change-Id: Iff2303650e1dcfc56064907a28df1c4c452eac56
diff --git a/basegfx/source/polygon/b3dpolygontools.cxx b/basegfx/source/polygon/b3dpolygontools.cxx
index 62904d6..4883a3a 100644
--- a/basegfx/source/polygon/b3dpolygontools.cxx
+++ b/basegfx/source/polygon/b3dpolygontools.cxx
@@ -401,7 +401,7 @@ namespace basegfx
{
double fX(fOne - ((atan2(aVector.getZ(), aVector.getX()) + F_PI) / F_2PI));
- // correct cartesinan point coordiante dependent from center value
+ // correct cartesian point coordinate dependent from center value
if(fX > fXCenter + 0.5)
{
fX -= fOne;
diff --git a/basegfx/source/polygon/b3dpolypolygontools.cxx b/basegfx/source/polygon/b3dpolypolygontools.cxx
index 0f74f6e..53498fe 100644
--- a/basegfx/source/polygon/b3dpolypolygontools.cxx
+++ b/basegfx/source/polygon/b3dpolypolygontools.cxx
@@ -221,7 +221,7 @@ namespace basegfx
return aRetval;
}
- // helper for getting the 3D Point from given cartesian coordiantes. fHor is defined from
+ // helper for getting the 3D Point from given cartesian coordinates. fHor is defined from
// [F_PI2 .. -F_PI2], fVer from [0.0 .. F_2PI]
inline B3DPoint getPointFromCartesian(double fHor, double fVer)
{
diff --git a/drawinglayer/source/primitive2d/patternfillprimitive2d.cxx b/drawinglayer/source/primitive2d/patternfillprimitive2d.cxx
index 2e4357e..19140d9 100644
--- a/drawinglayer/source/primitive2d/patternfillprimitive2d.cxx
+++ b/drawinglayer/source/primitive2d/patternfillprimitive2d.cxx
@@ -80,7 +80,7 @@ namespace drawinglayer
aContent);
}
- // transform result which is in unit coordinates to mask's object coordiantes
+ // transform result which is in unit coordinates to mask's object coordinates
{
const basegfx::B2DHomMatrix aMaskTransform(
basegfx::tools::createScaleTranslateB2DHomMatrix(
diff --git a/drawinglayer/source/primitive2d/sceneprimitive2d.cxx b/drawinglayer/source/primitive2d/sceneprimitive2d.cxx
index a424610..f3042c0 100644
--- a/drawinglayer/source/primitive2d/sceneprimitive2d.cxx
+++ b/drawinglayer/source/primitive2d/sceneprimitive2d.cxx
@@ -237,7 +237,7 @@ namespace drawinglayer
// and not yet flipped in Y
basegfx::B3DHomMatrix aExtendedProjection(aViewInformation3D.getProjection());
- // bring to unit coordiantes, flip Y, leave Z unchanged
+ // bring to unit coordinates, flip Y, leave Z unchanged
aExtendedProjection.scale(0.5, -0.5, 1.0);
aExtendedProjection.translate(0.5, 0.5, 0.0);
diff --git a/include/drawinglayer/primitive2d/svggradientprimitive2d.hxx b/include/drawinglayer/primitive2d/svggradientprimitive2d.hxx
index 2bc6e54..be827f4 100644
--- a/include/drawinglayer/primitive2d/svggradientprimitive2d.hxx
+++ b/include/drawinglayer/primitive2d/svggradientprimitive2d.hxx
@@ -305,14 +305,14 @@ namespace drawinglayer
{
namespace primitive2d
{
- /* basic primitive for a single linear GradientRun in unit coordiantes.
+ /* basic primitive for a single linear GradientRun in unit coordinates.
It's derived from DiscreteMetricDependentPrimitive2D to allow view-dependent
decompositions allowing reduced color steps
**/
class DRAWINGLAYER_DLLPUBLIC SvgLinearAtomPrimitive2D : public DiscreteMetricDependentPrimitive2D
{
private:
- /// the geometric definition in unit coordiantes
+ /// the geometric definition in unit coordinates
basegfx::BColor maColorA;
basegfx::BColor maColorB;
double mfOffsetA;
@@ -351,14 +351,14 @@ namespace drawinglayer
{
namespace primitive2d
{
- /* basic primitive for a single radial GradientRun in unit coordiantes.
+ /* basic primitive for a single radial GradientRun in unit coordinates.
It's derived from DiscreteMetricDependentPrimitive2D to allow view-dependent
decompositions allowing reduced color steps
**/
class DRAWINGLAYER_DLLPUBLIC SvgRadialAtomPrimitive2D : public DiscreteMetricDependentPrimitive2D
{
private:
- /// the geometric definition in unit coordiantes
+ /// the geometric definition in unit coordinates
basegfx::BColor maColorA;
basegfx::BColor maColorB;
double mfScaleA;
diff --git a/include/vcl/bitmapex.hxx b/include/vcl/bitmapex.hxx
index 096e2a0..3eee859 100644
--- a/include/vcl/bitmapex.hxx
+++ b/include/vcl/bitmapex.hxx
@@ -401,7 +401,7 @@ public:
@param rTransformation
The back transformation for each pixel in (0 .. fWidth),(0 .. fHeight) to
- local pixel coordiantes
+ local pixel coordinates
@param bSmooth
Defines if pixel interpolation is to be used to create the result
diff --git a/sd/source/ui/accessibility/AccessibleViewForwarder.cxx b/sd/source/ui/accessibility/AccessibleViewForwarder.cxx
index f110a6b..e4b3c46 100644
--- a/sd/source/ui/accessibility/AccessibleViewForwarder.cxx
+++ b/sd/source/ui/accessibility/AccessibleViewForwarder.cxx
@@ -73,8 +73,8 @@ Rectangle AccessibleViewForwarder::GetVisibleArea() const
return aVisibleArea;
}
-/** Tansform the given point into pixel coordiantes. After the pixel
- coordiantes of the window origin are added to make the point coordinates
+/** Tansform the given point into pixel coordinates. After the pixel
+ coordinates of the window origin are added to make the point coordinates
absolute.
*/
Point AccessibleViewForwarder::LogicToPixel (const Point& rPoint) const
diff --git a/sd/source/ui/slidesorter/view/SlsLayouter.cxx b/sd/source/ui/slidesorter/view/SlsLayouter.cxx
index 3186733..0f960e2 100644
--- a/sd/source/ui/slidesorter/view/SlsLayouter.cxx
+++ b/sd/source/ui/slidesorter/view/SlsLayouter.cxx
@@ -134,7 +134,7 @@ public:
The row index of the upper row or the column index of the left
column.
@param nGap
- Width or height of the gap in model coordiantes between the
+ Width or height of the gap in model coordinates between the
page borders.
@return
Returns either the index of the upper row (as given as nRow), the
diff --git a/svx/source/engine3d/e3dsceneupdater.cxx b/svx/source/engine3d/e3dsceneupdater.cxx
index b2bced0..b059bf5 100644
--- a/svx/source/engine3d/e3dsceneupdater.cxx
+++ b/svx/source/engine3d/e3dsceneupdater.cxx
@@ -96,7 +96,7 @@ E3DModifySceneSnapRectUpdater::~E3DModifySceneSnapRectUpdater()
aAllContentRange.getMinX(), aAllContentRange.getMinY(),
aAllContentRange.getMaxX(), aAllContentRange.getMaxY());
- // transform to 2D world coordiantes using scene's 2D transformation
+ // transform to 2D world coordinates using scene's 2D transformation
aSnapRange.transform(rVCScene.getObjectTransformation());
// snap to (old) integer
diff --git a/svx/source/engine3d/obj3d.cxx b/svx/source/engine3d/obj3d.cxx
index ef50b3d..91d2d3d 100644
--- a/svx/source/engine3d/obj3d.cxx
+++ b/svx/source/engine3d/obj3d.cxx
@@ -926,7 +926,7 @@ void E3dCompoundObject::RecalcSnapRect()
aBoundVolume.getMinX(), aBoundVolume.getMinY(),
aBoundVolume.getMaxX(), aBoundVolume.getMaxY());
- // transform to 2D world coordiantes
+ // transform to 2D world coordinates
const sdr::contact::ViewContactOfE3dScene& rVCScene = static_cast< sdr::contact::ViewContactOfE3dScene& >(pRootScene->GetViewContact());
aSnapRange.transform(rVCScene.getObjectTransformation());
diff --git a/vcl/source/outdev/outdev.cxx b/vcl/source/outdev/outdev.cxx
index 0b6d0aa..daaea0a 100644
--- a/vcl/source/outdev/outdev.cxx
+++ b/vcl/source/outdev/outdev.cxx
@@ -757,7 +757,7 @@ bool OutputDevice::ImplIsAntiparallel() const
return bRet;
}
-// note: the coordinates to be remirrored are in frame coordiantes !
+// note: the coordinates to be remirrored are in frame coordinates !
void OutputDevice::ReMirror( Point &rPoint ) const
{
diff --git a/vcl/source/window/floatwin.cxx b/vcl/source/window/floatwin.cxx
index 78dcefd..4ae7683 100644
--- a/vcl/source/window/floatwin.cxx
+++ b/vcl/source/window/floatwin.cxx
@@ -462,7 +462,7 @@ FloatingWindow* FloatingWindow::ImplFloatHitTest( vcl::Window* pReference, const
if( pReference->HasMirroredGraphics() )
{
if(!pReference->IsRTLEnabled() )
- // --- RTL --- re-mirror back to get device coordiantes
+ // --- RTL --- re-mirror back to get device coordinates
pWindowOutDev->ReMirror( aAbsolute );
Rectangle aRect( pReference->ScreenToOutputPixel(aAbsolute), Size(1,1) ) ;
@@ -677,7 +677,7 @@ void FloatingWindow::StartPopupMode( const Rectangle& rRect, FloatWinPopupFlags
if( pReference->HasMirroredGraphics() )
{
if(!pReference->IsRTLEnabled() )
- // --- RTL --- re-mirror back to get device coordiantes
+ // --- RTL --- re-mirror back to get device coordinates
pParentWinOutDev->ReMirror(maFloatRect);
maFloatRect.SetPos(pReference->ScreenToOutputPixel(maFloatRect.TopLeft()));
More information about the Libreoffice-commits
mailing list