[Uml-devel] KDE/kdesdk/umbrello/umbrello/docgenerators
Laurent Montel
montel at kde.org
Thu Oct 5 13:36:54 UTC 2006
SVN commit 592713 by mlaurent:
compile++
M +2 -2 docbookgenerator.cpp
--- trunk/KDE/kdesdk/umbrello/umbrello/docgenerators/docbookgenerator.cpp #592712:592713
@@ -88,7 +88,7 @@
// lets open the file for writing
if( !file.open() ) {
- KMessageBox::error(0, i18n("There was a problem saving file: %1").arg(tmpfile.fileName()), i18n("Save Error"));
+ KMessageBox::error(0, i18n("There was a problem saving file: %1").arg(file.fileName()), i18n("Save Error"));
return false;
}
umlDoc->saveToXMI(file); // save the xmi stuff to it
@@ -105,7 +105,7 @@
xmlSubstituteEntitiesDefault(1);
xmlLoadExtDtdDefaultValue = 1;
cur = xsltParseStylesheetFile((const xmlChar *)xsltFile.latin1());
- doc = xmlParseFile((const char*)(tmpfile.name().utf8()));
+ doc = xmlParseFile((const char*)(file.name().utf8()));
res = xsltApplyStylesheet(cur, doc, params);
KTemporaryFile tmpDocBook;
More information about the umbrello-devel
mailing list