summaryrefslogtreecommitdiff
path: root/cppuhelper
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2014-11-10 15:05:25 +0100
committerNoel Grandin <noelgrandin@gmail.com>2014-11-12 11:04:11 +0000
commitda40cac540e7d735edbe9069b3c8ec6af4530208 (patch)
treef2abda7281129e13f588c77b18780a7090c8405f /cppuhelper
parentbb437029c1e5331bcc3f8fb2fc87837142a52f33 (diff)
Fix common typos. No automatic tools. Handmade…
Change-Id: I1ab4e23b0539f8d39974787f226e57a21f96e959 Reviewed-on: https://gerrit.libreoffice.org/12164 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
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;