dbaccess/source/filter/xml/xmlfilter.cxx | 8 ++++++++ 1 file changed, 8 insertions(+)
New commits: commit 4233cba407b62629be202daa3cc37c9d16fab7cf Author: Lionel Elie Mamane <lio...@mamane.lu> Date: Fri Sep 5 16:03:39 2014 +0200 document oddity by comment Change-Id: I4c4637c9b1ae7329b9872da74dd8542b2fda5dd2 diff --git a/dbaccess/source/filter/xml/xmlfilter.cxx b/dbaccess/source/filter/xml/xmlfilter.cxx index e55ad34..570e3282 100644 --- a/dbaccess/source/filter/xml/xmlfilter.cxx +++ b/dbaccess/source/filter/xml/xmlfilter.cxx @@ -156,6 +156,14 @@ namespace dbaxml ::comphelper::MimeConfigurationHelper aHelper( m_xContext ); SvtModuleOptions aModuleOptions; + // This looks like it makes no sense, + // but is probably used to lower latency + // of the user interface for the user: + // when the user will do anything that requires + // the data connection to be established, + // calc will already have been loaded, initialised, etc + // so establishing the data connection (to a Calc sheet) + // will be "faster". uno::Reference< frame::XModel > xModel(xFrameLoad->loadComponentFromURL( aModuleOptions.GetFactoryEmptyDocumentURL( SvtModuleOptions::ClassifyFactoryByServiceName( aHelper.GetDocServiceNameFromMediaType(MIMETYPE_OASIS_OPENDOCUMENT_SPREADSHEET) )), OUString(), // empty frame name _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits