[Libreoffice-commits] core.git: basegfx/source basic/source chart2/source compilerplugins/clang UnoControls/source

Andrea Gelmini andrea.gelmini at gelma.net
Mon Oct 3 13:46:11 UTC 2016


 UnoControls/source/base/basecontrol.cxx                      |    2 +-
 UnoControls/source/controls/OConnectionPointHelper.cxx       |   10 +++++-----
 UnoControls/source/controls/progressmonitor.cxx              |    2 +-
 UnoControls/source/controls/statusindicator.cxx              |    2 +-
 basegfx/source/polygon/b2dpolypolygoncutter.cxx              |    2 +-
 basic/source/comp/parser.cxx                                 |    2 +-
 basic/source/runtime/runtime.cxx                             |    4 ++--
 chart2/source/tools/ExponentialRegressionCurveCalculator.cxx |    2 +-
 compilerplugins/clang/fragiledestructor.cxx                  |    2 +-
 9 files changed, 14 insertions(+), 14 deletions(-)

New commits:
commit 8f9af8dd970d8e2a620beb35a6ce145d65d18df5
Author: Andrea Gelmini <andrea.gelmini at gelma.net>
Date:   Sat Oct 1 12:50:37 2016 +0200

    Fix typos
    
    Change-Id: Ie44267e7c9f92eb1920f05235826abff761251f1
    Reviewed-on: https://gerrit.libreoffice.org/29430
    Reviewed-by: jan iversen <jani at documentfoundation.org>
    Tested-by: jan iversen <jani at documentfoundation.org>

