[Libreoffice-commits] core.git: sc/source

Laurent Godard lgodard.libre at laposte.net
Tue Jul 8 04:06:27 PDT 2014


 sc/source/ui/view/output.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 902b7e9f192fab45cffc35d81cd0df0373a610ed
Author: Laurent Godard <lgodard.libre at laposte.net>
Date:   Tue Jul 8 12:25:26 2014 +0200

    draw white border around note marks for fdo#81032
    
    also translate the mark to make cell border visible
    
    Change-Id: Ifa9f3befd1e25a66cc3443a3f33255603feea6a6
    Reviewed-on: https://gerrit.libreoffice.org/10135
    Reviewed-by: Markus Mohrhard <markus.mohrhard at googlemail.com>
    Tested-by: Markus Mohrhard <markus.mohrhard at googlemail.com>

diff --git a/sc/source/ui/view/output.cxx b/sc/source/ui/view/output.cxx
index a3f0a7c..6b19602 100644
--- a/sc/source/ui/view/output.cxx
+++ b/sc/source/ui/view/output.cxx
@@ -2310,7 +2310,7 @@ void ScOutputData::DrawNoteMarks()
                 {
                     if (bFirst)
                     {
-                        mpDev->SetLineColor();
+                        mpDev->SetLineColor(COL_WHITE);
 
                         const StyleSettings& rStyleSettings = Application::GetSettings().GetStyleSettings();
                         if ( mbUseStyleColor && rStyleSettings.GetHighContrastMode() )
@@ -2333,7 +2333,7 @@ void ScOutputData::DrawNoteMarks()
                         }
                     }
                     if ( bLayoutRTL ? ( nMarkX >= 0 ) : ( nMarkX < nScrX+nScrW ) )
-                        mpDev->DrawRect( Rectangle( nMarkX,nPosY,nMarkX+2*nLayoutSign,nPosY+2 ) );
+                        mpDev->DrawRect( Rectangle( nMarkX-5*nLayoutSign,nPosY,nMarkX+1*nLayoutSign,nPosY+6 ) );
                 }
 
                 nPosX += pRowInfo[0].pCellInfo[nX+1].nWidth * nLayoutSign;


More information about the Libreoffice-commits mailing list