Kaydet (Commit) 971f0e32 authored tarafından Kohei Yoshida's avatar Kohei Yoshida

Not a good idea to close the dialog first then start the import.

Because that leads to a crash.

Change-Id: I7ca7d94e1164a44bbef9e9b41e3f8c5bcf113c22
üst 2ffceb19
......@@ -436,13 +436,13 @@ void ScXMLSourceDlg::OkPressed()
// TODO: Process range links.
Close();
ScOrcusFilters* pOrcus = ScFormatFilter::Get().GetOrcusFilters();
if (!pOrcus)
return;
pOrcus->importXML(*mpDoc, maSrcPath, aParam);
Close();
}
void ScXMLSourceDlg::CancelPressed()
......
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