summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2016-07-13 15:04:47 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2016-07-14 06:50:02 +0000
commitef5ffe57db1dbf504ede59cf74d695d9c0a7f97b (patch)
tree04facb55368fb1787fc4106bce19961a6ffa61a4
parent800a196718abbfd38d93c845e563e055ef778b04 (diff)
starmath: Drop redundant SetLineColor() call
10 lines later the same code appears again. Change-Id: I06bccbb89e9bc3dd1339ca4f8c2482a2ee75c9f2 Reviewed-on: https://gerrit.libreoffice.org/27176 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Takeshi Abe <tabe@fixedpoint.jp>
-rw-r--r--starmath/source/visitors.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/starmath/source/visitors.cxx b/starmath/source/visitors.cxx
index 62040c4673a7..c80ce63bebd5 100644
--- a/starmath/source/visitors.cxx
+++ b/starmath/source/visitors.cxx
@@ -218,8 +218,6 @@ void SmCaretDrawingVisitor::Visit( SmTextNode* pNode )
void SmCaretDrawingVisitor::DefaultVisit( SmNode* pNode )
{
- mrDev.SetLineColor( Color( COL_BLACK ) );
-
//Find the line
SmNode* pLine = SmCursor::FindTopMostNodeInLine( pNode );