diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-03-07 17:32:40 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-03-07 19:23:57 +0100 |
commit | dcd95c6fff548c7ac46688244e44b95464fb297d (patch) | |
tree | d9c5f01f21fa707c701c75fb0f28a75f7e478e96 /xmloff/source | |
parent | a1aa7cfe28c80296d160528a62da33cc031101b0 (diff) |
tdf#115432 footnote separator position wrong (3rd attempt)
My second attempt in
commit dedf5e4f9000e271683dea9a0488e1b45b91176c
"tdf#115432 footnote separator position wrong (2nd attempt)"
managed to lose part of the change because of incorrect rebasing.
Change-Id: I7b18f3e1602c617d1cb414ef0eb2ee456aeb58ee
Reviewed-on: https://gerrit.libreoffice.org/50901
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'xmloff/source')
-rw-r--r-- | xmloff/source/style/XMLFootnoteSeparatorExport.cxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/xmloff/source/style/XMLFootnoteSeparatorExport.cxx b/xmloff/source/style/XMLFootnoteSeparatorExport.cxx index 5446398e5e72..de68e802b274 100644 --- a/xmloff/source/style/XMLFootnoteSeparatorExport.cxx +++ b/xmloff/source/style/XMLFootnoteSeparatorExport.cxx @@ -75,8 +75,12 @@ void XMLFootnoteSeparatorExport::exportXML( switch (rMapper->GetEntryContextId(rState.mnIndex)) { case CTF_PM_FTN_LINE_ADJUST: - rState.maValue >>= eLineAdjust; + { + sal_Int16 nTmp; + if (rState.maValue >>= nTmp) + eLineAdjust = static_cast<text::HorizontalAdjust>(nTmp); break; + } case CTF_PM_FTN_LINE_COLOR: rState.maValue >>= nLineColor; break; |