summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-09-10 15:32:45 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-09-10 17:11:29 +0200
commite7d4a1c87feaad785438fa46f26f0f8f1992faa5 (patch)
tree375f9456acb4cbb2dbba7486af1b0680363f7205 /xmloff
parent01b334a883c6c24da6e92fc6ad063d97593567fe (diff)
tdf#136645 FILEOPEN: ODT: Incorrect section size
regression from commit 36914a8b3a07391d225bce593236d6fcf0cc61d2 (patch) use fastparser in XMLElementPropertyContext subclasses Change-Id: I31dc4ce73da88fbd2fbf0f5066c58ac8acfc2731 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102384 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/text/XMLTextColumnsContext.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/xmloff/source/text/XMLTextColumnsContext.cxx b/xmloff/source/text/XMLTextColumnsContext.cxx
index 5211cc4eb1da..e6b0a54fa917 100644
--- a/xmloff/source/text/XMLTextColumnsContext.cxx
+++ b/xmloff/source/text/XMLTextColumnsContext.cxx
@@ -125,11 +125,13 @@ XMLTextColumnContext_Impl::XMLTextColumnContext_Impl(
}
break;
case XML_ELEMENT(FO, XML_START_INDENT):
+ case XML_ELEMENT(FO_COMPAT, XML_START_INDENT):
if( GetImport().GetMM100UnitConverter().
convertMeasureToCore( nVal, sValue ) )
aColumn.LeftMargin = nVal;
break;
case XML_ELEMENT(FO, XML_END_INDENT):
+ case XML_ELEMENT(FO_COMPAT, XML_END_INDENT):
if( GetImport().GetMM100UnitConverter().
convertMeasureToCore( nVal, sValue ) )
aColumn.RightMargin = nVal;