diff options
author | Lionel Elie Mamane <lionel@mamane.lu> | 2013-07-23 19:14:04 +0200 |
---|---|---|
committer | Lionel Elie Mamane <lionel@mamane.lu> | 2013-07-23 19:25:41 +0200 |
commit | cab9b82fb31217223511afcea88ad7446999492b (patch) | |
tree | d00e720ec87adcf5d132b815e9f7a1bd485c8b7d /reportdesign/source/core/sdr/RptObject.cxx | |
parent | 7f67dd5dfae59a492a88fb2569ee5600add1ecde (diff) |
fdo#67186 switch reporbuilder to null date == 1899-12-30
This brings it in line with the default for other LibreOffice
components (e.g. Calc), or with the only supported value (e.g. Writer
tables), respectively.
Configure Pentaho jfreereport to also take null date == 1899-12-30
This combined allows reportbuilder to make absolutely no fiddly
conversion itself, leaving them to jfreereport and Writer table
cell format.
Also:
- Make absolutely no conversion itself, also e.g. for booleans.
- ODF compliance: make the value-type match the set foo-value attribute.
- Use value-type="void" instead of empty value-type="string"
Change-Id: I67990232dbc9e86ac3fa37cd0c20edecb87cf8ee
Diffstat (limited to 'reportdesign/source/core/sdr/RptObject.cxx')
-rw-r--r-- | reportdesign/source/core/sdr/RptObject.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/reportdesign/source/core/sdr/RptObject.cxx b/reportdesign/source/core/sdr/RptObject.cxx index 2118cdd4d8fe..37f61dd07509 100644 --- a/reportdesign/source/core/sdr/RptObject.cxx +++ b/reportdesign/source/core/sdr/RptObject.cxx @@ -1239,7 +1239,7 @@ void OOle2Obj::initializeOle() uno::Reference< beans::XPropertySet > xChartProps( xCompSupp->getComponent(), uno::UNO_QUERY ); if ( xChartProps.is() ) xChartProps->setPropertyValue("NullDate", - uno::makeAny(util::DateTime(0,0,0,0,1,1,1900,false))); + uno::makeAny(util::DateTime(0,0,0,0,30,12,1899,false))); } } } |