diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2011-02-13 21:02:04 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2011-02-13 22:47:24 +0100 |
commit | d82fc206c5d27191bc47adc486cf32442908f62d (patch) | |
tree | b31a7c2ff2c255969b04bee4d66e9b31d6dec4fe /starmath/source/visitors.cxx | |
parent | 8df7d613a026861501dbff935ce9c2c829cc9c12 (diff) |
Remove unused SM_RECT_DEBUG
Diffstat (limited to 'starmath/source/visitors.cxx')
-rw-r--r-- | starmath/source/visitors.cxx | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/starmath/source/visitors.cxx b/starmath/source/visitors.cxx index a6778eb31562..ffe304ccad95 100644 --- a/starmath/source/visitors.cxx +++ b/starmath/source/visitors.cxx @@ -685,14 +685,6 @@ void SmDrawingVisitor::Visit( SmRootSymbolNode* pNode ) aBar.SetPos( aDrawPos ); rDev.DrawRect( aBar ); - -#ifdef SM_RECT_DEBUG - if ( !pNode->IsDebug( ) ) - return; - - int nRFlags = SM_RECT_CORE | SM_RECT_ITALIC | SM_RECT_LINES | SM_RECT_MID; - pNode->SmRect::Draw( rDev, Position, nRFlags ); -#endif } void SmDrawingVisitor::Visit( SmPolyLineNode* pNode ) @@ -714,14 +706,6 @@ void SmDrawingVisitor::Visit( SmPolyLineNode* pNode ) aTmpDev.SetLineColor( pNode->GetFont( ).GetColor( ) ); rDev.DrawPolyLine( pNode->GetPolygon( ), aInfo ); - -#ifdef SM_RECT_DEBUG - if ( !pNode->IsDebug( ) ) - return; - - int nRFlags = SM_RECT_CORE | SM_RECT_ITALIC | SM_RECT_LINES | SM_RECT_MID; - pNode->SmRect::Draw( rDev, Position, nRFlags ); -#endif } void SmDrawingVisitor::Visit( SmRectangleNode* pNode ) @@ -754,14 +738,6 @@ void SmDrawingVisitor::Visit( SmRectangleNode* pNode ) aTmp.SetPos( aPos ); rDev.DrawRect( aTmp ); - -#ifdef SM_RECT_DEBUG - if ( !pNode->IsDebug( ) ) - return; - - int nRFlags = SM_RECT_CORE | SM_RECT_ITALIC | SM_RECT_LINES | SM_RECT_MID; - pNode->SmRect::Draw( rDev, rPosition, nRFlags ); -#endif } void SmDrawingVisitor::DrawTextNode( SmTextNode* pNode ) @@ -778,14 +754,6 @@ void SmDrawingVisitor::DrawTextNode( SmTextNode* pNode ) aPos = rDev.PixelToLogic( rDev.LogicToPixel( aPos ) ); rDev.DrawStretchText( aPos, pNode->GetWidth( ), pNode->GetText( ) ); - -#ifdef SM_RECT_DEBUG - if ( !pNode->IsDebug( ) ) - return; - - int nRFlags = SM_RECT_CORE | SM_RECT_ITALIC | SM_RECT_LINES | SM_RECT_MID; - pNode->SmRect::Draw( rDev, Position, nRFlags ); -#endif } void SmDrawingVisitor::DrawSpecialNode( SmSpecialNode* pNode ) @@ -811,14 +779,6 @@ void SmDrawingVisitor::DrawChildren( SmNode* pNode ) Position = rPosition + aOffset; it->Accept( this ); } - -#ifdef SM_RECT_DEBUG - if ( !pNode->IsDebug( ) ) - return; - - int nRFlags = SM_RECT_CORE | SM_RECT_ITALIC | SM_RECT_LINES | SM_RECT_MID; - pNode->SmRect::Draw( rDev, rPosition, nRFlags ); -#endif } /////////////////////////////// SmSetSelectionVisitor //////////////////////////////// |