summaryrefslogtreecommitdiff
path: root/sw/source/filter/basflt
diff options
context:
space:
mode:
authorMichael Stahl <Michael.Stahl@cib.de>2018-11-19 17:44:37 +0100
committerMichael Stahl <Michael.Stahl@cib.de>2018-12-01 08:44:43 +0100
commitc253dde883b2cc7fd1fd0a460fd969bcb941d32c (patch)
tree4be4beef73de58ddb9705adf2c54f08b0cf5c3f7 /sw/source/filter/basflt
parent2ad1767c58a46266401c07d4dd4625f1fc816ac2 (diff)
sw_redlinehide_4a: InsertItemSet()/InsertPoolItem()
It's really quite annoying to have RES_BREAK applied to all nodes; so apply the node-items only to the first-/properties-node and skip hidden nodes. Keep applying text/character items as before, except skip over hidden nodes. Change-Id: I085afd59af78caf1ca8dac4080c53bdbdb4e56a1
Diffstat (limited to 'sw/source/filter/basflt')
-rw-r--r--sw/source/filter/basflt/fltshell.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/basflt/fltshell.cxx b/sw/source/filter/basflt/fltshell.cxx
index 30109e940402..bfd9d621a8e2 100644
--- a/sw/source/filter/basflt/fltshell.cxx
+++ b/sw/source/filter/basflt/fltshell.cxx
@@ -796,7 +796,7 @@ void SwFltControlStack::SetAttrInDoc(const SwPosition& rTmpPos,
{
if (rEntry.IsParaEnd())
{
- pDoc->getIDocumentContentOperations().InsertPoolItem(aRegion, *rEntry.pAttr, SetAttrMode::DEFAULT, true);
+ pDoc->getIDocumentContentOperations().InsertPoolItem(aRegion, *rEntry.pAttr, SetAttrMode::DEFAULT, nullptr, true);
}
else
{