Re: String replacement by OUString queries

2013-02-25 Thread Caolán McNamara
On Mon, 2013-02-25 at 03:57 +0530, Prashant Pandey wrote: > I get an error: ‘OUStringBuffer’ was not declared in this scope ! > I tried out many things but with fail. make sure you've got #include > I would like to know that what are the parameters to replace > foo.Erase(a,b) i.e. the middle pa

String replacement by OUString queries

2013-02-24 Thread Prashant Pandey
Hi all, I am trying to replace String -> OUString, but am stuck badly at certain places. I replaced: 'rName.SetChar( i, c )' by the following: OUStringBuffer aTmpStr( rName.getStr() ) ; aTmpStr[ i ] = c ; rName = aTmpStr.makeStringAndClear() ; Bu