[PATCH] [REVIEW:3-5,3-5-5] fdo#43967 legacy report wizard improperly formats dates

Lionel Elie Mamane lionel at mamane.lu
Mon Jun 18 07:54:25 PDT 2012


Legacy reports (not Sun/Oracle Report Builder ones) wizard show date
columns as an integer days-since-epoch instead of e.g. nicely
formatted "DD-MM-YY" (day-month-year) in *newly* *created* reports.

Commit message is explanatory; shout if you have other question.

Please apply to libreoffice-3-5 and libreoffice-3-5-5 branch.

I ask for libreoffice-3-5-5 because the fix seems rather safe to me:

 1) Protects a setProperty with test for existence of this property

 2) Initializes values before they are used (see the code of
    getTyperelatedFieldData in the same file)

-- 
Lionel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-fdo-43967-legacy-report-designer-wizard-formats-date.patch
Type: text/x-diff
Size: 3483 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20120618/3eea6ecc/attachment.patch>


More information about the LibreOffice mailing list