summaryrefslogtreecommitdiff
path: root/include/editeng
diff options
context:
space:
mode:
authorLászló Németh <nemeth@numbertext.org>2013-08-21 13:15:29 +0200
committerLászló Németh <nemeth@numbertext.org>2013-08-21 13:15:29 +0200
commit26c4d2f5bde513f05c58718ba1c468be4a6bfc86 (patch)
tree01c04de345c2660712919e33417021eb81a867f3 /include/editeng
parent5cd96a57b36d15ab7869a6cbfebad06ce351d8bf (diff)
fdo#68373 pattern matching in autocorrection for suffix rich lang.
Change-Id: I4a996c51e6e7115e90bf15254b26025aae1f9a6c
Diffstat (limited to 'include/editeng')
-rw-r--r--include/editeng/svxacorr.hxx4
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;