summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-03-06 14:16:48 +0100
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-03-07 07:07:02 +0100
commit2407c183092d6559771738891d57d6375c4212ab (patch)
tree877797d2c711450ee99e4b1fc361af48eb0d2475 /xmloff
parente092c72b44d99ea5c6c7f71cd717b20a4a86f5ac (diff)
Revert "tdf#115432 footnote separator position remain in the left side"
This reverts commit d4a8d91abd40dee7f7bd739a678a502a6e34cb59. because it changes the type of an UNO property defined in a published IDL file Change-Id: I4d3db3532b27552a30f34fcd4201856565eb0a3b Reviewed-on: https://gerrit.libreoffice.org/50825 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/style/XMLFootnoteSeparatorExport.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/xmloff/source/style/XMLFootnoteSeparatorExport.cxx b/xmloff/source/style/XMLFootnoteSeparatorExport.cxx
index edf57dd3a6bd..5446398e5e72 100644
--- a/xmloff/source/style/XMLFootnoteSeparatorExport.cxx
+++ b/xmloff/source/style/XMLFootnoteSeparatorExport.cxx
@@ -31,7 +31,6 @@
#include <xmloff/PageMasterStyleMap.hxx>
#include <com/sun/star/text/HorizontalAdjust.hpp>
#include <rtl/ustrbuf.hxx>
-#include <o3tl/any.hxx>
using namespace ::com::sun::star;
@@ -76,7 +75,7 @@ void XMLFootnoteSeparatorExport::exportXML(
switch (rMapper->GetEntryContextId(rState.mnIndex))
{
case CTF_PM_FTN_LINE_ADJUST:
- eLineAdjust = *o3tl::forceAccess<text::HorizontalAdjust>(rState.maValue);
+ rState.maValue >>= eLineAdjust;
break;
case CTF_PM_FTN_LINE_COLOR:
rState.maValue >>= nLineColor;