Also in xmloff/source/forms/propertyimport.cxx (which is not found by
the above search).
In that file I also see:
token::XMLTokenEnum OPropertyExport::implGetPropertyXMLType(const ::com::sun::star::uno::Type& _rType)
// handle the type description
So there, clearly, all numeric types (including the UNO double)
consistently map to XML_FLOAT, so taking the extra precision from the
C++ type "float" to "double" makes absolute sense. What is called
"float" in XML seems to be the general notion of number, not
specifically the IEE754 single precision 32-bit floating point.
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