Hi Nobert, I corrected myself in the following mail with this one. I did : aRealStyle.copy(aRealStyle.indexOf(aSep) + aSep.getLength()); which I suppose is doing the same thing as required.
since foo.erase(0,n) => foo=foo.copy(n) Still, if I am wrong, then please inform. Thanks Prashant On Mon, Feb 18, 2013 at 4:17 AM, Norbert Thiebaud <nthieb...@gmail.com>wrote: > On Sun, Feb 17, 2013 at 3:36 PM, Prashant Pandey > <prashant3.yi...@gmail.com> wrote: > > Hi Jean, > > > > Thanks for help ! > > > > Finally, I did : aRealStyle.copy(0,(aRealStyle.Search(aSep) + > aSep.Len())); > > > > It also worked :) > > No it did not work. it compiled, but it does not do the same as the > orginal code. > > Norbert >
_______________________________________________ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice