Fix typos
Change-Id: Ie44267e7c9f92eb1920f05235826abff761251f1 Reviewed-on: https://gerrit.libreoffice.org/29430 Reviewed-by: jan iversen <jani@documentfoundation.org> Tested-by: jan iversen <jani@documentfoundation.org>
This commit is contained in:
parent
0c29c15346
commit
8f9af8dd97
@ -746,7 +746,7 @@ void BaseControl::impl_paint( sal_Int32 /*nX*/
|
|||||||
{
|
{
|
||||||
// - one paint method for peer AND view !!!
|
// - one paint method for peer AND view !!!
|
||||||
// (see also => "windowPaint()" and "draw()")
|
// (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
|
// protected method
|
||||||
|
@ -104,7 +104,7 @@ Type SAL_CALL OConnectionPointHelper::getConnectionType() throw( RuntimeExceptio
|
|||||||
// Set default return value, if method failed.
|
// Set default return value, if method failed.
|
||||||
if ( !impl_LockContainer() )
|
if ( !impl_LockContainer() )
|
||||||
{
|
{
|
||||||
// Container not exist! Its an runtime error.
|
// Container not exist! It's a runtime error.
|
||||||
throw RuntimeException();
|
throw RuntimeException();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -144,13 +144,13 @@ void SAL_CALL OConnectionPointHelper::advise( const Reference< XInterface >& xLi
|
|||||||
}
|
}
|
||||||
|
|
||||||
// ListenerExistException is obsolete!?
|
// 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 ...
|
// 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!
|
// Operation is permitted only, if reference to container is valid!
|
||||||
if ( !impl_LockContainer() )
|
if ( !impl_LockContainer() )
|
||||||
{
|
{
|
||||||
// Container not exist! Its an runtime error.
|
// Container not exist! It's a runtime error.
|
||||||
throw RuntimeException();
|
throw RuntimeException();
|
||||||
}
|
}
|
||||||
// Forward it to OConnectionPointHelperContainer!
|
// 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!
|
// Operation is permitted only, if reference to container is valid!
|
||||||
if ( !impl_LockContainer() )
|
if ( !impl_LockContainer() )
|
||||||
{
|
{
|
||||||
// Container not exist! Its an runtime error.
|
// Container not exist! It's a runtime error.
|
||||||
throw RuntimeException();
|
throw RuntimeException();
|
||||||
|
|
||||||
}
|
}
|
||||||
@ -187,7 +187,7 @@ Sequence< Reference< XInterface > > SAL_CALL OConnectionPointHelper::getConnecti
|
|||||||
// Operation is permitted only, if reference to container is valid!
|
// Operation is permitted only, if reference to container is valid!
|
||||||
if ( !impl_LockContainer() )
|
if ( !impl_LockContainer() )
|
||||||
{
|
{
|
||||||
// Container not exist! Its an runtime error.
|
// Container not exist! It's a runtime error.
|
||||||
throw RuntimeException();
|
throw RuntimeException();
|
||||||
}
|
}
|
||||||
// Set default return value, if method failed.
|
// Set default return value, if method failed.
|
||||||
|
@ -46,7 +46,7 @@ namespace unocontrols{
|
|||||||
ProgressMonitor::ProgressMonitor( const css::uno::Reference< XComponentContext >& rxContext )
|
ProgressMonitor::ProgressMonitor( const css::uno::Reference< XComponentContext >& rxContext )
|
||||||
: BaseContainerControl ( 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" :-(
|
// But with a HACK (++refcount) its "OK" :-(
|
||||||
++m_refCount;
|
++m_refCount;
|
||||||
|
|
||||||
|
@ -40,7 +40,7 @@ namespace unocontrols{
|
|||||||
StatusIndicator::StatusIndicator( const css::uno::Reference< XComponentContext >& rxContext )
|
StatusIndicator::StatusIndicator( const css::uno::Reference< XComponentContext >& rxContext )
|
||||||
: BaseContainerControl ( 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" :-(
|
// But with a HACK (++refcount) its "OK" :-(
|
||||||
++m_refCount;
|
++m_refCount;
|
||||||
|
|
||||||
|
@ -540,7 +540,7 @@ namespace basegfx
|
|||||||
const sal_uInt32 nCandCount(aCandidate.count());
|
const sal_uInt32 nCandCount(aCandidate.count());
|
||||||
|
|
||||||
// If it's not a bezier curve, at least three points would be needed to have a
|
// 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
|
// edges (dead ends) will be kept or sorted out, add non-bezier polygons with
|
||||||
// more than one point.
|
// more than one point.
|
||||||
// For bezier curves, the minimum for defining an area is also one.
|
// For bezier curves, the minimum for defining an area is also one.
|
||||||
|
@ -606,7 +606,7 @@ void SbiParser::Set()
|
|||||||
SbiExpression aExpr( this );
|
SbiExpression aExpr( this );
|
||||||
aLvalue.Gen();
|
aLvalue.Gen();
|
||||||
aExpr.Gen();
|
aExpr.Gen();
|
||||||
// Its a good idea to distinguish between
|
// It's a good idea to distinguish between
|
||||||
// set something = another &
|
// set something = another &
|
||||||
// something = another
|
// something = another
|
||||||
// ( its necessary for vba objects where set is object
|
// ( its necessary for vba objects where set is object
|
||||||
|
@ -1034,7 +1034,7 @@ void SbiRuntime::TOSMakeTemp()
|
|||||||
pDflt->Broadcast( SBX_HINT_DATAWANTED );
|
pDflt->Broadcast( SBX_HINT_DATAWANTED );
|
||||||
// replacing new p on stack causes object pointed by
|
// replacing new p on stack causes object pointed by
|
||||||
// pDft->pParent to be deleted, when p2->Compute() is
|
// 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
|
// so set it to NULL now
|
||||||
pDflt->SetParent( nullptr );
|
pDflt->SetParent( nullptr );
|
||||||
p = new SbxVariable( *pDflt );
|
p = new SbxVariable( *pDflt );
|
||||||
@ -1855,7 +1855,7 @@ void SbiRuntime::StepSET_Impl( SbxVariableRef& refVal, SbxVariableRef& refVar, b
|
|||||||
pObj = dynamic_cast<SbxObject*>( refVar.get() );
|
pObj = dynamic_cast<SbxObject*>( refVar.get() );
|
||||||
|
|
||||||
// calling GetObject on a SbxEMPTY variable raises
|
// 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 )
|
if ( !pObj && refVar->GetType() == SbxOBJECT )
|
||||||
{
|
{
|
||||||
SbxBase* pObjVarObj = refVar->GetObject();
|
SbxBase* pObjVarObj = refVar->GetObject();
|
||||||
|
@ -171,7 +171,7 @@ OUString ExponentialRegressionCurveCalculator::ImplGetRepresentation(
|
|||||||
if ( m_fSign < 0.0 )
|
if ( m_fSign < 0.0 )
|
||||||
nCharMin += 2;
|
nCharMin += 2;
|
||||||
if ( fIntercept == 0.0 || ( !bHasSlope && m_fLogIntercept != 0.0 ) )
|
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 ) ) &&
|
if ( ( bHasIntercept || fIntercept == 0.0 || ( !bHasSlope && m_fLogIntercept != 0.0 ) ) &&
|
||||||
bHasLogSlope )
|
bHasLogSlope )
|
||||||
nValueLength = ( *pFormulaMaxWidth - nCharMin ) / 2;
|
nValueLength = ( *pFormulaMaxWidth - nCharMin ) / 2;
|
||||||
|
@ -52,7 +52,7 @@ bool FragileDestructor::TraverseCXXDestructorDecl(CXXDestructorDecl* pCXXDestruc
|
|||||||
|| aFileName.startswith(SRCDIR "/include/cppuhelper/")
|
|| aFileName.startswith(SRCDIR "/include/cppuhelper/")
|
||||||
|| aFileName.startswith(SRCDIR "/cppuhelper/")
|
|| aFileName.startswith(SRCDIR "/cppuhelper/")
|
||||||
|| aFileName.startswith(SRCDIR "/comphelper/")
|
|| 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"
|
|| aFileName == SRCDIR "/basic/source/sbx/sbxvalue.cxx"
|
||||||
)
|
)
|
||||||
return RecursiveASTVisitor::TraverseCXXDestructorDecl(pCXXDestructorDecl);
|
return RecursiveASTVisitor::TraverseCXXDestructorDecl(pCXXDestructorDecl);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user