Kaydet (Commit) 57c8c34f authored tarafından Miklos Vajna's avatar Miklos Vajna

SwTxtPaintInfo::_DrawBackBrush: draw dark border around comment highlight

Change-Id: I71870301db74e4d0c1376c45eb8aadb3912c7ba0
üst 92e00f2e
......@@ -1126,12 +1126,15 @@ void SwTxtPaintInfo::_DrawBackBrush( const SwLinePortion &rPor ) const
const rtl::OUString& rAuthor = rPostItField.GetFld()->GetPar1();
sal_uInt16 nIndex = pNd->GetDoc()->InsertRedlineAuthor(rAuthor);
pOutDev->SetFillColor( SwPostItMgr::GetColorLight(nIndex) );
pOutDev->SetLineColor( SwPostItMgr::GetColorAnchor(nIndex) );
bFilled = true;
}
}
if (!bFilled)
{
pOutDev->SetFillColor( SwViewOption::GetFieldShadingsColor() );
pOutDev->SetLineColor( );
pOutDev->SetLineColor( );
}
pOutDev->DrawRect( aIntersect.SVRect() );
pOutDev->Pop();
}
......
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