[Libreoffice] Replacing ByteString with rtl::OString
caolanm at redhat.com
Tue Jun 28 04:19:08 PDT 2011
On Mon, 2011-06-27 at 23:42 +0200, Chr. Rossmanith wrote:
> the next problem: SvMemoryStream::ReadLine() isn't happy with argument
> of type "rtl::OString&"...
> httprequest.cxx: In member function 'sal_Bool HttpRequest::Execute()':
> httprequest.cxx:165:34: error: no matching function for call to
> tools/stream.hxx:447:15: note: candidate is: sal_Bool
> Any hints how to get over that hurdle?
Probably the best thing to do is to add a variant that take a OString,
e.g. Easiest thing for now is likely to just have a body of
SvStream::ReadLine( rtl::OString& rStr )
ret = ReadLine(aFoo);
rStr = aFoo;
and get back to converting it fully over once all uses of it are gone.
More information about the LibreOffice