summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Luth <justin_luth@sil.org>2017-09-04 11:43:09 -0400
committerMichael Stahl <mstahl@redhat.com>2017-09-07 15:35:37 +0200
commitb4050f780d352c36175d9fb98aa01d7af973d8fe (patch)
tree4c80826bead6a109603756d06f957fc46cef6f3c
parentece79b8f7e52f0658f63caad63134fc8a3503c34 (diff)
tdf#112208 rtfimport: fix missing paragraph first line indent
This is a followup to commit f528f9499bd91b700c549575e88fa102cfffede9 addding ParaFirstLineIndent to that commit's ParaLeft/RightMargin. I also added code for hanging indents, but it doesn't look like that case will ever hit. Just added for completeness. Change-Id: I2b04866b9eb4b085503f3b7d3b6e97d4f9e3d19c Reviewed-on: https://gerrit.libreoffice.org/41912 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Justin Luth <justin_luth@sil.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
-rw-r--r--writerfilter/source/rtftok/rtfsprm.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/writerfilter/source/rtftok/rtfsprm.cxx b/writerfilter/source/rtftok/rtfsprm.cxx
index 7d0129cf2b5f..783d3b952473 100644
--- a/writerfilter/source/rtftok/rtfsprm.cxx
+++ b/writerfilter/source/rtftok/rtfsprm.cxx
@@ -168,6 +168,8 @@ static bool isSPRMDeduplicateBlacklist(Id nId)
// possibly from the numbering.
case NS_ooxml::LN_CT_Ind_left:
case NS_ooxml::LN_CT_Ind_right:
+ case NS_ooxml::LN_CT_Ind_firstLine:
+ case NS_ooxml::LN_CT_Ind_hanging:
// \htmautsp arrives after the style table, so only the non-style value is
// correct, keep these.
case NS_ooxml::LN_CT_Spacing_beforeAutospacing: