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

Takeshi Abe tabe at fixedpoint.jp
Thu Jul 14 06:50:26 UTC 2016


 starmath/source/visitors.cxx |    2 --
 1 file changed, 2 deletions(-)

New commits:
commit ef5ffe57db1dbf504ede59cf74d695d9c0a7f97b
Author: Takeshi Abe <tabe at fixedpoint.jp>
Date:   Wed Jul 13 15:04:47 2016 +0900

    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 at libreoffice.org>
    Reviewed-by: Takeshi Abe <tabe at fixedpoint.jp>

diff --git a/starmath/source/visitors.cxx b/starmath/source/visitors.cxx
index 62040c4..c80ce63 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 );
 


More information about the Libreoffice-commits mailing list