summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-10-11 11:07:56 +0200
committerNoel Grandin <noel@peralex.com>2013-10-15 12:25:40 +0200
commitc08c1efcf1967a14ca7cbc58d3f9f8d62a6b868c (patch)
treee87350ca5d1de7c4d117fcdfd3aee6d5b29c48ce /sw
parentf94b7f6507820fe0b57336338f8fb84f4c33bf83 (diff)
convert sw/inc/acmplwrd.hxx from String to OUString
Change-Id: Iae7770dd784465777ef8d3317f50982ed18f5e1c
Diffstat (limited to 'sw')
-rw-r--r--sw/inc/acmplwrd.hxx2
-rw-r--r--sw/source/core/doc/acmplwrd.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sw/inc/acmplwrd.hxx b/sw/inc/acmplwrd.hxx
index 4a544ca4d4cc..416404f24422 100644
--- a/sw/inc/acmplwrd.hxx
+++ b/sw/inc/acmplwrd.hxx
@@ -51,7 +51,7 @@ public:
SwAutoCompleteWord( sal_uInt16 nWords = 500, sal_uInt16 nMWrdLen = 10 );
~SwAutoCompleteWord();
- bool InsertWord( const String& rWord, SwDoc& rDoc );
+ bool InsertWord( const OUString& rWord, SwDoc& rDoc );
const OUString& operator[](size_t n) const
{ return m_WordList[n]->GetAutoCompleteString(); }
diff --git a/sw/source/core/doc/acmplwrd.cxx b/sw/source/core/doc/acmplwrd.cxx
index 92ccc0e74684..bae263805a40 100644
--- a/sw/source/core/doc/acmplwrd.cxx
+++ b/sw/source/core/doc/acmplwrd.cxx
@@ -233,7 +233,7 @@ SwAutoCompleteWord::~SwAutoCompleteWord()
#endif
}
-bool SwAutoCompleteWord::InsertWord( const String& rWord, SwDoc& rDoc )
+bool SwAutoCompleteWord::InsertWord( const OUString& rWord, SwDoc& rDoc )
{
SwDocShell* pDocShell = rDoc.GetDocShell();
SfxMedium* pMedium = pDocShell ? pDocShell->GetMedium() : 0;