diff options
author | Szymon Kłos <szymon.klos@collabora.com> | 2023-08-03 16:53:36 +0200 |
---|---|---|
committer | Szymon Kłos <szymon.klos@collabora.com> | 2023-08-04 10:17:33 +0200 |
commit | a68d39c34ea1e418deadc0a5ee2acc2019a582cf (patch) | |
tree | cb63ad7b773d6a858619cf88c14b521be8eded03 /oox | |
parent | ae3b97a69688553e6c40ef4b64655db09d5a0f5e (diff) |
oox: default first line indent is 0
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 <szymon.klos@collabora.com>
Diffstat (limited to 'oox')
-rw-r--r-- | oox/source/drawingml/textparagraphproperties.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
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<sal_Int32>( PROP_ParaFirstLineIndent, 0); if ( moDefaultTabSize ) { |