diff options
author | Stefan Knorr (astron) <heinzlesspam@gmail.com> | 2012-03-10 21:58:25 +0100 |
---|---|---|
committer | Stefan Knorr (astron) <heinzlesspam@gmail.com> | 2012-03-10 22:00:56 +0100 |
commit | 5bec57a0b784a3bc8a181705f04f7af53ca4e04b (patch) | |
tree | 122d8069e253d98652b6d58cbd878af26c9aaa92 /comphelper/source/container | |
parent | Translate German comments in core/cppuhelper (diff) | |
download | core-5bec57a0b784a3bc8a181705f04f7af53ca4e04b.tar.gz core-5bec57a0b784a3bc8a181705f04f7af53ca4e04b.zip |
Correct some mistranslated comments
Diffstat (limited to 'comphelper/source/container')
-rw-r--r-- | comphelper/source/container/container.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/comphelper/source/container/container.cxx b/comphelper/source/container/container.cxx index d3012c27941d..527405943a98 100644 --- a/comphelper/source/container/container.cxx +++ b/comphelper/source/container/container.cxx @@ -91,18 +91,18 @@ IndexAccessIterator::~IndexAccessIterator() {} xContainerAccess = ::com::sun::star::uno::Reference< ::com::sun::star::container::XIndexAccess>(xParent, ::com::sun::star::uno::UNO_QUERY); OSL_ENSURE(xContainerAccess.is(), "IndexAccessIterator::Next : a content has an invalid parent !"); - // Update the search loop index + // Remove the index that SearchLoop had within this parent from my stack sal_Int32 nOldSearchChildIndex = m_arrChildIndizies[m_arrChildIndizies.size() - 1]; m_arrChildIndizies.pop_back(); if (nOldSearchChildIndex < xContainerAccess->getCount() - 1) { // Move to the right in this row ++nOldSearchChildIndex; - // and check the nex child + // and check the next child ::com::sun::star::uno::Any aElement(xContainerAccess->getByIndex(nOldSearchChildIndex)); xSearchLoop = *(::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface>*) aElement.getValue(); bCheckingStartingPoint = sal_False; - // and update is position in the list. + // and update its position in the list. m_arrChildIndizies.push_back((sal_Int32)nOldSearchChildIndex); break; |