diff options
author | Lionel Elie Mamane <lionel@mamane.lu> | 2014-09-05 16:03:39 +0200 |
---|---|---|
committer | Lionel Elie Mamane <lionel@mamane.lu> | 2014-09-05 16:06:28 +0200 |
commit | 4233cba407b62629be202daa3cc37c9d16fab7cf (patch) | |
tree | 9bca9555b02ca8875cb27dce2a7d92effc915348 /dbaccess | |
parent | 5cb685d9e248f810e00a0a8617ebb04dcb7a5334 (diff) |
document oddity by comment
Change-Id: I4c4637c9b1ae7329b9872da74dd8542b2fda5dd2
Diffstat (limited to 'dbaccess')
-rw-r--r-- | dbaccess/source/filter/xml/xmlfilter.cxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/dbaccess/source/filter/xml/xmlfilter.cxx b/dbaccess/source/filter/xml/xmlfilter.cxx index e55ad34e6e20..570e32821377 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 |