[Libreoffice-commits] core.git: drawinglayer/source dtrans/source

Andrea Gelmini andrea.gelmini at gelma.net
Sat Mar 25 17:12:18 UTC 2017


 drawinglayer/source/attribute/linestartendattribute.cxx      |    2 +-
 drawinglayer/source/geometry/viewinformation3d.cxx           |    2 +-
 drawinglayer/source/primitive2d/primitivetools2d.cxx         |    2 +-
 drawinglayer/source/primitive2d/textdecoratedprimitive2d.cxx |    2 +-
 drawinglayer/source/primitive2d/wrongspellprimitive2d.cxx    |    2 +-
 drawinglayer/source/primitive3d/hatchtextureprimitive3d.cxx  |    2 +-
 drawinglayer/source/primitive3d/sdrextrudelathetools3d.cxx   |    2 +-
 drawinglayer/source/processor2d/helperwrongspellrenderer.hxx |    2 +-
 drawinglayer/source/processor2d/vclhelperbufferdevice.hxx    |    2 +-
 drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx   |    2 +-
 drawinglayer/source/processor3d/zbufferprocessor3d.cxx       |    2 +-
 dtrans/source/win32/clipb/WinClipbImpl.cxx                   |    2 +-
 dtrans/source/win32/clipb/WinClipboard.hxx                   |    2 +-
 dtrans/source/win32/dnd/source.cxx                           |    2 +-
 dtrans/source/win32/dtobj/XTDataObject.cxx                   |    4 ++--
 15 files changed, 16 insertions(+), 16 deletions(-)

New commits:
commit ddc1429bf34bff7457849fbd6ff6cc96b87bfbba
Author: Andrea Gelmini <andrea.gelmini at gelma.net>
Date:   Fri Mar 24 14:43:46 2017 +0100

    Fix typos
    
    Change-Id: I85214642167d9c7876fd0fdc2cb7cf8e85765614
    Reviewed-on: https://gerrit.libreoffice.org/35627
    Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>
    Tested-by: Julien Nabet <serval2412 at yahoo.fr>

diff --git a/drawinglayer/source/attribute/linestartendattribute.cxx b/drawinglayer/source/attribute/linestartendattribute.cxx
index c156d2a66659..1c0c91c5fd5b 100644
--- a/drawinglayer/source/attribute/linestartendattribute.cxx
+++ b/drawinglayer/source/attribute/linestartendattribute.cxx
@@ -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,
diff --git a/drawinglayer/source/geometry/viewinformation3d.cxx b/drawinglayer/source/geometry/viewinformation3d.cxx
index 1e6693c0e517..ab16e6125d46 100644
--- a/drawinglayer/source/geometry/viewinformation3d.cxx
+++ b/drawinglayer/source/geometry/viewinformation3d.cxx
@@ -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)
             {
diff --git a/drawinglayer/source/primitive2d/primitivetools2d.cxx b/drawinglayer/source/primitive2d/primitivetools2d.cxx
index e98daad763bf..6507e9384f7e 100644
--- a/drawinglayer/source/primitive2d/primitivetools2d.cxx
+++ b/drawinglayer/source/primitive2d/primitivetools2d.cxx
@@ -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())
diff --git a/drawinglayer/source/primitive2d/textdecoratedprimitive2d.cxx b/drawinglayer/source/primitive2d/textdecoratedprimitive2d.cxx
index c97e37c7aae1..4d2abbfe5d3c 100644
--- a/drawinglayer/source/primitive2d/textdecoratedprimitive2d.cxx
+++ b/drawinglayer/source/primitive2d/textdecoratedprimitive2d.cxx
@@ -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()
diff --git a/drawinglayer/source/primitive2d/wrongspellprimitive2d.cxx b/drawinglayer/source/primitive2d/wrongspellprimitive2d.cxx
index f0e780264b36..cbb29d08f42b 100644
--- a/drawinglayer/source/primitive2d/wrongspellprimitive2d.cxx
+++ b/drawinglayer/source/primitive2d/wrongspellprimitive2d.cxx
@@ -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);
diff --git a/drawinglayer/source/primitive3d/hatchtextureprimitive3d.cxx b/drawinglayer/source/primitive3d/hatchtextureprimitive3d.cxx
index 2d0304deb5df..d8348b2689f4 100644
--- a/drawinglayer/source/primitive3d/hatchtextureprimitive3d.cxx
+++ b/drawinglayer/source/primitive3d/hatchtextureprimitive3d.cxx
@@ -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
diff --git a/drawinglayer/source/primitive3d/sdrextrudelathetools3d.cxx b/drawinglayer/source/primitive3d/sdrextrudelathetools3d.cxx
index b150120ee9d1..d79d5ffb0634 100644
--- a/drawinglayer/source/primitive3d/sdrextrudelathetools3d.cxx
+++ b/drawinglayer/source/primitive3d/sdrextrudelathetools3d.cxx
@@ -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())
diff --git a/drawinglayer/source/processor2d/helperwrongspellrenderer.hxx b/drawinglayer/source/processor2d/helperwrongspellrenderer.hxx
index f8f2bc6cde64..2cb8e10154ca 100644
--- a/drawinglayer/source/processor2d/helperwrongspellrenderer.hxx
+++ b/drawinglayer/source/processor2d/helperwrongspellrenderer.hxx
@@ -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
diff --git a/drawinglayer/source/processor2d/vclhelperbufferdevice.hxx b/drawinglayer/source/processor2d/vclhelperbufferdevice.hxx
index 6dcd5d88b3ee..d20eab478d9d 100644
--- a/drawinglayer/source/processor2d/vclhelperbufferdevice.hxx
+++ b/drawinglayer/source/processor2d/vclhelperbufferdevice.hxx
@@ -28,7 +28,7 @@
 namespace basegfx { class B2DRange; }
 
 
