convert sw/inc/acmplwrd.hxx from String to OUString
Change-Id: Iae7770dd784465777ef8d3317f50982ed18f5e1c
This commit is contained in:
@@ -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(); }
|
||||
|
@@ -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;
|
||||
|
Reference in New Issue
Block a user