diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-03-23 16:08:19 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-03-23 16:08:19 +0100 |
commit | 11b684d3f5148ec532987b00ce01843a3287444d (patch) | |
tree | 679fd747b8376f17956703667a8425461c903cba /sw/inc/acmplwrd.hxx | |
parent | 502dde2118cf840e691595614b15f26c3b5b509b (diff) |
loplugin:loopvartoosmall
Change-Id: I21e54bf70108991b7ca7f96232e6d9411af23ff9
Diffstat (limited to 'sw/inc/acmplwrd.hxx')
-rw-r--r-- | sw/inc/acmplwrd.hxx | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/sw/inc/acmplwrd.hxx b/sw/inc/acmplwrd.hxx index e49934869ee2..1ee336277495 100644 --- a/sw/inc/acmplwrd.hxx +++ b/sw/inc/acmplwrd.hxx @@ -44,12 +44,15 @@ class SwAutoCompleteWord SwAutoCompleteStringPtrDeque aLRULst; std::unique_ptr<SwAutoCompleteWord_Impl> pImpl; - sal_uInt16 nMaxCount, nMinWrdLen; + editeng::SortedAutoCompleteStrings::size_type nMaxCount; + sal_uInt16 nMinWrdLen; bool bLockWordLst; void DocumentDying(const SwDoc& rDoc); public: - SwAutoCompleteWord( sal_uInt16 nWords, sal_uInt16 nMWrdLen = 10 ); + SwAutoCompleteWord( + editeng::SortedAutoCompleteStrings::size_type nWords, + sal_uInt16 nMWrdLen = 10 ); ~SwAutoCompleteWord(); bool InsertWord( const OUString& rWord, SwDoc& rDoc ); @@ -57,7 +60,7 @@ public: bool IsLockWordLstLocked() const { return bLockWordLst; } void SetLockWordLstLocked( bool bFlag ) { bLockWordLst = bFlag; } - void SetMaxCount( sal_uInt16 n ); + void SetMaxCount( editeng::SortedAutoCompleteStrings::size_type n ); sal_uInt16 GetMinWordLen() const { return nMinWrdLen; } void SetMinWordLen( sal_uInt16 n ); |