summaryrefslogtreecommitdiff
path: root/starmath/source/visitors.cxx
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-02-05 15:56:54 +0100
committerThomas Arnhold <thomas@arnhold.org>2011-02-06 17:38:14 +0100
commitcd8b8485b6559a978f58c8c58075eee4a87588bf (patch)
treecb8c7217270e45825a5025f1805fb6a91944ba85 /starmath/source/visitors.cxx
parent6aa501e0fe84f975c175a8e8bd0afe2ea5bf3710 (diff)
Remove dead code
Diffstat (limited to 'starmath/source/visitors.cxx')
-rw-r--r--starmath/source/visitors.cxx4
1 files changed, 0 insertions, 4 deletions
diff --git a/starmath/source/visitors.cxx b/starmath/source/visitors.cxx
index 9d0a8c5ebe31..a6778eb31562 100644
--- a/starmath/source/visitors.cxx
+++ b/starmath/source/visitors.cxx
@@ -682,7 +682,6 @@ void SmDrawingVisitor::Visit( SmRootSymbolNode* pNode )
// This is done by shifting it's output-position to a point that
// corresponds exactly to a pixel on the output device.
Point aDrawPos( rDev.PixelToLogic( rDev.LogicToPixel( aBar.TopLeft( ) ) ) );
- //aDrawPos.X( ) = aBar.Left( ); //! don't change X position
aBar.SetPos( aDrawPos );
rDev.DrawRect( aBar );
@@ -1051,11 +1050,8 @@ SmCaretPosGraphBuildingVisitor::SmCaretPosGraphBuildingVisitor( SmNode* pRootNod
}
void SmCaretPosGraphBuildingVisitor::Visit( SmLineNode* pNode ){
- //pRightMost = NULL;
SmNodeIterator it( pNode );
while( it.Next( ) ){
- //if( !pRightMost )
- // pRightMost = pGraph->Add( SmCaretPos( it.Current( ), 0 ) );
it->Accept( this );
}
}