diff options
author | Miklos Vajna <vmiklos@suse.cz> | 2012-08-02 15:11:16 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@suse.cz> | 2012-08-02 15:16:20 +0200 |
commit | 57c8c34fcdc2d594d2da3593eb9d86d0daf4e18c (patch) | |
tree | e721b17bad151f37401cd3a769fa25269852bdfe /sw | |
parent | 92e00f2e536ce0458961d329a3c676acc86249e6 (diff) |
SwTxtPaintInfo::_DrawBackBrush: draw dark border around comment highlight
Change-Id: I71870301db74e4d0c1376c45eb8aadb3912c7ba0
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/text/inftxt.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sw/source/core/text/inftxt.cxx b/sw/source/core/text/inftxt.cxx index e3f083532023..a02ab3b28647 100644 --- a/sw/source/core/text/inftxt.cxx +++ b/sw/source/core/text/inftxt.cxx @@ -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(); } |