diff options
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/source/abpilot/abspilot.cxx | 2 | ||||
-rw-r--r-- | extensions/source/abpilot/datasourcehandling.cxx | 5 | ||||
-rw-r--r-- | extensions/source/abpilot/datasourcehandling.hxx | 4 |
3 files changed, 6 insertions, 5 deletions
diff --git a/extensions/source/abpilot/abspilot.cxx b/extensions/source/abpilot/abspilot.cxx index be1f98daf0eb..11376effb3a9 100644 --- a/extensions/source/abpilot/abspilot.cxx +++ b/extensions/source/abpilot/abspilot.cxx @@ -343,7 +343,7 @@ namespace abp break; case AST_OTHER: - m_aNewDataSource = aContext.createNewDBase( m_aSettings.sDataSourceName ); + m_aNewDataSource = aContext.createNewOther( m_aSettings.sDataSourceName ); break; case AST_INVALID: diff --git a/extensions/source/abpilot/datasourcehandling.cxx b/extensions/source/abpilot/datasourcehandling.cxx index 00ab85a2486a..46b71839d8e2 100644 --- a/extensions/source/abpilot/datasourcehandling.cxx +++ b/extensions/source/abpilot/datasourcehandling.cxx @@ -280,9 +280,10 @@ namespace abp } - ODataSource ODataSourceContext::createNewDBase( const OUString& _rName) + // tdf117101: Spreadsheet by default + ODataSource ODataSourceContext::createNewOther( const OUString& _rName) { - return lcl_implCreateAndSetURL( m_pImpl->xORB, _rName, "sdbc:dbase:" ); + return lcl_implCreateAndSetURL( m_pImpl->xORB, _rName, "sdbc:calc:" ); } struct ODataSourceImpl diff --git a/extensions/source/abpilot/datasourcehandling.hxx b/extensions/source/abpilot/datasourcehandling.hxx index 00da09f7941d..98e62e90ef3b 100644 --- a/extensions/source/abpilot/datasourcehandling.hxx +++ b/extensions/source/abpilot/datasourcehandling.hxx @@ -80,8 +80,8 @@ namespace abp /// creates a new macOS address book data source ODataSource createNewMacab( const OUString& _rName ); - /// creates a new dBase data source - ODataSource createNewDBase( const OUString& _rName ); + /// creates a new Other data source; tdf117101: Spreadsheet by default + ODataSource createNewOther( const OUString& _rName ); }; struct ODataSourceImpl; |