diff options
author | László Németh <nemeth@numbertext.org> | 2019-01-23 11:27:01 +0100 |
---|---|---|
committer | László Németh <nemeth@numbertext.org> | 2019-01-24 08:15:52 +0100 |
commit | d97fc64a819f834302e384792668507df4cc412c (patch) | |
tree | 3350e85a074f53ca74bc5190d2605cf910ce97fb /sw/inc/editsh.hxx | |
parent | 976da2b60ebe4e8bb7c311c1c6325519db6c5bda (diff) |
tdf#122893 track changes: keep paragraph alignment
and preset line spaces applied in Show Changes mode, instead of
losing them after saving the document or hiding the changes.
The bug occurred in paragraphs with directly preceding tracked deletions.
Change-Id: I33d9db8ee3522470c4f2dfdcfbea4060db8769a2
Reviewed-on: https://gerrit.libreoffice.org/66789
Reviewed-by: László Németh <nemeth@numbertext.org>
Tested-by: László Németh <nemeth@numbertext.org>
Diffstat (limited to 'sw/inc/editsh.hxx')
-rw-r--r-- | sw/inc/editsh.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/inc/editsh.hxx b/sw/inc/editsh.hxx index fc804550f887..18b67e8cf0dd 100644 --- a/sw/inc/editsh.hxx +++ b/sw/inc/editsh.hxx @@ -230,7 +230,8 @@ public: bool GetCurAttr( SfxItemSet& , const bool bMergeIndentValuesOfNumRule = false ) const; void SetAttrItem( const SfxPoolItem&, SetAttrMode nFlags = SetAttrMode::DEFAULT ); - void SetAttrSet( const SfxItemSet&, SetAttrMode nFlags = SetAttrMode::DEFAULT, SwPaM* pCursor = nullptr ); + void SetAttrSet( const SfxItemSet&, SetAttrMode nFlags = SetAttrMode::DEFAULT, + SwPaM* pCursor = nullptr, const bool bParagraphSetting = false ); /** Get RES_CHRATR_* items of one type in the current selection. * @param nWhich WhichId of the collected items. |