summaryrefslogtreecommitdiff
path: root/include/editeng
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-09-06 12:57:33 +0200
committerNoel Grandin <noel@peralex.com>2013-09-11 09:45:30 +0200
commit7b3f9c737579d1c8e0f4c271e21c9217f0d588fa (patch)
tree7d7b0fd43ef73030a0c8344a60e41df5befeebd9 /include/editeng
parent11986b61b2e5c80becd955cf956c2034595f65b0 (diff)
convert SvxAutocorrWord from String to OUString
Change-Id: If06144ebd511653bc7bcf51b2a408e5e1732cb83
Diffstat (limited to 'include/editeng')
-rw-r--r--include/editeng/svxacorr.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/editeng/svxacorr.hxx b/include/editeng/svxacorr.hxx
index 46933f3a5638..1cbbdfb8b8ef 100644
--- a/include/editeng/svxacorr.hxx
+++ b/include/editeng/svxacorr.hxx
@@ -150,7 +150,7 @@ class EDITENG_DLLPUBLIC SvxAutocorrWordList
mutable SvxAutocorrWordList_Hash maHash; // key is 'Short'
const SvxAutocorrWord* WordMatches(const SvxAutocorrWord *pFnd,
- const String &rTxt,
+ const OUString &rTxt,
xub_StrLen &rStt,
xub_StrLen nEndPos) const;
public:
@@ -159,13 +159,13 @@ public:
void DeleteAndDestroyAll();
bool Insert(SvxAutocorrWord *pWord) const;
SvxAutocorrWord* FindAndRemove(SvxAutocorrWord *pWord);
- void LoadEntry(String sWrong, String sRight, sal_Bool bOnlyTxt);
+ void LoadEntry(const OUString& sWrong, const OUString& sRight, sal_Bool bOnlyTxt);
bool empty() const;
typedef std::vector<SvxAutocorrWord *> Content;
Content getSortedContent() const;
- const SvxAutocorrWord* SearchWordsInList(const String& rTxt, xub_StrLen& rStt, xub_StrLen nEndPos) const;
+ const SvxAutocorrWord* SearchWordsInList(const OUString& rTxt, xub_StrLen& rStt, xub_StrLen nEndPos) const;
};
class EDITENG_DLLPUBLIC SvxAutoCorrectLanguageLists