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
Context
- String replacement by OUString queries · Prashant Pandey
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.