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