diff options
-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; |