comphelper/inc/comphelper/oslfile2streamwrap.hxx|4
comphelper/source/container/container.cxx | 31 ++
comphelper/source/container/enumhelper.cxx |4
comphelper/source/eventattachermgr/eventattachermgr.cxx | 81 +++-
comphelper/source/property/propagg.cxx | 13 +-
5 files changed, 64 insertions(+), 69 deletions(-)
New commits:
commit 8907a41bf8370446a1cc46c72b2841e5e3588806
Author: Tom Thorogood t...@tomthorogood.com
Date: Tue Feb 28 00:38:23 2012 -0500
Translate german comments in core/comphelper
diff --git a/comphelper/inc/comphelper/oslfile2streamwrap.hxx
b/comphelper/inc/comphelper/oslfile2streamwrap.hxx
index 754be72..64ebca6 100644
--- a/comphelper/inc/comphelper/oslfile2streamwrap.hxx
+++ b/comphelper/inc/comphelper/oslfile2streamwrap.hxx
@@ -42,7 +42,7 @@ namespace comphelper
//==
// FmUnoIOStream,
-// stream zum schreiben un lesen von Daten, basieren auf File
+// Stream to read and write from data read from a file
//==
class COMPHELPER_DLLPUBLIC OSLInputStreamWrapper : public
::cppu::WeakImplHelper1stario::XInputStream
{
@@ -63,7 +63,7 @@ public:
//==
// FmUnoOutStream,
-// Datensenke fuer Files
+// sync data for the files
//==
class OSLOutputStreamWrapper : public
::cppu::WeakImplHelper1stario::XOutputStream
{
diff --git a/comphelper/source/container/container.cxx
b/comphelper/source/container/container.cxx
index 7bf2f8f..d3012c2 100644
--- a/comphelper/source/container/container.cxx
+++ b/comphelper/source/container/container.cxx
@@ -51,9 +51,9 @@ IndexAccessIterator::~IndexAccessIterator() {}
::com::sun::star::uno::Reference ::com::sun::star::uno::XInterface
IndexAccessIterator::Next()
{
sal_Bool bCheckingStartingPoint = !m_xCurrentObject.is();
-// ist die aktuelle Node der Anfangspunkt ?
+// Is the current node the starting point?
sal_Bool bAlreadyCheckedCurrent = m_xCurrentObject.is();
-// habe ich die aktuelle Node schon mal mittels ShouldHandleElement
testen ?
+// Have I already tested the current node through ShouldHandleElement?
if (!m_xCurrentObject.is())
m_xCurrentObject = m_xStartingPoint;
@@ -62,7 +62,7 @@ IndexAccessIterator::~IndexAccessIterator() {}
sal_Bool bFoundSomething = sal_False;
while (!bFoundSomething bHasMoreToSearch)
{
-// pre-order-traversierung
+// Priming loop
if (!bAlreadyCheckedCurrent ShouldHandleElement(xSearchLoop))
{
m_xCurrentObject = xSearchLoop;
@@ -70,10 +70,10 @@ IndexAccessIterator::~IndexAccessIterator() {}
}
else
{
-// zuerst absteigen, wenn moeglich
+// First, check to see if there's a match below
::com::sun::star::uno::Reference
::com::sun::star::container::XIndexAccess xContainerAccess(xSearchLoop,
::com::sun::star::uno::UNO_QUERY);
if (xContainerAccess.is() xContainerAccess-getCount()
ShouldStepInto(xContainerAccess))
-{ // zum ersten Child
+{
::com::sun::star::uno::Any
aElement(xContainerAccess-getByIndex(0));
xSearchLoop = *(::com::sun::star::uno::Reference
::com::sun::star::uno::XInterface*)aElement.getValue();
bCheckingStartingPoint = sal_False;
@@ -81,10 +81,9 @@ IndexAccessIterator::~IndexAccessIterator() {}
m_arrChildIndizies.push_back((sal_Int32)0);
}
else
-{
-// dann nach oben und nach rechts, wenn moeglich
+{ // otherwise, look above and to the right, if possible
while (m_arrChildIndizies.size() 0)
-{ // (mein Stack ist nich leer, also kann ich noch nach oben
gehen)
+{ // If the list isn't empty and there's nothing above
::com::sun::star::uno::Reference
::com::sun::star::container::XChild xChild(xSearchLoop,
::com::sun::star::uno::UNO_QUERY);
OSL_ENSURE(xChild.is(), IndexAccessIterator::Next : a
content has no approriate interface !);
@@ -92,36 +91,35 @@ 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 !);
-// den Index, den SearchLoop in diesem Parent hatte, von
meinem 'Stack'
+// Update the search loop index
sal_Int32 nOldSearchChildIndex =