[Libreoffice-commits] core.git: sw/source
Jim Raykowski (via logerrit)
logerrit at kemper.freedesktop.org
Thu Apr 29 23:42:17 UTC 2021
sw/source/uibase/app/docst.cxx | 11 -----------
1 file changed, 11 deletions(-)
New commits:
commit 43c47f0cc133782ed6c4037df38df0d0c82123b8
Author: Jim Raykowski <raykowj at gmail.com>
AuthorDate: Sat Jan 30 11:16:54 2021 -0900
Commit: Jim Raykowski <raykowj at gmail.com>
CommitDate: Fri Apr 30 01:41:27 2021 +0200
tdf#133548 don't change outline level attrib and list style attrib
when a new paragraph style is created based on a "to outline style
assigned" paragraph style
Change-Id: Ia757ca375e0e8749a24c27ad8e3f40daff7ef55d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112255
Tested-by: Jenkins
Reviewed-by: Jim Raykowski <raykowj at gmail.com>
diff --git a/sw/source/uibase/app/docst.cxx b/sw/source/uibase/app/docst.cxx
index d642e140f6f7..43cebe917a2a 100644
--- a/sw/source/uibase/app/docst.cxx
+++ b/sw/source/uibase/app/docst.cxx
@@ -794,17 +794,6 @@ void SwDocShell::Edit(
}
pDStyle->GetCollection()->SetDerivedFrom( pColl );
pDStyle->PresetParent( rParent );
-
- /*When a new paragraph style is created based on a "to outline style
- assigned" paragraph style, the outline level attribute and the list
- style attribute of the new paragraph style have to be set to 0
- respectively "".*/
- if (pColl && pColl->IsAssignedToListLevelOfOutlineStyle())
- {
- SwNumRuleItem aItem;
- pDStyle->GetCollection()->SetFormatAttr( aItem );
- pDStyle->GetCollection()->SetAttrOutlineLevel( 0 );
- }
}
else
{
More information about the Libreoffice-commits
mailing list