[Libreoffice-commits] core.git: basic/source compilerplugins/clang oox/source svx/source sw/source uitest/uitest

Andrea Gelmini andrea.gelmini at gelma.net
Fri Aug 4 22:33:27 UTC 2017


 basic/source/classes/sbunoobj.cxx           |    6 +++---
 compilerplugins/clang/checkunusedparams.cxx |    2 +-
 oox/source/drawingml/lineproperties.cxx     |    2 +-
 svx/source/dialog/framelink.cxx             |    2 +-
 svx/source/dialog/framelinkarray.cxx        |    4 ++--
 sw/source/core/layout/paintfrm.cxx          |    2 +-
 uitest/uitest/test.py                       |    2 +-
 7 files changed, 10 insertions(+), 10 deletions(-)

New commits:
commit 35a2d88288bfafe792f58906bdaad74a0135bb4a
Author: Andrea Gelmini <andrea.gelmini at gelma.net>
Date:   Sat Aug 5 00:08:53 2017 +0200

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

diff --git a/basic/source/classes/sbunoobj.cxx b/basic/source/classes/sbunoobj.cxx
index 771a6cd3da33..e90b52ea412c 100644
--- a/basic/source/classes/sbunoobj.cxx
+++ b/basic/source/classes/sbunoobj.cxx
@@ -4225,7 +4225,7 @@ void SAL_CALL ModuleInvocationProxy::setValue(const OUString& rProperty, const A
     SbMethod* pMeth = dynamic_cast<SbMethod*>( p );
     if( pMeth == nullptr )
     {
-        // TODO: Check vba behavior concernig missing function
+        // TODO: Check vba behavior concerning missing function
         //StarBASIC::Error( ERRCODE_BASIC_NO_METHOD, aFunctionName );
         throw UnknownPropertyException();
     }
@@ -4263,7 +4263,7 @@ Any SAL_CALL ModuleInvocationProxy::getValue(const OUString& rProperty)
     SbMethod* pMeth = dynamic_cast<SbMethod*>( p );
     if( pMeth == nullptr )
     {
-        // TODO: Check vba behavior concernig missing function
+        // TODO: Check vba behavior concerning missing function
         //StarBASIC::Error( ERRCODE_BASIC_NO_METHOD, aFunctionName );
         throw UnknownPropertyException();
     }
@@ -4318,7 +4318,7 @@ Any SAL_CALL ModuleInvocationProxy::invoke( const OUString& rFunction,
     SbMethod* pMeth = dynamic_cast<SbMethod*>( p );
     if( pMeth == nullptr )
     {
-        // TODO: Check vba behavior concernig missing function
+        // TODO: Check vba behavior concerning missing function
         //StarBASIC::Error( ERRCODE_BASIC_NO_METHOD, aFunctionName );
         return aRet;
     }
diff --git a/compilerplugins/clang/checkunusedparams.cxx b/compilerplugins/clang/checkunusedparams.cxx
index 9772b2f90889..2e56d6e7bd2a 100644
--- a/compilerplugins/clang/checkunusedparams.cxx
+++ b/compilerplugins/clang/checkunusedparams.cxx
@@ -63,7 +63,7 @@ void CheckUnusedParams::run()
     // leave this alone for now
     if (loplugin::hasPathnamePrefix(fn, SRCDIR "/libreofficekit/"))
          return;
-    // this has a certan pattern to it's code which appears to include lots of unused params
+    // this has a certain pattern to its code which appears to include lots of unused params
     if (loplugin::hasPathnamePrefix(fn, SRCDIR "/xmloff/"))
          return;
     // I believe someone is busy working on this chunk of code
diff --git a/oox/source/drawingml/lineproperties.cxx b/oox/source/drawingml/lineproperties.cxx
index 43495e709561..c30f4537302b 100644
--- a/oox/source/drawingml/lineproperties.cxx
+++ b/oox/source/drawingml/lineproperties.cxx
@@ -245,7 +245,7 @@ void lclPushMarkerProperties( ShapePropertyMap& rPropMap,
 // pass X and Y as percentage to OOX_ARROW_POINT
 #define OOX_ARROW_POINT( x, y ) awt::Point( static_cast< sal_Int32 >( fArrowWidth * ( x ) ), static_cast< sal_Int32 >( fArrowLength * ( y ) ) )
             // tdf#100491 Arrow line marker, unlike other markers, depends on line width.
-            // So calculate width of half line (more convinient during drawing) taking into account
+            // So calculate width of half line (more convenient during drawing) taking into account
             // further conversions/scaling done in OOX_ARROW_POINT macro and scaling to nMarkerWidth.
             const double fArrowLineHalfWidth = ::std::max< double >( 100.0 * 0.5 * nLineWidth / nMarkerWidth, 1 );
 
diff --git a/svx/source/dialog/framelink.cxx b/svx/source/dialog/framelink.cxx
index 9bb3830b421d..fff63888d760 100644
--- a/svx/source/dialog/framelink.cxx
+++ b/svx/source/dialog/framelink.cxx
@@ -585,7 +585,7 @@ void CreateBorderPrimitives(
         else if (2 == myOffsets.size())
         {
             // we are a double edge, calculate cuts with edges coming from above/below
-            // for both edges to detect the line start/end extensions. In the furure this
+            // for both edges to detect the line start/end extensions. In the future this
             // needs to be extended to use two values per extension, getComplexExtendedLineValues
             // internally prepares these already. drawinglayer::primitive2d::BorderLine will
             // then need to take these double entries (maybe a pair) and use them internally.
diff --git a/svx/source/dialog/framelinkarray.cxx b/svx/source/dialog/framelinkarray.cxx
index 04d0d2ac2b6d..5c87cf33943b 100644
--- a/svx/source/dialog/framelinkarray.cxx
+++ b/svx/source/dialog/framelinkarray.cxx
@@ -967,7 +967,7 @@ void CreateCoordinateSystemForCell(
             rOrigin.setX(rOrigin.getX() + fSkew);
             rY.setX(-fSkew);
             break;
-        default: // SvxRotateMode::SVX_ROTATE_MODE_STANDARD, altready excluded above
+        default: // SvxRotateMode::SVX_ROTATE_MODE_STANDARD, already excluded above
             break;
         }
     }
@@ -1280,7 +1280,7 @@ void Array::DrawRange( drawinglayer::processor2d::BaseProcessor2D& rProcessor,
                         // The *coordinate system* of the edge has to be given, which for vertical
                         // lines uses the Y-Vector as X-Axis and the X-Vector as Y-Axis, so swap both
                         // and mirror aX to keep the same orientation (should be (-1.0, 0.0) for
-                        // horizontal lines anyways, this could be used as thest here, checked in debug mode)
+                        // horizontal lines anyways, this could be used as test here, checked in debug mode)
                         std::swap(aX, aY);
                         aY.normalize();
                         aY = -aY;
diff --git a/sw/source/core/layout/paintfrm.cxx b/sw/source/core/layout/paintfrm.cxx
index 4c23869dad9d..a2c2bd01404d 100644
--- a/sw/source/core/layout/paintfrm.cxx
+++ b/sw/source/core/layout/paintfrm.cxx
@@ -2736,7 +2736,7 @@ void SwTabFramePainter::PaintLines(OutputDevice& rDev, const SwRect& rRect) cons
                     // Writer creates it's vertical BorderLines bottom-to-top (see below).
                     // To make the horizontal lines correctly 'guess' the line extensions
                     // for the then mirrored svx::frame::Style for irregular double lines,
-                    // hand over the for that case correct orientatoin of the 'other'
+                    // hand over the for that case correct orientation of the 'other'
                     // incoming edges
                     -aY,
 
diff --git a/uitest/uitest/test.py b/uitest/uitest/test.py
index 58f4ec4e64b2..0318dfa64d81 100644
--- a/uitest/uitest/test.py
+++ b/uitest/uitest/test.py
@@ -198,7 +198,7 @@ class UITest(object):
         with EventListener(self._xContext, ["DialogExecute", "ModelessDialogExecute"]) as event:
             thread.start()
             time_ = 0
-            # we are not necessarily opeinging a dialog, so wait much longer
+            # we are not necessarily opening a dialog, so wait much longer
             while time_ < 10 * MAX_WAIT:
                 if event.executed:
                     xDlg = self._xUITest.getTopFocusWindow()


More information about the Libreoffice-commits mailing list