summaryrefslogtreecommitdiff
path: root/cppu
diff options
context:
space:
mode:
authorOtto Kekäläinen <otto@seravo.fi>2016-07-03 20:24:00 +0300
committerjan iversen <jani@documentfoundation.org>2016-07-04 06:11:36 +0000
commit428e23f4f7025506e767d895e9b46492a8432aed (patch)
treeec767267ad2afc8ec3bf486da7cb9da2c567922d /cppu
parent61d95c70c0d4404a24064a58f3ccc3adf0b5e7e2 (diff)
Fix some spelling errors in comments and strings
Change-Id: Iecd6b5e13d6be14651f77d8e37f01117ba15a11e Reviewed-on: https://gerrit.libreoffice.org/26883 Reviewed-by: jan iversen <jani@documentfoundation.org> Tested-by: jan iversen <jani@documentfoundation.org>
Diffstat (limited to 'cppu')
-rw-r--r--cppu/source/typelib/typelib.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/cppu/source/typelib/typelib.cxx b/cppu/source/typelib/typelib.cxx
index 212e7900fb2b..a5b497c10bf9 100644
--- a/cppu/source/typelib/typelib.cxx
+++ b/cppu/source/typelib/typelib.cxx
@@ -1481,7 +1481,7 @@ extern "C" void SAL_CALL typelib_typedescription_register(
{
if (osl_atomic_increment( &pTDR->pType->nRefCount ) > 1)
{
- // The refence is incremented. The object cannot be destroyed.
+ // The reference is incremented. The object cannot be destroyed.
// Release the guard at the earliest point.
aGuard.clear();
::typelib_typedescription_release( *ppNewDescription );
@@ -2217,7 +2217,7 @@ extern "C" void SAL_CALL typelib_typedescriptionreference_getDescription(
sal_Int32 n = osl_atomic_increment( &pRef->pType->nRefCount );
if( n > 1 )
{
- // The refence is incremented. The object cannot be destroyed.
+ // The reference is incremented. The object cannot be destroyed.
// Release the guard at the earliest point.
*ppRet = pRef->pType;
return;
@@ -2259,7 +2259,7 @@ extern "C" void SAL_CALL typelib_typedescriptionreference_getByName(
sal_Int32 n = osl_atomic_increment( &(*aIt).second->nRefCount );
if( n > 1 )
{
- // The refence is incremented. The object cannot be destroyed.
+ // The reference is incremented. The object cannot be destroyed.
// Release the guard at the earliest point.
*ppRet = (*aIt).second;
}