From a68d39c34ea1e418deadc0a5ee2acc2019a582cf Mon Sep 17 00:00:00 2001 From: Szymon Kłos Date: Thu, 3 Aug 2023 16:53:36 +0200 Subject: oox: default first line indent is 0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit When First Line Indent was defined in paragraph properties Impress remembered that value and applied for the next paragraph. Let's set it to default value (0) if property is not set explicitly. Change-Id: I3b075fab594fce64d953553634a49b9769c9341c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/155336 Tested-by: Jenkins Reviewed-by: Szymon Kłos --- oox/source/drawingml/textparagraphproperties.cxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'oox') diff --git a/oox/source/drawingml/textparagraphproperties.cxx b/oox/source/drawingml/textparagraphproperties.cxx index 8122c4e53324..df3d36a21003 100644 --- a/oox/source/drawingml/textparagraphproperties.cxx +++ b/oox/source/drawingml/textparagraphproperties.cxx @@ -494,6 +494,8 @@ void TextParagraphProperties::pushToPropSet( const ::oox::core::XmlFilterBase* p aPropSet.setProperty( PROP_ParaTabStops, aSeq ); } } + else + aPropSet.setProperty( PROP_ParaFirstLineIndent, 0); if ( moDefaultTabSize ) { -- cgit