Commit bc83b264 authored by Oliver Kellogg's avatar Oliver Kellogg
Browse files

umbrello/umldoc.cpp

- In function saveDocument, on saving as uncompressed XMI close tmpfile
  after calling saveToXMI1.
  Reason: On changing the saveToXMI1 implementation to QXmlStreamWriter
  the file saved is empty if we leave out the close().

CCBUG: 363582
parent 2bb95adc
......@@ -929,6 +929,7 @@ bool UMLDoc::saveDocument(const KUrl& url, const char * format)
return false;
}
saveToXMI1(tmpfile); // save the xmi stuff to it
tmpfile.close();
// if it is a remote file, we have to upload the tmp file
if (!url.isLocalFile()) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment