Remove additional unneeded tq method conversions

pull/2/head
Timothy Pearson 13 years ago
parent f2d20e882b
commit bc4ffb59e3

@ -945,13 +945,13 @@ bool ClassGenerator::finishStreams(const TQString& baseName,
writeFileFooter(headerStream); writeFileFooter(headerStream);
writeFileFooter(sourceStream); writeFileFooter(sourceStream);
TQIODevice* tqdevice = headerStream.tqdevice(); TQIODevice* device = headerStream.device();
headerStream.unsetDevice(); headerStream.unsetDevice();
delete tqdevice; delete device;
tqdevice = sourceStream.tqdevice(); device = sourceStream.device();
sourceStream.unsetDevice(); sourceStream.unsetDevice();
delete tqdevice; delete device;
return true; return true;
} }

Loading…
Cancel
Save