summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-03-06 15:18:53 +0200
committerMichael Stahl <mstahl@redhat.com>2018-03-08 09:53:34 +0100
commitd0535042efbb7f319ebb6fa8b2d256b986d671ec (patch)
tree04a3def72c6dac30d5026b47280e799f20769721
parentcbc114a8d86d94743562c2eec7a8eef23d2d2297 (diff)
tdf#115432 footnote separator position wrong (2nd attempt)
the first attempt (d4a8d91abd40dee7f7bd739a678a502a6e34cb59) incorrectly changed the type of a UNO property defined in a published IDL file. Change-Id: I75bc75dead0954d1faa6dfb6adab9f4c42c67cfc Reviewed-on: https://gerrit.libreoffice.org/50827 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> (cherry picked from commit 1163bcd5da3063e7e988ebf49d9b60dfd6f6c703) Reviewed-on: https://gerrit.libreoffice.org/50894 Reviewed-by: Michael Stahl <mstahl@redhat.com> (cherry picked from commit 800b3eb336f8ad707848d44656e322ed87cb3570) Reviewed-on: https://gerrit.libreoffice.org/50916
-rw-r--r--xmloff/source/style/XMLFootnoteSeparatorImport.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/style/XMLFootnoteSeparatorImport.cxx b/xmloff/source/style/XMLFootnoteSeparatorImport.cxx
index c9a7bfb2dd07..546e5bdec4e4 100644
--- a/xmloff/source/style/XMLFootnoteSeparatorImport.cxx
+++ b/xmloff/source/style/XMLFootnoteSeparatorImport.cxx
@@ -159,7 +159,7 @@ void XMLFootnoteSeparatorImport::StartElement(
sal_Int32 nIndex;
nIndex = rMapper->FindEntryIndex(CTF_PM_FTN_LINE_ADJUST);
- XMLPropertyState aLineAdjust( nIndex, uno::Any(eLineAdjust));
+ XMLPropertyState aLineAdjust( nIndex, uno::Any(sal_Int16(eLineAdjust)) );
rProperties.push_back(aLineAdjust);
nIndex = rMapper->FindEntryIndex(CTF_PM_FTN_LINE_COLOR);