summaryrefslogtreecommitdiffstats
path: root/shell/StaticLibrary_shlxthandler_common.mk
diff options
context:
space:
mode:
authorMichael Stahl <michael.stahl@allotropia.de>2024-05-16 18:09:18 +0200
committerMichael Stahl <michael.stahl@allotropia.de>2024-05-17 19:23:45 +0200
commit7698f386413e514a4478a1af69a8a3be93dfecab (patch)
tree16172d94a998e492852be86d34651d0626339b37 /shell/StaticLibrary_shlxthandler_common.mk
parentWaE: C6011 Dereferencing NULL pointer warnings (diff)
downloadcore-7698f386413e514a4478a1af69a8a3be93dfecab.tar.gz
core-7698f386413e514a4478a1af69a8a3be93dfecab.zip
tdf#161137 sw: fix AutoText or Paste overriding paragraph indents
The problem is that when a paragraph style specifies a SwNumRule, then this style's indents override the indents of the SwNumRule, but if the same SwNumRule is also added to the SwTextNode's mpAttrSet, then the style's indents no longer take effect. This happens both when inserting an AutoText, and when Pasting, into a list item, because DocumentContentOperationsManager::CopyImplImpl() sets the pNumRuleToPropagate as direct formatting on every pasted node. Add another flag to SwDoc::SetNumRule() to check if pNumRuleToPropagate was already in effect due to the paragraph style. Change-Id: Id98ad2a21eab4f8636fb36f9298a054cfe4f7784 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167766 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
Diffstat (limited to 'shell/StaticLibrary_shlxthandler_common.mk')
0 files changed, 0 insertions, 0 deletions