summaryrefslogtreecommitdiff
path: root/cppuhelper
diff options
context:
space:
mode:
Diffstat (limited to 'cppuhelper')
-rw-r--r--cppuhelper/source/interfacecontainer.cxx3
-rw-r--r--cppuhelper/source/weak.cxx2
2 files changed, 2 insertions, 3 deletions
diff --git a/cppuhelper/source/interfacecontainer.cxx b/cppuhelper/source/interfacecontainer.cxx
index 0a0e251e689a..6c7166003686 100644
--- a/cppuhelper/source/interfacecontainer.cxx
+++ b/cppuhelper/source/interfacecontainer.cxx
@@ -250,8 +250,7 @@ sal_Int32 OInterfaceContainerHelper::removeInterface( const Reference<XInterface
sal_Int32 i;
for( i = 0; i < nLen; i++ )
{
- // It is not valid to compare the Pointer direkt, but is is is much
- // more faster.
+ // It is not valid to compare the pointer directly, but it's faster.
if( pL[i].get() == rListener.get() )
{
sequenceRemoveElementAt( *aData.pAsSequence, i );
diff --git a/cppuhelper/source/weak.cxx b/cppuhelper/source/weak.cxx
index 57ae161f50ed..212a9be34775 100644
--- a/cppuhelper/source/weak.cxx
+++ b/cppuhelper/source/weak.cxx
@@ -32,7 +32,7 @@ using namespace com::sun::star::uno;
namespace cppu
{
-// due to static Reflection destruction from usr, ther must be a mutex leak (#73272#)
+// due to static Reflection destruction from usr, there must be a mutex leak (#73272#)
inline static Mutex & getWeakMutex()
{
static Mutex * s_pMutex = 0;