diff options
Diffstat (limited to 'cppu/source')
-rw-r--r-- | cppu/source/typelib/typelib.cxx | 2 | ||||
-rw-r--r-- | cppu/source/uno/cascade_mapping.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/cppu/source/typelib/typelib.cxx b/cppu/source/typelib/typelib.cxx index 129b2c00a21c..238b4daa393e 100644 --- a/cppu/source/typelib/typelib.cxx +++ b/cppu/source/typelib/typelib.cxx @@ -1555,7 +1555,7 @@ extern "C" void SAL_CALL typelib_typedescription_register( } else if( !pTDR->pType->bOnDemand && (*ppNewDescription)->bOnDemand ) { - // switch from !OnDemand to OnDemand, so the description must be relesed + // switch from !OnDemand to OnDemand, so the description must be released assert(pTDR->pType->nRefCount > 1); // coverity[freed_arg] - pType's nRefCount is > 1 here typelib_typedescription_release( pTDR->pType ); diff --git a/cppu/source/uno/cascade_mapping.cxx b/cppu/source/uno/cascade_mapping.cxx index 596205a6be4e..a5295bce9d6b 100644 --- a/cppu/source/uno/cascade_mapping.cxx +++ b/cppu/source/uno/cascade_mapping.cxx @@ -246,7 +246,7 @@ void getCascadeMapping(uno_Mapping ** ppMapping, return; // reaching this point means, we need a mediated mapping!!! - // we generall mediate via uno[:free] + // we generally mediate via uno[:free] uno_Environment * pInterm = NULL; // chained uno -> uno |