Eeschema: fix Bug #1189893 (ps plot file opened twice)

This commit is contained in:
jean-pierre charras 2013-06-11 16:27:07 +02:00
parent 39993e27e4
commit 179ada1c70
1 changed files with 0 additions and 5 deletions

View File

@ -132,11 +132,6 @@ bool DIALOG_PLOT_SCHEMATIC::plotOneSheetPS( const wxString& aFileName,
double aScale,
bool aPlotFrameRef )
{
FILE* output_file = wxFopen( aFileName, wxT( "wt" ) );
if( output_file == NULL )
return false;
PS_PLOTTER* plotter = new PS_PLOTTER();
plotter->SetPageSettings( aPageInfo );
plotter->SetDefaultLineWidth( GetDefaultLineThickness() );