tdf#148142 chart: fix export of modified On/Between tick marks
commit3116a14f6849238cfe342de7d8b307986ff5bb04
authorTünde Tóth <toth.tunde@nisz.hu>
Wed, 17 May 2023 11:49:29 +0000 (17 13:49 +0200)
committerAndras Timar <andras.timar@collabora.com>
Sun, 28 May 2023 18:58:14 +0000 (28 20:58 +0200)
tree8eecab989b44bb7935545a1821688bca9129e477
parent36831c668c53fdfcd78300045e6beafccbba35c6
tdf#148142 chart: fix export of modified On/Between tick marks

Reset the MajorOrigin property after import to avoid
of the bad export of the modified document, which reset
the original On tick marks/Between tick marks value.

Follow-up to commit 40d83914d43f60a196dfabddea0b52e2046b333a
"tdf#127792 implement UNO chart attribute MajorOrigin".

Change-Id: I0e3915b7d1b601abd40fbd1ba9d01fc05a8fb7c1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/151885
Tested-by: László Németh <nemeth@numbertext.org>
Reviewed-by: László Németh <nemeth@numbertext.org>
Signed-off-by: Xisco Fauli <xiscofauli@libreoffice.org>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152009
Tested-by: Jenkins
chart2/qa/extras/chart2export3.cxx
chart2/qa/extras/data/ods/tdf148142.ods [new file with mode: 0644]
xmloff/source/chart/SchXMLAxisContext.cxx