summaryrefslogtreecommitdiff
path: root/cppuhelper
diff options
context:
space:
mode:
authorLaurent Charrière <lcharriere@gmail.com>2010-10-13 22:28:39 -0700
committerMichael Meeks <michael.meeks@novell.com>2010-10-14 10:54:58 +0100
commita22e62641abbbb7e11cc8b1baaaa03d333debb66 (patch)
treee3a0021740c66601b55ba8e8a51fceb52d6f2679 /cppuhelper
parent731f89afd35b09d9fa03fc9693e9bc5868229755 (diff)
Translate German comments in ure/cppuhelper
Signed-off-by: Laurent Charrière <lcharriere@gmail.com>
Diffstat (limited to 'cppuhelper')
-rw-r--r--cppuhelper/source/interfacecontainer.cxx4
-rw-r--r--cppuhelper/source/propshlp.cxx6
2 files changed, 5 insertions, 5 deletions
diff --git a/cppuhelper/source/interfacecontainer.cxx b/cppuhelper/source/interfacecontainer.cxx
index 3053193d5ee6..f1b249d7a018 100644
--- a/cppuhelper/source/interfacecontainer.cxx
+++ b/cppuhelper/source/interfacecontainer.cxx
@@ -326,7 +326,7 @@ void OInterfaceContainerHelper::disposeAndClear( const EventObject & rEvt ) SAL_
{
ClearableMutexGuard aGuard( rMutex );
OInterfaceIteratorHelper aIt( *this );
- // Container freigeben, falls im disposing neue Einträge kommen
+ // Release container, in case new entries come while disposing
OSL_ENSURE( !bIsList || bInUse, "OInterfaceContainerHelper not in use" );
if( !bIsList && pData )
((XInterface *)pData)->release();
@@ -356,7 +356,7 @@ void OInterfaceContainerHelper::clear() SAL_THROW( () )
{
ClearableMutexGuard aGuard( rMutex );
OInterfaceIteratorHelper aIt( *this );
- // Container freigeben, falls im disposing neue Einträge kommen
+ // Release container, in case new entries come while disposing
OSL_ENSURE( !bIsList || bInUse, "OInterfaceContainerHelper not in use" );
if( !bIsList && pData )
((XInterface *)pData)->release();
diff --git a/cppuhelper/source/propshlp.cxx b/cppuhelper/source/propshlp.cxx
index fe455781a1a7..de814ac2835e 100644
--- a/cppuhelper/source/propshlp.cxx
+++ b/cppuhelper/source/propshlp.cxx
@@ -1168,7 +1168,7 @@ sal_Int32 OPropertyArrayHelper::fillHandles( sal_Int32 * pHandles, const Sequenc
for( sal_Int32 i = 0; i < nReqLen; i++ )
{
- // Logarithmus ermitteln
+ // Calculate logarithm
sal_Int32 n = (sal_Int32)(pEnd - pCur);
sal_Int32 nLog = 0;
while( n )
@@ -1177,8 +1177,8 @@ sal_Int32 OPropertyArrayHelper::fillHandles( sal_Int32 * pHandles, const Sequenc
n = n >> 1;
}
- // Anzahl der noch zu suchenden Properties * dem Log2 der verbleibenden
- // zu dursuchenden Properties.
+ // Number of properties to search for * Log2 of the number of remaining
+ // properties to search in.
if( (nReqLen - i) * nLog >= pEnd - pCur )
{
// linear search is better