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

Fix typos

Change-Id: I85214642167d9c7876fd0fdc2cb7cf8e85765614
Reviewed-on: https://gerrit.libreoffice.org/35627Reviewed-by: 's avatarJulien Nabet <serval2412@yahoo.fr>
Tested-by: 's avatarJulien Nabet <serval2412@yahoo.fr>
üst 98f18df0
......@@ -34,7 +34,7 @@ namespace drawinglayer
double mfWidth; // absolute line StartEndGeometry base width
basegfx::B2DPolyPolygon maPolyPolygon; // the StartEndGeometry PolyPolygon
bool mbCentered : 1; // use centered to ineStart/End point?
bool mbCentered : 1; // use centered to lineStart/End point?
ImpLineStartEndAttribute(
double fWidth,
......
......@@ -120,7 +120,7 @@ namespace drawinglayer
return OUString("Time");
}
// a central PropertyValue parsing method to allow transportatin of
// a central PropertyValue parsing method to allow transportation of
// all ViewParameters using UNO API
void impInterpretPropertyValues(const uno::Sequence< beans::PropertyValue >& rViewParameters)
{
......
......@@ -121,7 +121,7 @@ namespace drawinglayer
{
::osl::MutexGuard aGuard( m_aMutex );
// get the current ViewTransfromation
// get the current ViewTransformation
const basegfx::B2DHomMatrix& rViewTransformation = rViewInformation.getViewTransformation();
if(!getBuffered2DDecomposition().empty() && rViewTransformation != getViewTransformation())
......
......@@ -375,7 +375,7 @@ namespace drawinglayer
basegfx::B2DRange TextDecoratedPortionPrimitive2D::getB2DRange(const geometry::ViewInformation2D& rViewInformation) const
{
// check if this needs to be a TextDecoratedPortionPrimitive2D or
// if a TextSimplePortionPrimitive2D would be suficcient
// if a TextSimplePortionPrimitive2D would be sufficient
if (TEXT_LINE_NONE != getFontOverline()
|| TEXT_LINE_NONE != getFontUnderline()
|| TEXT_STRIKEOUT_NONE != getTextStrikeout()
......
......@@ -52,7 +52,7 @@ namespace drawinglayer
const double fUnderlineDistance(fFontHeight * fDefaultDistance);
const double fWaveWidth(2.0 * fUnderlineDistance);
// the Y-distance needs to be relativated to FontHeight since the points get
// the Y-distance needs to be relative to FontHeight since the points get
// transformed with the transformation containing that scale already.
const double fRelativeUnderlineDistance(basegfx::fTools::equalZero(aScale.getY()) ? 0.0 : fUnderlineDistance / aScale.getY());
basegfx::B2DPoint aStart(getStart(), fRelativeUnderlineDistance);
......
......@@ -215,7 +215,7 @@ namespace drawinglayer
a2D.invert();
a2DHatchLines.transform(a2D);
// expand back-transformated geometry tpo 3D
// expand back-transformed geometry to 3D
basegfx::B3DPolyPolygon a3DHatchLines(basegfx::tools::createB3DPolyPolygonFromB2DPolyPolygon(a2DHatchLines, 0.0));
// create 3d matrix with 3d vectors as column vectors (0,0,1 as Z) and 3d point as offset, this represents
......
......@@ -905,7 +905,7 @@ namespace drawinglayer
{
const sal_uInt32 nPointCount(rLoopA.count());
// with identic polygons there are no outlines
// with identical polygons there are no outlines
if(rLoopA != rLoopB)
{
if(nPointCount && nPointCount == rLoopB.count())
......
......@@ -37,7 +37,7 @@ namespace basegfx {
}
// support WrongSpell rendreing using VCL from primitives due to VCLs nice
// support WrongSpell rendering using VCL from primitives due to VCLs nice
// and fast solution with wavelines
namespace drawinglayer
......
......@@ -28,7 +28,7 @@
namespace basegfx { class B2DRange; }
// support methods for vcl direct gradient renderering
// support methods for vcl direct gradient rendering
namespace drawinglayer
{
......
......@@ -1813,7 +1813,7 @@ namespace drawinglayer
{
// for metafile: Need to examine what the pure vcl version is doing here actually
// - uses DrawTransparent with metafile for content and a gradient
// - uses DrawTransparent for single PolyPoylgons directly. Can be detected by
// - uses DrawTransparent for single PolyPolygons directly. Can be detected by
// checking the content for single PolyPolygonColorPrimitive2D
const primitive2d::UnifiedTransparencePrimitive2D& rUniTransparenceCandidate = static_cast< const primitive2d::UnifiedTransparencePrimitive2D& >(rCandidate);
const primitive2d::Primitive2DContainer& rContent = rUniTransparenceCandidate.getChildren();
......
......@@ -47,7 +47,7 @@ private:
basegfx::ip_double maIntTexture;
basegfx::ip_triple maIntInvTexture;
// current material to use for ratsreconversion
// current material to use for rasterconversion
const drawinglayer::attribute::MaterialAttribute3D* mpCurrentMaterial;
// some boolean flags for line span interpolator usages
......
......@@ -176,7 +176,7 @@ void WINAPI CWinClipbImpl::onClipboardContentChanged()
{
MutexGuard aGuard( s_aMutex );
// reassocition to instance through static member
// reassociation to instance through static member
if ( nullptr != s_pCWinClipbImpl )
s_pCWinClipbImpl->m_pWinClipboard->notifyAllClipboardListener( );
}
......
......@@ -41,7 +41,7 @@ class CWinClipbImpl;
// implements the XClipboard[Ex] ... interfaces
// for the clipboard viewer mechanism we need a static callback function
// and a static member to reasocciate from this static function to the
// and a static member to reassociate from this static function to the
// class instance
// watch out: we are using only one static member variable and not a list
// because we assume to be instantiated only once
......
......@@ -67,7 +67,7 @@ DragSource::~DragSource()
????
Do we really need a separate thread for
every Dnd opeartion or only if the source
every Dnd operation or only if the source
thread is an MTA thread
????
*/
......
......@@ -371,7 +371,7 @@ void SAL_CALL CXTDataObject::renderAnyDataAndSetupStgMedium(
if ( CDataFormatTranslator::isOemOrAnsiTextFormat( fetc.cfFormat ) )
nRequiredMemSize = sizeof( sal_Int8 ) * clipDataStream.getLength( ) + 1;
// prepare data for transmision
// prepare data for transmission
// #i124085# DIBV5 should not happen for now, but keep as hint here
if ( CF_DIBV5 == fetc.cfFormat || CF_DIB == fetc.cfFormat )
{
......@@ -478,7 +478,7 @@ void SAL_CALL CXTDataObject::renderSynthesizedUnicodeAndSetupStgMedium( FORMATET
setupStgMedium( fetc, stgTransfHelper, stgmedium );
}
// the transferable must have only unicode text so we will sythesize text
// the transferable must have only unicode text so we will synthesize text
void SAL_CALL CXTDataObject::renderSynthesizedTextAndSetupStgMedium( FORMATETC& fetc, STGMEDIUM& stgmedium )
{
......
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