Re: [Libreoffice] Replacing ByteString with rtl::OString

2011-07-13 Thread Caolán McNamara
On Tue, 2011-07-12 at 21:18 +0200, Chr. Rossmanith wrote: > Hi, > > next problem: there is no IsNumericAscii() for O(U)String but for > ByteString. Should O(U)String get this method as well? Don't know if its really widely used enough to warrant expanding the O[U]String API ? You could perhaps r

Re: [Libreoffice] Replacing ByteString with rtl::OString

2011-07-12 Thread Chr. Rossmanith
Hi, next problem: there is no IsNumericAscii() for O(U)String but for ByteString. Should O(U)String get this method as well? Christina ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreo

Re: [Libreoffice] Replacing ByteString with rtl::OString

2011-06-29 Thread Caolán McNamara
On Tue, 2011-06-28 at 22:15 +0200, Chr. Rossmanith wrote: > Hi, > > seems that I have to adjust the search path for header files: > > {LibreOffice3-root}/solver/350/unxlngi6.pro/inc/tools/stream.hxx:37:34: > fatal error: sal/inc/rtl/string.hxx: Datei oder Verzeichnis nicht > gefunden (file or

Re: [Libreoffice] Replacing ByteString with rtl::OString

2011-06-28 Thread Chr. Rossmanith
Hi, seems that I have to adjust the search path for header files: {LibreOffice3-root}/solver/350/unxlngi6.pro/inc/tools/stream.hxx:37:34: fatal error: sal/inc/rtl/string.hxx: Datei oder Verzeichnis nicht gefunden (file or directory not found) But I need a hint which Makefile I have to modif

Re: [Libreoffice] Replacing ByteString with rtl::OString

2011-06-28 Thread Caolán McNamara
On Mon, 2011-06-27 at 23:42 +0200, Chr. Rossmanith wrote: > Hi, > > 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

Re: [Libreoffice] Replacing ByteString with rtl::OString

2011-06-27 Thread Chr. Rossmanith
Hi, 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 'SvMemoryStream::ReadLine(rtl::OString&)' tools/stream.h

Re: [Libreoffice] Replacing ByteString with rtl::OString

2011-06-09 Thread Thorsten Behrens
Chr. Rossmanith wrote: > I encountered the problem that rtl::OString::valueOf() won't eat sal_Int16. > > Solution A: cast argument > Solution B: add support for sal_Int16 to rtl::OString::valueOf() > Solution B would add ambiguities wrt. to valueOf( sal_Unicode c ), and likely break (some) platfo

Re: [Libreoffice] Replacing ByteString with rtl::OString

2011-06-08 Thread Kohei Yoshida
On Wed, 2011-06-08 at 23:05 +0200, Chr. Rossmanith wrote: > Hi, > > I encountered the problem that rtl::OString::valueOf() won't eat sal_Int16. > > Solution A: cast argument > Solution B: add support for sal_Int16 to rtl::OString::valueOf() You can cast it to sal_Int32. That's probably simpler

[Libreoffice] Replacing ByteString with rtl::OString

2011-06-08 Thread Chr. Rossmanith
Hi, I encountered the problem that rtl::OString::valueOf() won't eat sal_Int16. Solution A: cast argument Solution B: add support for sal_Int16 to rtl::OString::valueOf() Any opinions? Christina ___ LibreOffice mailing list LibreOffice@lists.freedesk