summaryrefslogtreecommitdiffstats
path: root/sw/inc/index.hxx
diff options
context:
space:
mode:
authorChristoph Herzog <rhogez@googlemail.com>2011-01-24 18:48:46 +0100
committerDavid Tardon <dtardon@redhat.com>2011-01-25 07:16:40 +0100
commitb009936938d89fc95fedf98b432e0ab7bcad4824 (patch)
treedb6a14d28597ad35a89500cd5a31da5eb5c9c530 /sw/inc/index.hxx
parentInclude the wntmscx build directories (diff)
downloadcore-b009936938d89fc95fedf98b432e0ab7bcad4824.tar.gz
core-b009936938d89fc95fedf98b432e0ab7bcad4824.zip
Translations of comments in writer/sw/inc
Diffstat (limited to 'sw/inc/index.hxx')
-rw-r--r--sw/inc/index.hxx16
1 files changed, 6 insertions, 10 deletions
diff --git a/sw/inc/index.hxx b/sw/inc/index.hxx
index 9841e0e092f7..a04d550180b7 100644
--- a/sw/inc/index.hxx
+++ b/sw/inc/index.hxx
@@ -36,7 +36,7 @@
#define INVALID_INDEX STRING_NOTFOUND
-// Maximale Anzahl von Indizies im IndexArray (zum Abtesten auf Ueberlaeufe)
+// Maximal count of indices in IndexArray (for testing on overflows).
class SwIndex;
class SwIndexReg;
struct SwPosition;
@@ -61,7 +61,7 @@ class SW_DLLPUBLIC SwIndex
SwIndex *pNext, *pPrev;
SwIndex& ChgValue( const SwIndex& rIdx, xub_StrLen nNewValue );
- void Remove(); // Ausketten
+ void Remove();
public:
explicit SwIndex(SwIndexReg *const pReg, xub_StrLen const nIdx = 0);
@@ -99,15 +99,12 @@ public:
INLINE SwIndex& operator=( xub_StrLen );
SwIndex& operator=( const SwIndex & );
- // gebe den Wert vom Index als xub_StrLen zurueck
xub_StrLen GetIndex() const { return nIndex; }
- // ermoeglicht Zuweisungen ohne Erzeugen eines temporaeren
- // Objektes
+ // Assignments without creating a temporary object.
SwIndex &Assign(SwIndexReg *,xub_StrLen);
- // Herausgabe des Pointers auf das IndexArray,
- // (fuers RTTI am SwIndexReg)
+ // Returns pointer to IndexArray (for RTTI at SwIndexReg).
const SwIndexReg* GetIdxReg() const { return pArray; }
};
@@ -120,9 +117,8 @@ class SwIndexReg
const SwIndex *pFirst, *pLast, *pMiddle;
- // ein globales Array, in das Indizies verschoben werden, die mal
- // temporaer "ausgelagert" werden muessen; oder die zum Zeitpunkt des
- // anlegens kein gueltiges Array kennen (SwPaM/SwPosition!)
+ // A global array for holding indices that need to be "swapped" temporarily
+ // or do not know a valid array (SwPaM/SwPosition!).
friend void _InitCore();
friend void _FinitCore();
static SwIndexReg* pEmptyIndexArray;