Kaydet (Commit) 902b7e9f authored tarafından Laurent Godard's avatar Laurent Godard Kaydeden (comit) Markus Mohrhard

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/10135Reviewed-by: 's avatarMarkus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: 's avatarMarkus Mohrhard <markus.mohrhard@googlemail.com>
üst a89b8601
...@@ -2310,7 +2310,7 @@ void ScOutputData::DrawNoteMarks() ...@@ -2310,7 +2310,7 @@ void ScOutputData::DrawNoteMarks()
{ {
if (bFirst) if (bFirst)
{ {
mpDev->SetLineColor(); mpDev->SetLineColor(COL_WHITE);
const StyleSettings& rStyleSettings = Application::GetSettings().GetStyleSettings(); const StyleSettings& rStyleSettings = Application::GetSettings().GetStyleSettings();
if ( mbUseStyleColor && rStyleSettings.GetHighContrastMode() ) if ( mbUseStyleColor && rStyleSettings.GetHighContrastMode() )
...@@ -2333,7 +2333,7 @@ void ScOutputData::DrawNoteMarks() ...@@ -2333,7 +2333,7 @@ void ScOutputData::DrawNoteMarks()
} }
} }
if ( bLayoutRTL ? ( nMarkX >= 0 ) : ( nMarkX < nScrX+nScrW ) ) 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; nPosX += pRowInfo[0].pCellInfo[nX+1].nWidth * nLayoutSign;
......
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