-// support methods for vcl direct gradient renderering
+// support methods for vcl direct gradient rendering
 
 namespace drawinglayer
 {
diff --git a/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx b/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx
index 4537422316a5..0d386d80a265 100644
--- a/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx
+++ b/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx
@@ -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();
diff --git a/drawinglayer/source/processor3d/zbufferprocessor3d.cxx b/drawinglayer/source/processor3d/zbufferprocessor3d.cxx
index 85cbe4fdef84..8b95d90659b2 100644
--- a/drawinglayer/source/processor3d/zbufferprocessor3d.cxx
+++ b/drawinglayer/source/processor3d/zbufferprocessor3d.cxx
@@ -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
diff --git a/dtrans/source/win32/clipb/WinClipbImpl.cxx b/dtrans/source/win32/clipb/WinClipbImpl.cxx
index 7abe063615ef..548a7ff4c5aa 100644
--- a/dtrans/source/win32/clipb/WinClipbImpl.cxx
+++ b/dtrans/source/win32/clipb/WinClipbImpl.cxx
@@ -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( );
 }
diff --git a/dtrans/source/win32/clipb/WinClipboard.hxx b/dtrans/source/win32/clipb/WinClipboard.hxx
index 09b2358648ff..92f7ff8ca9da 100644
--- a/dtrans/source/win32/clipb/WinClipboard.hxx
+++ b/dtrans/source/win32/clipb/WinClipboard.hxx
@@ -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
diff --git a/dtrans/source/win32/dnd/source.cxx b/dtrans/source/win32/dnd/source.cxx
index 43f6fa9ccbb5..b6d1d9a628bd 100644
--- a/dtrans/source/win32/dnd/source.cxx
+++ b/dtrans/source/win32/dnd/source.cxx
@@ -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
      ????
 */
diff --git a/dtrans/source/win32/dtobj/XTDataObject.cxx b/dtrans/source/win32/dtobj/XTDataObject.cxx
index 74d28b9e9f20..ed89eaf6dec4 100644
--- a/dtrans/source/win32/dtobj/XTDataObject.cxx
+++ b/dtrans/source/win32/dtobj/XTDataObject.cxx
@@ -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 )
 {


More information about the Libreoffice-commits mailing list