Cleanup.
This commit is contained in:
parent
a5ded3341a
commit
c183e3f342
|
@ -462,7 +462,7 @@ bool WX_GRID::CancelPendingChanges()
|
|||
wxGridCellAttr* attr = GetCellAttr( row, col );
|
||||
wxGridCellEditor* editor = attr->GetEditor( this, row, col );
|
||||
|
||||
bool changed = editor->EndEdit( row, col, this, oldval, &newval );
|
||||
editor->EndEdit( row, col, this, oldval, &newval );
|
||||
|
||||
editor->DecRef();
|
||||
attr->DecRef();
|
||||
|
|
|
@ -514,7 +514,6 @@ void FP_TEXT::TransformTextToPolySet( SHAPE_POLY_SET& aBuffer, int aClearance, i
|
|||
|
||||
if( IsKnockout() )
|
||||
{
|
||||
TEXT_ATTRIBUTES attrs = GetAttributes();
|
||||
SHAPE_POLY_SET finalPoly;
|
||||
int margin = GetKnockoutTextMargin( attrs.m_Size, penWidth );
|
||||
|
||||
|
|
Loading…
Reference in New Issue