diff options
author | László Németh <nemeth@numbertext.org> | 2013-08-21 13:15:29 +0200 |
---|---|---|
committer | László Németh <nemeth@numbertext.org> | 2013-08-21 13:15:29 +0200 |
commit | 26c4d2f5bde513f05c58718ba1c468be4a6bfc86 (patch) | |
tree | 01c04de345c2660712919e33417021eb81a867f3 /include | |
parent | 5cd96a57b36d15ab7869a6cbfebad06ce351d8bf (diff) |
fdo#68373 pattern matching in autocorrection for suffix rich lang.
Change-Id: I4a996c51e6e7115e90bf15254b26025aae1f9a6c
Diffstat (limited to 'include')
-rw-r--r-- | include/editeng/svxacorr.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/editeng/svxacorr.hxx b/include/editeng/svxacorr.hxx index a90f14fa9510..ebf2b05571d0 100644 --- a/include/editeng/svxacorr.hxx +++ b/include/editeng/svxacorr.hxx @@ -151,7 +151,7 @@ class EDITENG_DLLPUBLIC SvxAutocorrWordList mutable SvxAutocorrWordList_Set maSet; mutable SvxAutocorrWordList_Hash maHash; // key is 'Short' - bool WordMatches(const SvxAutocorrWord *pFnd, + const SvxAutocorrWord* WordMatches(const SvxAutocorrWord *pFnd, const String &rTxt, xub_StrLen &rStt, xub_StrLen nEndPos) const; @@ -159,7 +159,7 @@ public: // free any objects still in the set ~SvxAutocorrWordList(); void DeleteAndDestroyAll(); - bool Insert(SvxAutocorrWord *pWord); + bool Insert(SvxAutocorrWord *pWord) const; SvxAutocorrWord* FindAndRemove(SvxAutocorrWord *pWord); void LoadEntry(String sWrong, String sRight, sal_Bool bOnlyTxt); bool empty() const; |