Kaydet (Commit) a382ecb5 authored tarafından Michael Stahl's avatar Michael Stahl

sw_redlinehide_4a: adapt SwEditShell::GetPaMParAttr()

Change-Id: I97a2081a142fd1f74a5d6be534f094fdc4db45ab
üst 695a7f10
......@@ -216,10 +216,16 @@ bool SwEditShell::GetPaMParAttr( SwPaM* pPaM, SfxItemSet& rSet ) const
// get the node
SwNode* pNd = GetDoc()->GetNodes()[ n ];
if (GetLayout()->IsHideRedlines()
&& pNd->GetRedlineMergeFlag() == SwNode::Merge::Hidden)
{
continue;
}
if( pNd->IsTextNode() )
{
// get the node (paragraph) attributes
static_cast<SwContentNode*>(pNd)->GetAttr(*pSet);
sw::GetAttrMerged(*pSet, *pNd->GetTextNode(), GetLayout());
if( pSet != &rSet && aSet.Count() )
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment