diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2017-01-07 08:59:09 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2017-01-07 10:08:48 +0000 |
commit | d911663f0fa919fc66e10328482948a730e9c2e8 (patch) | |
tree | e598880b5a4fd08fa709bb705bb81ea8f964c75f /dbaccess | |
parent | 471b58e19048419592a87e27860019ae02feca15 (diff) |
Typo: Acess->Access
Found thanks to Buovjaga
Change-Id: I73e36f50a1fd393859ba775ab084a488047864a3
Reviewed-on: https://gerrit.libreoffice.org/32810
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'dbaccess')
-rw-r--r-- | dbaccess/source/ui/browser/dsbrowserDnD.cxx | 4 | ||||
-rw-r--r-- | dbaccess/source/ui/browser/unodatbr.cxx | 18 | ||||
-rw-r--r-- | dbaccess/source/ui/inc/unodatbr.hxx | 2 |
3 files changed, 12 insertions, 12 deletions
diff --git a/dbaccess/source/ui/browser/dsbrowserDnD.cxx b/dbaccess/source/ui/browser/dsbrowserDnD.cxx index 95dd2906d97f..51221cc8b34e 100644 --- a/dbaccess/source/ui/browser/dsbrowserDnD.cxx +++ b/dbaccess/source/ui/browser/dsbrowserDnD.cxx @@ -66,7 +66,7 @@ namespace dbaui try { OUString aName = GetEntryText( _pApplyTo ); - OUString aDSName = getDataSourceAcessor( m_pTreeView->getListBox().GetRootLevelParent( _pApplyTo ) ); + OUString aDSName = getDataSourceAccessor( m_pTreeView->getListBox().GetRootLevelParent( _pApplyTo ) ); ODataClipboard* pData = nullptr; SharedConnection xConnection; @@ -227,7 +227,7 @@ namespace dbaui if ( ensureConnection( m_aAsyncDrop.pDroppedAt, xDestConnection ) && xDestConnection.is() ) { SvTreeListEntry* pDataSourceEntry = m_pTreeView->getListBox().GetRootLevelParent(m_aAsyncDrop.pDroppedAt); - m_aTableCopyHelper.asyncCopyTagTable( m_aAsyncDrop, getDataSourceAcessor( pDataSourceEntry ), xDestConnection ); + m_aTableCopyHelper.asyncCopyTagTable( m_aAsyncDrop, getDataSourceAccessor( pDataSourceEntry ), xDestConnection ); } } diff --git a/dbaccess/source/ui/browser/unodatbr.cxx b/dbaccess/source/ui/browser/unodatbr.cxx index e442bebded81..7c05f3ef1d85 100644 --- a/dbaccess/source/ui/browser/unodatbr.cxx +++ b/dbaccess/source/ui/browser/unodatbr.cxx @@ -1108,13 +1108,13 @@ namespace } } -OUString SbaTableQueryBrowser::getDataSourceAcessor( SvTreeListEntry* _pDataSourceEntry ) const +OUString SbaTableQueryBrowser::getDataSourceAccessor( SvTreeListEntry* _pDataSourceEntry ) const { - OSL_ENSURE( _pDataSourceEntry, "SbaTableQueryBrowser::getDataSourceAcessor: invalid entry!" ); + OSL_ENSURE( _pDataSourceEntry, "SbaTableQueryBrowser::getDataSourceAccessor: invalid entry!" ); DBTreeListUserData* pData = static_cast< DBTreeListUserData* >( _pDataSourceEntry->GetUserData() ); - OSL_ENSURE( pData, "SbaTableQueryBrowser::getDataSourceAcessor: invalid entry data!" ); - OSL_ENSURE( pData->eType == etDatasource, "SbaTableQueryBrowser::getDataSourceAcessor: entry does not denote a data source!" ); + OSL_ENSURE( pData, "SbaTableQueryBrowser::getDataSourceAccessor: invalid entry data!" ); + OSL_ENSURE( pData->eType == etDatasource, "SbaTableQueryBrowser::getDataSourceAccessor: entry does not denote a data source!" ); return !pData->sAccessor.isEmpty() ? OUString(pData->sAccessor) : GetEntryText( _pDataSourceEntry ); } @@ -2304,7 +2304,7 @@ bool SbaTableQueryBrowser::ensureEntryObject( SvTreeListEntry* _pEntry ) try { Reference< XQueryDefinitionsSupplier > xQuerySup; - m_xDatabaseContext->getByName( getDataSourceAcessor( pDataSourceEntry ) ) >>= xQuerySup; + m_xDatabaseContext->getByName( getDataSourceAccessor( pDataSourceEntry ) ) >>= xQuerySup; if (xQuerySup.is()) { Reference< XNameAccess > xQueryDefs = xQuerySup->getQueryDefinitions(); @@ -2676,7 +2676,7 @@ bool SbaTableQueryBrowser::implSelect( SvTreeListEntry* _pEntry ) } } - OUString sDataSourceName( getDataSourceAcessor( pConnection ) ); + OUString sDataSourceName( getDataSourceAccessor( pConnection ) ); bSuccess = implLoadAnything( sDataSourceName, aName, nCommandType, bEscapeProcessing, pConData->xConnection ); if ( !bSuccess ) { // clean up @@ -3331,7 +3331,7 @@ bool SbaTableQueryBrowser::ensureConnection( SvTreeListEntry* _pDSEntry, void* p // connect _rConnection.reset( - connect( getDataSourceAcessor( _pDSEntry ), sConnectingContext, nullptr ), + connect( getDataSourceAccessor( _pDSEntry ), sConnectingContext, nullptr ), SharedConnection::TakeOwnership ); @@ -3425,7 +3425,7 @@ void SbaTableQueryBrowser::implAdministrate( SvTreeListEntry* _pApplyTo ) pTopLevelSelected = m_pTreeView->getListBox().GetParent(pTopLevelSelected); OUString sInitialSelection; if (pTopLevelSelected) - sInitialSelection = getDataSourceAcessor( pTopLevelSelected ); + sInitialSelection = getDataSourceAccessor( pTopLevelSelected ); Reference< XDataSource > xDataSource( getDataSourceByName( sInitialSelection, getView(), getORB(), nullptr ) ); Reference< XModel > xDocumentModel( getDataSourceOrModel( xDataSource ), UNO_QUERY ); @@ -3522,7 +3522,7 @@ Any SbaTableQueryBrowser::getCurrentSelection( Control& _rControl ) const case DatabaseObjectContainer::DATA_SOURCE: case DatabaseObjectContainer::QUERIES: case DatabaseObjectContainer::TABLES: - aSelectedObject.Name = getDataSourceAcessor( pSelected ); + aSelectedObject.Name = getDataSourceAccessor( pSelected ); break; default: diff --git a/dbaccess/source/ui/inc/unodatbr.hxx b/dbaccess/source/ui/inc/unodatbr.hxx index 93118a4225cd..1befdf3ad118 100644 --- a/dbaccess/source/ui/inc/unodatbr.hxx +++ b/dbaccess/source/ui/inc/unodatbr.hxx @@ -428,7 +428,7 @@ namespace dbaui bool impl_isDataSourceEntry( SvTreeListEntry* _pEntry ) const; /// retrieves the data source URL/name for the given entry representing a data source - OUString getDataSourceAcessor( SvTreeListEntry* _pDataSourceEntry ) const; + OUString getDataSourceAccessor( SvTreeListEntry* _pDataSourceEntry ) const; /** get the signature (command/escape processing) of the query the form is based on <p>If the for is not based on a query or not even loaded, nothing happens and <FALSE/> is returned.</p> |