[Libreoffice-commits] .: sw/source

Miklos Vajna vmiklos at kemper.freedesktop.org
Thu Aug 2 06:16:24 PDT 2012


 sw/source/core/text/inftxt.cxx |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

New commits:
commit 57c8c34fcdc2d594d2da3593eb9d86d0daf4e18c
Author: Miklos Vajna <vmiklos at suse.cz>
Date:   Thu Aug 2 15:11:16 2012 +0200

    SwTxtPaintInfo::_DrawBackBrush: draw dark border around comment highlight
    
    Change-Id: I71870301db74e4d0c1376c45eb8aadb3912c7ba0

diff --git a/sw/source/core/text/inftxt.cxx b/sw/source/core/text/inftxt.cxx
index e3f0835..a02ab3b 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();
             }


More information about the Libreoffice-commits mailing list