diff options
Diffstat (limited to 'sw/inc/acmplwrd.hxx')
-rw-r--r-- | sw/inc/acmplwrd.hxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/sw/inc/acmplwrd.hxx b/sw/inc/acmplwrd.hxx index 476e72f8ec81..ad7a0de42414 100644 --- a/sw/inc/acmplwrd.hxx +++ b/sw/inc/acmplwrd.hxx @@ -44,27 +44,27 @@ class SwAutoCompleteWord SvPtrarr aLRULst; SwAutoCompleteWord_Impl* pImpl; - USHORT nMaxCount, nMinWrdLen; + sal_uInt16 nMaxCount, nMinWrdLen; bool bLockWordLst; void DocumentDying(const SwDoc& rDoc); public: - SwAutoCompleteWord( USHORT nWords = 500, USHORT nMWrdLen = 10 ); + SwAutoCompleteWord( sal_uInt16 nWords = 500, sal_uInt16 nMWrdLen = 10 ); ~SwAutoCompleteWord(); - BOOL InsertWord( const String& rWord, SwDoc& rDoc ); + sal_Bool InsertWord( const String& rWord, SwDoc& rDoc ); - BOOL GetRange( const String& rWord, USHORT& rStt, USHORT& rEnd ) const; + sal_Bool GetRange( const String& rWord, sal_uInt16& rStt, sal_uInt16& rEnd ) const; - const String& operator[]( USHORT n ) const { return *aWordLst[ n ]; } + const String& operator[]( sal_uInt16 n ) const { return *aWordLst[ n ]; } bool IsLockWordLstLocked() const { return bLockWordLst; } void SetLockWordLstLocked( bool bFlag ) { bLockWordLst = bFlag; } - void SetMaxCount( USHORT n ); + void SetMaxCount( sal_uInt16 n ); - USHORT GetMinWordLen() const { return nMinWrdLen; } - void SetMinWordLen( USHORT n ); + sal_uInt16 GetMinWordLen() const { return nMinWrdLen; } + void SetMinWordLen( sal_uInt16 n ); const SvStringsISortDtor& GetWordList() const { return aWordLst; } void CheckChangedList( const SvStringsISortDtor& rNewLst ); |