Kaydet (Commit) dcd95c6f authored tarafından Noel Grandin's avatar Noel Grandin

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/50901Reviewed-by: 's avatarMichael Stahl <mstahl@redhat.com>
Tested-by: 's avatarJenkins <ci@libreoffice.org>
üst a1aa7cfe
...@@ -75,8 +75,12 @@ void XMLFootnoteSeparatorExport::exportXML( ...@@ -75,8 +75,12 @@ void XMLFootnoteSeparatorExport::exportXML(
switch (rMapper->GetEntryContextId(rState.mnIndex)) switch (rMapper->GetEntryContextId(rState.mnIndex))
{ {
case CTF_PM_FTN_LINE_ADJUST: case CTF_PM_FTN_LINE_ADJUST:
rState.maValue >>= eLineAdjust; {
sal_Int16 nTmp;
if (rState.maValue >>= nTmp)
eLineAdjust = static_cast<text::HorizontalAdjust>(nTmp);
break; break;
}
case CTF_PM_FTN_LINE_COLOR: case CTF_PM_FTN_LINE_COLOR:
rState.maValue >>= nLineColor; rState.maValue >>= nLineColor;
break; break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment