diff options
author | Christoph Herzog <rhogez@googlemail.com> | 2011-02-21 02:20:33 +0100 |
---|---|---|
committer | Christoph Herzog <rhogez@googlemail.com> | 2011-02-21 02:23:33 +0100 |
commit | 3a918a2aef4bc4c492fc0e51ea3af0aaea38574b (patch) | |
tree | 6c55bd6abc36de9fbb982952c62a8a41905d2e61 /sw/inc/ndindex.hxx | |
parent | b0c5f62affabf28fa2158df6e01cb1889bca1349 (diff) |
Translation of German comments.
Diffstat (limited to 'sw/inc/ndindex.hxx')
-rw-r--r-- | sw/inc/ndindex.hxx | 24 |
1 files changed, 11 insertions, 13 deletions
diff --git a/sw/inc/ndindex.hxx b/sw/inc/ndindex.hxx index 741e21782978..cde04d8a79a7 100644 --- a/sw/inc/ndindex.hxx +++ b/sw/inc/ndindex.hxx @@ -51,9 +51,9 @@ class SW_DLLPUBLIC SwNodeIndex SwNode* pNd; SwNodeIndex *pNext, *pPrev; - void Remove(); // Ausketten + void Remove(); - // diese sind nicht erlaubt! + // These are not allowed! SwNodeIndex( SwNodes& rNds, USHORT nIdx ); SwNodeIndex( SwNodes& rNds, int nIdx ); @@ -91,23 +91,22 @@ public: SwNodeIndex& operator=( const SwNodeIndex& ); SwNodeIndex& operator=( const SwNode& ); - // gebe den Wert vom Index als ULONG zurueck + // Return value of index as ULONG. inline ULONG GetIndex() const; - // ermoeglicht Zuweisungen ohne Erzeugen eines temporaeren Objektes + // Enables assignments without creation of a temporary object. SwNodeIndex& Assign( SwNodes& rNds, ULONG ); SwNodeIndex& Assign( const SwNode& rNd, long nOffset = 0 ); - // Herausgabe des Pointers auf das NodesArray, + // Gets pointer on NodesArray. inline const SwNodes& GetNodes() const; inline SwNodes& GetNodes(); SwNode& GetNode() const { return *pNd; } }; -/* - * SwRange - */ +// SwRange + class SW_DLLPUBLIC SwNodeRange { public: @@ -127,9 +126,8 @@ public: -// fuer die inlines wird aber der node.hxx benoetigt. Dieses braucht aber -// auch wieder dieses. Also alle Inlines, die auf pNd zugreifen werden -// hier implementiert. +// For inlines node.hxx is needed which in turn needs this one. +// Therefore all inlines accessing pNd are implemented here. inline ULONG SwNodeIndex::GetIndex() const { @@ -238,8 +236,8 @@ inline SwNodeIndex& SwNodeIndex::operator=( ULONG nWert ) -// impl. steht im ndindex.hxx - sollte moeglichst bald auf die -// neue Schnittstelle angepasst werden +// Implementation in ndindex.hxx - should be adapted to the +// new interface as soon as possible. inline SwNode* SwNodes::operator[]( const SwNodeIndex& rIdx ) const { return &rIdx.GetNode(); |