summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Godard <lgodard.libre@laposte.net>2014-07-08 12:25:26 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2014-07-08 11:05:57 +0000
commit902b7e9f192fab45cffc35d81cd0df0373a610ed (patch)
tree83f39b2c5992647af07bd4c08d3d5a0ed77b07d3
parenta89b8601ce7be0b6dc3f262661ea7802f2c725fd (diff)
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@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
-rw-r--r--sc/source/ui/view/output.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/view/output.cxx b/sc/source/ui/view/output.cxx
index a3f0a7c0abb3..6b19602ec53a 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;