diff options
author | Laurent Charrière <lcharriere@gmail.com> | 2010-10-13 22:28:41 -0700 |
---|---|---|
committer | Michael Meeks <michael.meeks@novell.com> | 2010-10-14 10:54:59 +0100 |
commit | 7b5a50e4edacdfec8ba26a2787fba5bb4753e3ca (patch) | |
tree | 1fa0954bf2e0a805a03c2a4a483f19bbb37146f9 /cppuhelper/source/interfacecontainer.cxx | |
parent | fee1a2b79e3478473fdbac8b2e626606e2e2128e (diff) |
Fix typos in comments in ure/cppuhelper
Signed-off-by: Laurent Charrière <lcharriere@gmail.com>
Diffstat (limited to 'cppuhelper/source/interfacecontainer.cxx')
-rw-r--r-- | cppuhelper/source/interfacecontainer.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cppuhelper/source/interfacecontainer.cxx b/cppuhelper/source/interfacecontainer.cxx index ec4b48da8646..c1b3da3e4e41 100644 --- a/cppuhelper/source/interfacecontainer.cxx +++ b/cppuhelper/source/interfacecontainer.cxx @@ -330,7 +330,7 @@ void OInterfaceContainerHelper::disposeAndClear( const EventObject & rEvt ) SAL_ OSL_ENSURE( !bIsList || bInUse, "OInterfaceContainerHelper not in use" ); if( !bIsList && pData ) ((XInterface *)pData)->release(); - // set the member to null, the iterator delete the values + // set the member to null, use the iterator to delete the values pData = NULL; bIsList = sal_False; bInUse = sal_False; @@ -346,7 +346,7 @@ void OInterfaceContainerHelper::disposeAndClear( const EventObject & rEvt ) SAL_ catch ( RuntimeException & ) { // be robust, if e.g. a remote bridge has disposed already. - // there is no way, to delegate the error to the caller :o(. + // there is no way to delegate the error to the caller :o(. } } } @@ -360,7 +360,7 @@ void OInterfaceContainerHelper::clear() SAL_THROW( () ) OSL_ENSURE( !bIsList || bInUse, "OInterfaceContainerHelper not in use" ); if( !bIsList && pData ) ((XInterface *)pData)->release(); - // set the member to null, the iterator delete the values + // set the member to null, use the iterator to delete the values pData = 0; bIsList = sal_False; bInUse = sal_False; |