Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


Seriously. . there are like 30K lines.

If anyone has any requests, I can do those first.
Outside of that, I'll just do a few here and there when I get time.

Mike

-- 
Michael T. Whiteley
Engineer - Space Dynamics Laboratory
Law Student - Lewis and Clark Law School
mobile: 503.707.7991
From 3fb61e525f5a15fab65c6ab494d5c4d0135a2471 Mon Sep 17 00:00:00 2001
From: mikew <mikew@E15519.(none)>
Date: Thu, 1 Dec 2011 19:13:20 -0800
Subject: [PATCH] translated some comments from German to English

---
 basic/source/app/textedit.cxx           |    7 ++++---
 comphelper/inc/comphelper/container.hxx |   23 +++++++++++++----------
 2 files changed, 17 insertions(+), 13 deletions(-)

diff --git a/basic/source/app/textedit.cxx b/basic/source/app/textedit.cxx
index ad66db9..9bdbf8c 100644
--- a/basic/source/app/textedit.cxx
+++ b/basic/source/app/textedit.cxx
@@ -384,11 +384,12 @@ IMPL_LINK( TextEditImp, SyntaxTimerHdl, Timer *, EMPTYARG )
     else
         pTextEngine->SetUpdateMode( sal_True );             // ! With VDev
 
-    // SetUpdateMode( sal_True ) soll kein Modify setzen
+    // SetUpdateMode (sal_True ) shouldn't set Modify
     pTextEngine->SetModified( bWasModified );
 
-    // SyntaxTimerHdl wird gerufen, wenn Text-Aenderung
-    // => gute Gelegenheit, Textbreite zu ermitteln!
+    // SyntaxTimerHdl will be called when the text changes
+    // => Good opportunity to get the text width
+
     bHighlightning = sal_False;
 
     if ( aSyntaxLineTable.First() )
diff --git a/comphelper/inc/comphelper/container.hxx b/comphelper/inc/comphelper/container.hxx
index f0466fe..c64b531 100644
--- a/comphelper/inc/comphelper/container.hxx
+++ b/comphelper/inc/comphelper/container.hxx
@@ -49,15 +49,16 @@ protected:
     ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface>    m_xStartingPoint;
 
     ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface>    m_xCurrentObject;
-        // das aktuelle Objekt
+        // The actual object
     ::std::vector<sal_Int32>        m_arrChildIndizies;
-        // ich bewege mich eigentlich durch einen Baum, dummerweise haben dessen
-        // Elemente aber kein GetNextSibling, also muss ich mir merken, wo die Childs
-        // innerhalb ihres Parents sitzen (das ist sozusagen der Pfad von der Wurzel
-        // zu m_xCurrentObject
+
+        // Actually, as I move through this tree, there are elements but NO
+        // GetNextSibling, so I have to remember where each child
+        // is in relation to it's parent.  This is the path from the
+        // root node to m_xCurrentObject
 
     ::rtl::OUString     m_ustrProperty;
-        // der Name der gesuchten property
+        // The Name of the requested property
 
 public:
     IndexAccessIterator(::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface> 
xStartingPoint);
@@ -70,10 +71,12 @@ public:
 
 protected:
     virtual sal_Bool ShouldHandleElement(const ::com::sun::star::uno::Reference< 
::com::sun::star::uno::XInterface>& /*rElement*/) { return sal_True; }
-        // damit kann man bestimmte Elemente ausschliessen, die werden dann einfach
-        // uebergangen
-        // wenn hier sal_True zurueckkommt, wird dieses Element von Next zurueckgeliefert, man 
kann sich hier also auch
-        // gleich ein paar zusaetzliche Angaben zu dem Element holen (deswegen ist die Methode 
auch nicht const)
+
+        // So we can exclude certain elements, which are expected
+        // if this returns sal_True. If so, this element will be returned,
+        // which also allows us to return additional information.
+        // That's why this method is not const.
+
     virtual sal_Bool ShouldStepInto(const ::com::sun::star::uno::Reference< 
::com::sun::star::uno::XInterface>& /*xContainer*/) const { return sal_True; }
 };
 
-- 
1.7.3.2


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.