diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-02-27 13:06:31 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-02-27 16:03:01 +0100 |
commit | d4a8d91abd40dee7f7bd739a678a502a6e34cb59 (patch) | |
tree | c4751446135b53d0b0d5d1189faa7b8a66fd5978 /xmloff | |
parent | 453e30e668454b7b193772b1dffe719d844ac168 (diff) |
tdf#115432 footnote separator position remain in the left side
regression from
commit 7e9857c2935bb2533806db4e71c6cd1e171c3478
"templatize SvXMLEnumMapEntry"
Change-Id: Id29e7c07be637adcdc7fe624a1673beca9829d4d
Reviewed-on: https://gerrit.libreoffice.org/50420
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/source/style/XMLFootnoteSeparatorExport.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xmloff/source/style/XMLFootnoteSeparatorExport.cxx b/xmloff/source/style/XMLFootnoteSeparatorExport.cxx index 5446398e5e72..edf57dd3a6bd 100644 --- a/xmloff/source/style/XMLFootnoteSeparatorExport.cxx +++ b/xmloff/source/style/XMLFootnoteSeparatorExport.cxx @@ -31,6 +31,7 @@ #include <xmloff/PageMasterStyleMap.hxx> #include <com/sun/star/text/HorizontalAdjust.hpp> #include <rtl/ustrbuf.hxx> +#include <o3tl/any.hxx> using namespace ::com::sun::star; @@ -75,7 +76,7 @@ void XMLFootnoteSeparatorExport::exportXML( switch (rMapper->GetEntryContextId(rState.mnIndex)) { case CTF_PM_FTN_LINE_ADJUST: - rState.maValue >>= eLineAdjust; + eLineAdjust = *o3tl::forceAccess<text::HorizontalAdjust>(rState.maValue); break; case CTF_PM_FTN_LINE_COLOR: rState.maValue >>= nLineColor; |