diff --git a/UnoControls/source/base/basecontrol.cxx b/UnoControls/source/base/basecontrol.cxx
index f689ed2..2bbf465 100644
--- a/UnoControls/source/base/basecontrol.cxx
+++ b/UnoControls/source/base/basecontrol.cxx
@@ -746,7 +746,7 @@ void BaseControl::impl_paint(           sal_Int32               /*nX*/
 {
     // - one paint method for peer AND view !!!
     //   (see also => "windowPaint()" and "draw()")
-    // - not used in this implementation, but its not necessary to make it pure virtual !!!
+    // - not used in this implementation, but it's not necessary to make it pure virtual !!!
 }
 
 //  protected method
diff --git a/UnoControls/source/controls/OConnectionPointHelper.cxx b/UnoControls/source/controls/OConnectionPointHelper.cxx
index 13ec1bf..28692a4 100644
--- a/UnoControls/source/controls/OConnectionPointHelper.cxx
+++ b/UnoControls/source/controls/OConnectionPointHelper.cxx
@@ -104,7 +104,7 @@ Type SAL_CALL OConnectionPointHelper::getConnectionType() throw( RuntimeExceptio
     // Set default return value, if method failed.
     if ( !impl_LockContainer() )
     {
-        // Container not exist! Its an runtime error.
+        // Container not exist! It's a runtime error.
         throw RuntimeException();
     }
 
@@ -144,13 +144,13 @@ void SAL_CALL OConnectionPointHelper::advise( const Reference< XInterface >& xLi
     }
 
     // ListenerExistException is obsolete!?
-    // Its the same container for XConnectionPointContainer and XConnectionPoint. But only here we must control, if a listener already exist!?
+    // It's the same container for XConnectionPointContainer and XConnectionPoint. But only here we must control, if a listener already exist!?
     // You can add a listener more than one time at XConnectionPointContainer, but here only one ...
 
     // Operation is permitted only, if reference to container is valid!
     if ( !impl_LockContainer() )
     {
-        // Container not exist! Its an runtime error.
+        // Container not exist! It's a runtime error.
         throw RuntimeException();
     }
     // Forward it to OConnectionPointHelperContainer!
@@ -168,7 +168,7 @@ void SAL_CALL OConnectionPointHelper::unadvise( const Reference< XInterface >& x
     // Operation is permitted only, if reference to container is valid!
     if ( !impl_LockContainer() )
     {
-        // Container not exist! Its an runtime error.
+        // Container not exist! It's a runtime error.
         throw RuntimeException();
 
     }
@@ -187,7 +187,7 @@ Sequence< Reference< XInterface > > SAL_CALL OConnectionPointHelper::getConnecti
     // Operation is permitted only, if reference to container is valid!
     if ( !impl_LockContainer() )
     {
-        // Container not exist! Its an runtime error.
+        // Container not exist! It's a runtime error.
         throw RuntimeException();
     }
     // Set default return value, if method failed.
diff --git a/UnoControls/source/controls/progressmonitor.cxx b/UnoControls/source/controls/progressmonitor.cxx
index 635e0ea..7016e34 100644
--- a/UnoControls/source/controls/progressmonitor.cxx
+++ b/UnoControls/source/controls/progressmonitor.cxx
@@ -46,7 +46,7 @@ namespace unocontrols{
 ProgressMonitor::ProgressMonitor( const css::uno::Reference< XComponentContext >& rxContext )
     : BaseContainerControl  ( rxContext  )
 {
-    // Its not allowed to work with member in this method (refcounter !!!)
+    // It's not allowed to work with member in this method (refcounter !!!)
     // But with a HACK (++refcount) its "OK" :-(
     ++m_refCount;
 
diff --git a/UnoControls/source/controls/statusindicator.cxx b/UnoControls/source/controls/statusindicator.cxx
index 75b5c87..8df082e 100644
--- a/UnoControls/source/controls/statusindicator.cxx
+++ b/UnoControls/source/controls/statusindicator.cxx
@@ -40,7 +40,7 @@ namespace unocontrols{
 StatusIndicator::StatusIndicator( const css::uno::Reference< XComponentContext >& rxContext )
     : BaseContainerControl  ( rxContext  )
 {
-    // Its not allowed to work with member in this method (refcounter !!!)
+    // It's not allowed to work with member in this method (refcounter !!!)
     // But with a HACK (++refcount) its "OK" :-(
     ++m_refCount;
 
diff --git a/basegfx/source/polygon/b2dpolypolygoncutter.cxx b/basegfx/source/polygon/b2dpolypolygoncutter.cxx
index 5cbf316..dce8afd 100644
--- a/basegfx/source/polygon/b2dpolypolygoncutter.cxx
+++ b/basegfx/source/polygon/b2dpolypolygoncutter.cxx
@@ -540,7 +540,7 @@ namespace basegfx
                             const sal_uInt32 nCandCount(aCandidate.count());
 
                             // If it's not a bezier curve, at least three points would be needed to have a
-                            // topological relevant (not empty) polygon. Since its not known here if trivial
+                            // topological relevant (not empty) polygon. Since it's not known here if trivial
                             // edges (dead ends) will be kept or sorted out, add non-bezier polygons with
                             // more than one point.
                             // For bezier curves, the minimum for defining an area is also one.
diff --git a/basic/source/comp/parser.cxx b/basic/source/comp/parser.cxx
index 70f210d..1dda3110 100644
--- a/basic/source/comp/parser.cxx
+++ b/basic/source/comp/parser.cxx
@@ -606,7 +606,7 @@ void SbiParser::Set()
         SbiExpression aExpr( this );
         aLvalue.Gen();
         aExpr.Gen();
-        // Its a good idea to distinguish between
+        // It's a good idea to distinguish between
         // set something = another &
         // something = another
         // ( its necessary for vba objects where set is object
diff --git a/basic/source/runtime/runtime.cxx b/basic/source/runtime/runtime.cxx
index 6082437..643c1a2 100644
--- a/basic/source/runtime/runtime.cxx
+++ b/basic/source/runtime/runtime.cxx
@@ -1034,7 +1034,7 @@ void SbiRuntime::TOSMakeTemp()
         pDflt->Broadcast( SBX_HINT_DATAWANTED );
         // replacing new p on stack causes object pointed by
         // pDft->pParent to be deleted, when p2->Compute() is
-        // called below pParent is accessed ( but its deleted )
+        // called below pParent is accessed (but it's deleted)
         // so set it to NULL now
         pDflt->SetParent( nullptr );
         p = new SbxVariable( *pDflt );
@@ -1855,7 +1855,7 @@ void SbiRuntime::StepSET_Impl( SbxVariableRef& refVal, SbxVariableRef& refVar, b
                 pObj = dynamic_cast<SbxObject*>( refVar.get() );
 
                 // calling GetObject on a SbxEMPTY variable raises
-                // object not set errors, make sure its an Object
+                // object not set errors, make sure it's an Object
                 if ( !pObj && refVar->GetType() == SbxOBJECT )
                 {
                     SbxBase* pObjVarObj = refVar->GetObject();
diff --git a/chart2/source/tools/ExponentialRegressionCurveCalculator.cxx b/chart2/source/tools/ExponentialRegressionCurveCalculator.cxx
index 7b62504..491f43a 100644
--- a/chart2/source/tools/ExponentialRegressionCurveCalculator.cxx
+++ b/chart2/source/tools/ExponentialRegressionCurveCalculator.cxx
@@ -171,7 +171,7 @@ OUString ExponentialRegressionCurveCalculator::ImplGetRepresentation(
         if ( m_fSign < 0.0 )
             nCharMin += 2;
         if ( fIntercept == 0.0 || ( !bHasSlope && m_fLogIntercept != 0.0 ) )
-            nCharMin += 3; // " + " special case where equation is writen exp( a + b x )
+            nCharMin += 3; // " + " special case where equation is written exp( a + b x )
         if ( ( bHasIntercept || fIntercept == 0.0 || ( !bHasSlope && m_fLogIntercept != 0.0 ) ) &&
                bHasLogSlope )
             nValueLength = ( *pFormulaMaxWidth - nCharMin ) / 2;
diff --git a/compilerplugins/clang/fragiledestructor.cxx b/compilerplugins/clang/fragiledestructor.cxx
index d4b7e61..e17418b 100644
--- a/compilerplugins/clang/fragiledestructor.cxx
+++ b/compilerplugins/clang/fragiledestructor.cxx
@@ -52,7 +52,7 @@ bool FragileDestructor::TraverseCXXDestructorDecl(CXXDestructorDecl* pCXXDestruc
         || aFileName.startswith(SRCDIR "/include/cppuhelper/")
         || aFileName.startswith(SRCDIR "/cppuhelper/")
         || aFileName.startswith(SRCDIR "/comphelper/")
-        // dont know how to detect this in clang - it is making an explicit call to it's own method, so presumably OK
+        // don't know how to detect this in clang - it is making an explicit call to it's own method, so presumably OK
         || aFileName == SRCDIR "/basic/source/sbx/sbxvalue.cxx"
        )
         return RecursiveASTVisitor::TraverseCXXDestructorDecl(pCXXDestructorDecl);


More information about the Libreoffice-commits mailing list