diff options
Diffstat (limited to 'sw/qa/core/bigpointerarray-new.hxx')
-rw-r--r-- | sw/qa/core/bigpointerarray-new.hxx | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/sw/qa/core/bigpointerarray-new.hxx b/sw/qa/core/bigpointerarray-new.hxx index 13b6e3c3c3f9..2f2792d40b92 100644 --- a/sw/qa/core/bigpointerarray-new.hxx +++ b/sw/qa/core/bigpointerarray-new.hxx @@ -42,7 +42,7 @@ class BigPtrEntry { friend class BigPtrArray; BigPtrArray* pBigPtrArray_; - ULONG pos_; + sal_uLong pos_; protected: BigPtrEntry() : pBigPtrArray_(0), pos_(0) @@ -51,7 +51,7 @@ protected: virtual ~BigPtrEntry() {} - ULONG GetPos() const + sal_uLong GetPos() const { return pos_; } @@ -63,7 +63,7 @@ protected: }; typedef BigPtrEntry* ElementPtr; -typedef BOOL (*FnForEach)(const ElementPtr&, void* pArgs); +typedef sal_Bool (*FnForEach)(const ElementPtr&, void* pArgs); /** A container abstraction */ @@ -80,7 +80,7 @@ public: /** Return the number of entries inserted into the array */ - ULONG Count() const; + sal_uLong Count() const; /** Insert an Element into the array at a certain position @@ -94,7 +94,7 @@ public: @pre (pos >= 0 && pos <= BigPtrArray.Count()) @post (((oldCount + 1) == BigPtrArray.Count()) && BigPtrArray[pos] == rElem) */ - void Insert(const ElementPtr& rElem, ULONG pos); + void Insert(const ElementPtr& rElem, sal_uLong pos); /** Remove a specified number of elements starting at a certain position. @@ -107,7 +107,7 @@ public: @pre (pos < BigPtrArray.Count() && n <= BigPtrArray.Count()) @post ((oldCount - n) == BigPtrArray.Count()) */ - void Remove(ULONG pos, ULONG n = 1); + void Remove(sal_uLong pos, sal_uLong n = 1); /** Move an entry from a certain position to another on. @@ -117,7 +117,7 @@ public: @param to [in] */ - void Move(ULONG fromPos, ULONG toPos); + void Move(sal_uLong fromPos, sal_uLong toPos); /** Replace an entry at a certain position @@ -130,7 +130,7 @@ public: @pre pos < BigPtrArray.Count() @post (oldCount == BigPtrArray.Count() && BigPtrArray[pos] == rElem) */ - void Replace(ULONG pos, const ElementPtr& rElem); + void Replace(sal_uLong pos, const ElementPtr& rElem); /** Get the entry at a certain index @@ -139,7 +139,7 @@ public: @pre pos < BigPtrArray.Count() */ - ElementPtr operator[](ULONG pos) const; + ElementPtr operator[](sal_uLong pos) const; /** */ @@ -147,7 +147,7 @@ public: /** */ - void ForEach(ULONG fromPos, ULONG toPos, FnForEach fn, void* pArgs = NULL); + void ForEach(sal_uLong fromPos, sal_uLong toPos, FnForEach fn, void* pArgs = NULL); private: |