convert sw/inc/acmplwrd.hxx from String to OUString

Change-Id: Iae7770dd784465777ef8d3317f50982ed18f5e1c
This commit is contained in:
Noel Grandin
2013-10-11 11:07:56 +02:00
parent f94b7f6507
commit c08c1efcf1
2 changed files with 2 additions and 2 deletions

View File

@@ -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(); }

View File

@@ -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;