String replacement by OUString queries
Prashant Pandey
prashant3.yishu at gmail.com
Sun Feb 24 14:27:57 PST 2013
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() ;
But I get an error: ‘OUStringBuffer’ was not declared in this scope !
I tried out many things but with fail.
Secondly, I would like to know that what are the parameters to replace
foo.Erase(a,b) i.e. the middle part of some string using OUStringBuffer()
or copy ?
I would be more than happy if someone could help me in this regard.
Waiting for an earliest reply!
Thanks
Prashant Pandey
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20130225/f5e2625e/attachment.html>
More information about the LibreOffice
mailing list