Kaydet (Commit) 8f9af8dd authored tarafından Andrea Gelmini's avatar Andrea Gelmini Kaydeden (comit) jan iversen

Fix typos

Change-Id: Ie44267e7c9f92eb1920f05235826abff761251f1
Reviewed-on: https://gerrit.libreoffice.org/29430Reviewed-by: 's avatarjan iversen <jani@documentfoundation.org>
Tested-by: 's avatarjan iversen <jani@documentfoundation.org>
üst 0c29c153
......@@ -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
......
......@@ -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.
......
......@@ -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;
......
......@@ -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;
......
......@@ -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.
......
......@@ -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
......
......@@ -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();
......
......@@ -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;
......
......@@ -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);
......
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