|
|
@ -97,7 +97,7 @@ TDEIO::Job* DocbookGenerator::generateDocbookForProjectInto(const KURL& destDir)
|
|
|
|
// lets open the file for writing
|
|
|
|
// lets open the file for writing
|
|
|
|
if( !file.open( IO_WriteOnly ) ) {
|
|
|
|
if( !file.open( IO_WriteOnly ) ) {
|
|
|
|
KMessageBox::error(0, i18n("There was a problem saving file: %1").arg(tmpfile.name()), i18n("Save Error"));
|
|
|
|
KMessageBox::error(0, i18n("There was a problem saving file: %1").arg(tmpfile.name()), i18n("Save Error"));
|
|
|
|
return false;
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
umlDoc->saveToXMI(*TQT_TQIODEVICE(&file)); // save the xmi stuff to it
|
|
|
|
umlDoc->saveToXMI(*TQT_TQIODEVICE(&file)); // save the xmi stuff to it
|
|
|
|
file.close();
|
|
|
|
file.close();
|
|
|
|