Question unoType for getXmlToken (dbaccess/reportdesign module)

sberg sbergman at redhat.com
Sun May 18 23:33:46 PDT 2014


On 05/16/2014 07:30 PM, julien2412 [via Document Foundation Mail 
Archive] wrote:
> I noticed this:
> s_aTypeNameMap[GetXMLToken( XML_FLOAT)] = ::cppu::UnoType<double>::get();
> present at 2 locations:
> See
> http://opengrok.libreoffice.org/search?q=%22GetXMLToken%28+XML_FLOAT%29%22&project=core&defs=&refs=&path=&hist=
>
> Why shouldn't be this:
> s_aTypeNameMap[GetXMLToken( XML_FLOAT)] = ::cppu::UnoType<float>::get();
> ?

Why should it, because of the "FLOAT" in XML_FLOAT?  I don't know 
anything about that dbaccess/reportbuilder code.  You might want to ask 
on the ML instead (maybe Lionel knows), but I'd assume the code is fine 
as is.

Stephan




--
View this message in context: http://nabble.documentfoundation.org/Question-unoType-for-getXmlToken-dbaccess-reportdesign-module-tp4109071p4109306.html
Sent from the Dev mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20140518/0b27ab26/attachment.html>


More information about the LibreOffice mailing list