diff options
author | Kohei Yoshida <kohei.yoshida@gmail.com> | 2012-11-09 16:46:22 -0500 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@gmail.com> | 2012-11-28 13:28:28 -0500 |
commit | 971f0e32f249fd3e7fbc805c7a9b44c88122fcd9 (patch) | |
tree | 2493ddb36106559b9502e1c1fa199632f54e607d /sc | |
parent | 2ffceb198ef26579e2d3d6659384f76184ccc3e2 (diff) |
Not a good idea to close the dialog first then start the import.
Because that leads to a crash.
Change-Id: I7ca7d94e1164a44bbef9e9b41e3f8c5bcf113c22
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/xmlsource/xmlsourcedlg.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/xmlsource/xmlsourcedlg.cxx b/sc/source/ui/xmlsource/xmlsourcedlg.cxx index 626058905b46..c490d2e3f625 100644 --- a/sc/source/ui/xmlsource/xmlsourcedlg.cxx +++ b/sc/source/ui/xmlsource/xmlsourcedlg.cxx @@ -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() |