From 295cf49b81b8c008ec0ea2c92f7cf729d5523d4e Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Tue, 10 Oct 2017 07:58:26 +0200 Subject: tdf#112211 RTF import: fix unwanted direct formatting for other indents Commit 56a695fddb915bcba13b088b5b2b4e0841d4acbc (tdf#112211 RTF import: fix unwanted direct formatting for left indents, 2017-09-26) fixed left indents, and given that it was a regression fix, left the other indent types untouched. As it has been pointed out in the bug comment, the original bugdoc actually needs the other indent types removed as well, so let's do that. Change-Id: Ia4ea7e2214b7df27536f46b046f90bd703c107be Reviewed-on: https://gerrit.libreoffice.org/43303 Reviewed-by: Miklos Vajna Tested-by: Jenkins --- writerfilter/source/rtftok/rtfsprm.cxx | 6 ------ 1 file changed, 6 deletions(-) (limited to 'writerfilter') diff --git a/writerfilter/source/rtftok/rtfsprm.cxx b/writerfilter/source/rtftok/rtfsprm.cxx index 99218bcd9f20..8ade6fe07f94 100644 --- a/writerfilter/source/rtftok/rtfsprm.cxx +++ b/writerfilter/source/rtftok/rtfsprm.cxx @@ -161,12 +161,6 @@ static bool isSPRMDeduplicateBlacklist(Id nId) case NS_ooxml::LN_CT_TabStop_val: case NS_ooxml::LN_CT_TabStop_leader: case NS_ooxml::LN_CT_TabStop_pos: - // Erasing these just because they equal to the style one is - // problematic, as then the used value won't be from the style, but - // possibly from the numbering. - 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: -- cgit