summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--UnoControls/source/base/basecontrol.cxx2
-rw-r--r--UnoControls/source/controls/OConnectionPointHelper.cxx10
-rw-r--r--UnoControls/source/controls/progressmonitor.cxx2
-rw-r--r--UnoControls/source/controls/statusindicator.cxx2
-rw-r--r--basegfx/source/polygon/b2dpolypolygoncutter.cxx2
-rw-r--r--basic/source/comp/parser.cxx2
-rw-r--r--basic/source/runtime/runtime.cxx4
-rw-r--r--chart2/source/tools/ExponentialRegressionCurveCalculator.cxx2
-rw-r--r--compilerplugins/clang/fragiledestructor.cxx2
9 files changed, 14 insertions, 14 deletions
diff --git a/UnoControls/source/base/basecontrol.cxx b/UnoControls/source/base/basecontrol.cxx
index f689ed202ed5..2bbf46556649 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 13ec1bf2419b..28692a405b38 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 635e0eab1353..7016e347b716 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 75b5c87ee053..8df082e8f12d 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 5cbf3162e3e8..dce8afd48d63 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 70f210d16de3..1dda3110675a 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 6082437db846..643c1a28512a 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 7b6250428148..491f43af243f 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 d4b7e6136ea6..e17418b26606 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);