[Libreoffice-commits] core.git: Branch 'distro/lhm/libreoffice-6-4+backports' - sw/source
Serge Krot (via logerrit)
logerrit at kemper.freedesktop.org
Wed Jan 29 11:46:31 UTC 2020
sw/source/filter/ww8/docxattributeoutput.cxx | 7 +++++++
1 file changed, 7 insertions(+)
New commits:
commit 0d2d1643e127696dbee30ab57fa56508c0c4d04b
Author: Serge Krot <Serge.Krot at cib.de>
AuthorDate: Tue Jan 14 16:03:08 2020 +0100
Commit: Thorsten Behrens <Thorsten.Behrens at CIB.de>
CommitDate: Wed Jan 29 12:46:03 2020 +0100
tdf#126795 docx export: do not output tab stops twice
Change-Id: I70235df7fb73133f413863ee5eb7c76905a60248
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86767
Tested-by: Jenkins
Reviewed-by: Thorsten Behrens <Thorsten.Behrens at CIB.de>
(cherry picked from commit 264d27c94d7286a407b05a32f4097ac9d543e1a3)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87525
Tested-by: Thorsten Behrens <Thorsten.Behrens at CIB.de>
diff --git a/sw/source/filter/ww8/docxattributeoutput.cxx b/sw/source/filter/ww8/docxattributeoutput.cxx
index 7a01c9ff1533..cf0195c2c7ec 100644
--- a/sw/source/filter/ww8/docxattributeoutput.cxx
+++ b/sw/source/filter/ww8/docxattributeoutput.cxx
@@ -7869,6 +7869,13 @@ void DocxAttributeOutput::ParaTabStop( const SvxTabStopItem& rTabStop )
return;
}
+ // do not output inherited tabs twice (inside styles and inside inline properties)
+ if ( nCount == nInheritedTabCount && nCount > 0 )
+ {
+ if ( *pInheritedTabs == rTabStop )
+ return;
+ }
+
m_pSerializer->startElementNS(XML_w, XML_tabs);
// Get offset for tabs
More information about the Libreoffice-commits
mailing list