diff options
author | Tom Thorogood <tom@tomthorogood.com> | 2012-02-28 00:38:23 -0500 |
---|---|---|
committer | Tor Lillqvist <tlillqvist@suse.com> | 2012-03-05 18:52:34 +0200 |
commit | 8907a41bf8370446a1cc46c72b2841e5e3588806 (patch) | |
tree | 5163575298cafc9ddb2c4e3637e59ca7656d5540 /comphelper/source/property/propagg.cxx | |
parent | a1be31fd8bf830a4f5961e690bcffd050782e210 (diff) |
Translate german comments in core/comphelper
Diffstat (limited to 'comphelper/source/property/propagg.cxx')
-rw-r--r-- | comphelper/source/property/propagg.cxx | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/comphelper/source/property/propagg.cxx b/comphelper/source/property/propagg.cxx index be24a1d64ad2..e18658281635 100644 --- a/comphelper/source/property/propagg.cxx +++ b/comphelper/source/property/propagg.cxx @@ -146,12 +146,12 @@ OPropertyArrayAggregationHelper::OPropertyArrayAggregationHelper( m_aProperties.realloc( nMergedProps ); pMergedProps = m_aProperties.getArray(); // reset, needed again below - // sortieren der Properties nach Namen + // sort the properties by name ::std::sort( pMergedProps, pMergedProps+nMergedProps, PropertyCompareByName()); pMergedProps = m_aProperties.getArray(); - // Positionen in der Map abgleichen + // sync the map positions for ( nMPLoop = 0; nMPLoop < nMergedProps; ++nMPLoop, ++pMergedProps ) m_aPropertyAccessors[ pMergedProps->Handle ].nPos = nMPLoop; } @@ -292,7 +292,7 @@ sal_Int32 OPropertyArrayAggregationHelper::fillHandles( for( sal_Int32 i = 0; i < nReqLen; ++i ) { - // Logarithmus ermitteln + // determine the logarithm sal_uInt32 n = (sal_uInt32)(pEnd - pCur); sal_Int32 nLog = 0; while( n ) @@ -301,8 +301,7 @@ sal_Int32 OPropertyArrayAggregationHelper::fillHandles( n = n >> 1; } - // Anzahl der noch zu suchenden Properties * dem Log2 der verbleibenden - // zu dursuchenden Properties. + // Number of the searched properties * the Log2 of the reamining properties if( (nReqLen - i) * nLog >= pEnd - pCur ) { // linear search is better @@ -485,7 +484,7 @@ void OPropertySetAggregationHelper::disposing() if ( m_xAggregateSet.is() && m_bListening ) { - // als einziger Listener anmelden + // register as a single listener m_xAggregateMultiSet->removePropertiesChangeListener(this); m_xAggregateSet->removeVetoableChangeListener(::rtl::OUString(), this); m_bListening = sal_False; @@ -595,7 +594,7 @@ void OPropertySetAggregationHelper::startListening() if (!m_bListening && m_xAggregateSet.is()) { - // als einziger Listener anmelden + // register as a single listener ::com::sun::star::uno::Sequence< ::rtl::OUString > aPropertyNames; m_xAggregateMultiSet->addPropertiesChangeListener(aPropertyNames, this); m_xAggregateSet->addVetoableChangeListener(::rtl::OUString(), this); |