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 & consistent with
OUString's valueOf as well.

Kohei

-- 
Kohei Yoshida, LibreOffice hacker, Calc
<kyosh...@novell.com>

_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to