Update ooo320-m1
[ooovba.git] / applied_patches / 0202-context-autocomplete.diff
blobfc852ed0c18da34cd028570af256c0a07bece50d
1 --- sw/source/ui/docvw/edtwin.cxx.bakj 2005-08-10 09:35:53.000000000 +0530
2 +++ sw/source/ui/docvw/edtwin.cxx 2005-08-11 11:05:38.000000000 +0530
3 @@ -5209,7 +5209,13 @@
4 if( rS.Len() > rWord.Len() )
6 String* pNew = new String( rS );
7 - if( !aArr.Insert( pNew ) )
8 + ByteString bStr(::rtl::OUStringToOString (rWord, RTL_TEXTENCODING_UTF8));
9 + if (bStr.IsLowerAscii())
10 + pNew->ToLowerAscii();
11 + else if (bStr.IsUpperAscii())
12 + pNew->ToUpperAscii();
14 + if( !aArr.Insert(pNew ) )
15 delete pNew;
17 ++nStt;