summaryrefslogtreecommitdiff
path: root/cppu
diff options
context:
space:
mode:
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 8d842cc40a4f..ac3b23567897 100644
--- a/cppu/source/typelib/typelib.cxx
+++ b/cppu/source/typelib/typelib.cxx
@@ -497,7 +497,7 @@ bool complete(typelib_TypeDescription ** ppTypeDescr, bool initTables) {
::typelib_typedescription_register( &pTD ); // replaces incomplete one
OSL_ASSERT( pTD == *ppTypeDescr ); // has to merge into existing one
- // insert into the chache
+ // insert into the cache
MutexGuard aGuard( rInit.getMutex() );
if( !rInit.pCache )
rInit.pCache.reset( new TypeDescriptionList_Impl );
@@ -1994,7 +1994,7 @@ extern "C" void SAL_CALL typelib_typedescription_getByName(
// on demand is activated.
typelib_typedescription_register( ppRet );
- // insert into the chache
+ // insert into the cache
MutexGuard aGuard( rInit.getMutex() );
if( !rInit.pCache )
rInit.pCache.reset( new TypeDescriptionList_Impl );
@@ -2052,7 +2052,7 @@ extern "C" void SAL_CALL typelib_typedescriptionreference_new(
// on demand is activated.
typelib_typedescription_register( &pRet );
- // insert into the chache
+ // insert into the cache
MutexGuard aGuard( rInit.getMutex() );
if( !rInit.pCache )
rInit.pCache.reset( new TypeDescriptionList_Impl );