[Libreoffice] Replacing ByteString with rtl::OString
kyoshida at novell.com
Wed Jun 8 14:12:16 PDT 2011
On Wed, 2011-06-08 at 23:05 +0200, 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()
You can cast it to sal_Int32. That's probably simpler & consistent with
OUString's valueOf as well.
Kohei Yoshida, LibreOffice hacker, Calc
<kyoshida at novell.com>
More information about the LibreOffice