upper case digits in OUString/OString::number() (was: [Libreoffice-commits] core.git: Change RGB "FFFF00" -> "ffff00" to keep roundtrip test happy)
Lubos Lunak
l.lunak at collabora.com
Sun Apr 27 04:04:12 PDT 2014
On Friday 25 of April 2014, Eike Rathke wrote:
> Hi Stephan,
>
> On Friday, 2014-04-25 10:06:17 +0200, Stephan Bergmann wrote:
> > Would it be better to change
> > oox::drawingml::DrawingML::WriteColor(sal_uInt32, sal_Int32)
> > (oox/source/export/drawingml.cxx) to always write OOXML
> > ST_HexColorRGB values in W3C XML Schema hexBinaryCanonical form,
> > i.e., with upper case digits A--F?
>
> Which reminds me, we can't force upper case digits in
> OUString/OString::number(), can we?
We can, the docs say it'll be a string representation of the number, it
doesn't say whether hex will be uppercase or lowercase. The question is of
course how much code makes an assumption about this and whether the change is
worth it.
--
Lubos Lunak
l.lunak at collabora.com
More information about the LibreOffice
mailing list