summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2017-01-07 08:59:09 +0100
committerJulien Nabet <serval2412@yahoo.fr>2017-01-07 10:08:48 +0000
commitd911663f0fa919fc66e10328482948a730e9c2e8 (patch)
treee598880b5a4fd08fa709bb705bb81ea8f964c75f
parent471b58e19048419592a87e27860019ae02feca15 (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>
-rw-r--r--dbaccess/source/ui/browser/dsbrowserDnD.cxx4
-rw-r--r--dbaccess/source/ui/browser/unodatbr.cxx18
-rw-r--r--dbaccess/source/ui/inc/unodatbr.hxx2
-rw-r--r--include/vbahelper/vbacollectionimpl.hxx2
-rw-r--r--include/xmloff/XMLEventExport.hxx4
-rw-r--r--sc/source/filter/excel/excimp8.cxx2
-rw-r--r--sc/source/filter/excel/xistyle.cxx2
-rw-r--r--sc/source/ui/vba/vbaoleobjects.cxx2
-rw-r--r--sc/source/ui/vba/vbapalette.cxx2
-rw-r--r--sc/source/ui/vba/vbaworksheets.cxx2
-rw-r--r--sw/source/core/access/acccell.hxx2
-rw-r--r--sw/source/core/access/accdoc.hxx2
-rw-r--r--sw/source/core/access/accnotextframe.hxx2
-rw-r--r--sw/source/core/access/accpara.hxx2
-rw-r--r--sw/source/core/access/acctable.hxx2
-rw-r--r--sw/source/ui/vba/vbabookmarks.cxx2
-rw-r--r--sw/source/ui/vba/vbapalette.cxx2
-rw-r--r--sw/source/ui/vba/vbastyles.cxx2
-rw-r--r--sw/source/ui/vba/vbatables.cxx2
-rw-r--r--vbahelper/source/msforms/vbacontrols.cxx2
20 files changed, 30 insertions, 30 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>
diff --git a/include/vbahelper/vbacollectionimpl.hxx b/include/vbahelper/vbacollectionimpl.hxx
index 60d48c228758..8ec064d50fa7 100644
--- a/include/vbahelper/vbacollectionimpl.hxx
+++ b/include/vbahelper/vbacollectionimpl.hxx
@@ -179,7 +179,7 @@ public:
// XElementAccess
virtual css::uno::Type SAL_CALL getElementType( ) throw (css::uno::RuntimeException, std::exception) override { return cppu::UnoType< OneIfc >::get(); }
virtual sal_Bool SAL_CALL hasElements( ) throw (css::uno::RuntimeException, std::exception) override { return ( mXNamedVec.size() > 0 ); }
- // XNameAcess
+ // XNameAccess
virtual css::uno::Any SAL_CALL getByName( const OUString& aName ) throw (css::container::NoSuchElementException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) override
{
if ( !hasByName(aName) )
diff --git a/include/xmloff/XMLEventExport.hxx b/include/xmloff/XMLEventExport.hxx
index a411e6dfd877..6a3d48ad1e12 100644
--- a/include/xmloff/XMLEventExport.hxx
+++ b/include/xmloff/XMLEventExport.hxx
@@ -82,11 +82,11 @@ public:
/// register additional event names
void AddTranslationTable( const XMLEventNameTranslation* pTransTable );
- /// export the events (calls EventExport::Export(Reference<XNameAcess>) )
+ /// export the events (calls EventExport::Export(Reference<XNameAccess>) )
void Export( css::uno::Reference<css::document::XEventsSupplier> & xAccess,
bool bUseWhitespace = true);
- /// export the events (calls EventExport::Export(Reference<XNameAcess>) )
+ /// export the events (calls EventExport::Export(Reference<XNameAccess>) )
void Export( css::uno::Reference<css::container::XNameReplace> & xAccess,
bool bUseWhitespace = true);
diff --git a/sc/source/filter/excel/excimp8.cxx b/sc/source/filter/excel/excimp8.cxx
index 4619146ea976..5b50659be9d6 100644
--- a/sc/source/filter/excel/excimp8.cxx
+++ b/sc/source/filter/excel/excimp8.cxx
@@ -124,7 +124,7 @@ public:
::osl::MutexGuard aGuard( m_aMutex );
return ( !IdToOleNameHash.empty() );
}
- // XNameAcess
+ // XNameAccess
virtual uno::Any SAL_CALL getByName( const OUString& aName ) throw (container::NoSuchElementException, lang::WrappedTargetException, uno::RuntimeException, std::exception) override
{
::osl::MutexGuard aGuard( m_aMutex );
diff --git a/sc/source/filter/excel/xistyle.cxx b/sc/source/filter/excel/xistyle.cxx
index 6c7287a7d4ec..e815cbaf339c 100644
--- a/sc/source/filter/excel/xistyle.cxx
+++ b/sc/source/filter/excel/xistyle.cxx
@@ -90,7 +90,7 @@ public:
return uno::makeAny( sal_Int32( maColorData[ Index ] ) );
}
- // Methods XElementAcess
+ // Methods XElementAccess
virtual uno::Type SAL_CALL getElementType() throw (uno::RuntimeException, std::exception) override
{
return ::cppu::UnoType<sal_Int32>::get();
diff --git a/sc/source/ui/vba/vbaoleobjects.cxx b/sc/source/ui/vba/vbaoleobjects.cxx
index 498957033e10..5ea0dfe40443 100644
--- a/sc/source/ui/vba/vbaoleobjects.cxx
+++ b/sc/source/ui/vba/vbaoleobjects.cxx
@@ -61,7 +61,7 @@ public:
return uno::makeAny( vObjects[ Index ] );
}
- // Methods XElementAcess
+ // Methods XElementAccess
virtual uno::Type SAL_CALL getElementType() throw (uno::RuntimeException, std::exception) override
{
return cppu::UnoType<drawing::XControlShape>::get();
diff --git a/sc/source/ui/vba/vbapalette.cxx b/sc/source/ui/vba/vbapalette.cxx
index f59727ebdbe2..e6b577f2f3d5 100644
--- a/sc/source/ui/vba/vbapalette.cxx
+++ b/sc/source/ui/vba/vbapalette.cxx
@@ -66,7 +66,7 @@ public:
return uno::makeAny( sal_Int32( spnDefColorTable8[ Index ] ) );
}
- // Methods XElementAcess
+ // Methods XElementAccess
virtual uno::Type SAL_CALL getElementType() throw (uno::RuntimeException, std::exception) override
{
return ::cppu::UnoType<sal_Int32>::get();
diff --git a/sc/source/ui/vba/vbaworksheets.cxx b/sc/source/ui/vba/vbaworksheets.cxx
index 7340fc26ff03..7c7dad28ffad 100644
--- a/sc/source/ui/vba/vbaworksheets.cxx
+++ b/sc/source/ui/vba/vbaworksheets.cxx
@@ -90,7 +90,7 @@ public:
// XElementAccess
virtual uno::Type SAL_CALL getElementType( ) throw (uno::RuntimeException, std::exception) override { return cppu::UnoType<sheet::XSpreadsheet>::get(); }
virtual sal_Bool SAL_CALL hasElements( ) throw (uno::RuntimeException, std::exception) override { return ( !mSheetMap.empty() ); }
- // XNameAcess
+ // XNameAccess
virtual uno::Any SAL_CALL getByName( const OUString& aName ) throw (container::NoSuchElementException, lang::WrappedTargetException, uno::RuntimeException, std::exception) override
{
if ( !hasByName(aName) )
diff --git a/sw/source/core/access/acccell.hxx b/sw/source/core/access/acccell.hxx
index ab95afdeb1c6..45551dc8e028 100644
--- a/sw/source/core/access/acccell.hxx
+++ b/sw/source/core/access/acccell.hxx
@@ -90,7 +90,7 @@ public:
// XInterface
// (XInterface methods need to be implemented to disambiguate
- // between those inherited through SwAcessibleContext and
+ // between those inherited through SwAccessibleContext and
// XAccessibleValue).
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType )
diff --git a/sw/source/core/access/accdoc.hxx b/sw/source/core/access/accdoc.hxx
index 6075e5b3b215..342676aef5c4 100644
--- a/sw/source/core/access/accdoc.hxx
+++ b/sw/source/core/access/accdoc.hxx
@@ -143,7 +143,7 @@ public:
// XInterface
- // XInterface is inherited through SwAcessibleContext and
+ // XInterface is inherited through SwAccessibleContext and
// XAccessibleSelection. These methods are needed to avoid
// ambiguities.
diff --git a/sw/source/core/access/accnotextframe.hxx b/sw/source/core/access/accnotextframe.hxx
index d4b35287c9cd..ba7c9ec35257 100644
--- a/sw/source/core/access/accnotextframe.hxx
+++ b/sw/source/core/access/accnotextframe.hxx
@@ -68,7 +68,7 @@ public:
throw (css::uno::RuntimeException, std::exception) override;
// XInterface methods need to be implemented to disambiguate
- // between those inherited through SwAcessibleContext and
+ // between those inherited through SwAccessibleContext and
// XAccessibleImage.
virtual css::uno::Any SAL_CALL queryInterface(
diff --git a/sw/source/core/access/accpara.hxx b/sw/source/core/access/accpara.hxx
index 4843175108a6..95f941b4fc8a 100644
--- a/sw/source/core/access/accpara.hxx
+++ b/sw/source/core/access/accpara.hxx
@@ -296,7 +296,7 @@ public:
// XInterface
// (XInterface methods need to be implemented to disambiguate
- // between those inherited through SwAcessibleContext and
+ // between those inherited through SwAccessibleContext and
// XAccessibleEditableText).
virtual css::uno::Any SAL_CALL queryInterface(
diff --git a/sw/source/core/access/acctable.hxx b/sw/source/core/access/acctable.hxx
index 73c3b2a121a7..830798c15e1e 100644
--- a/sw/source/core/access/acctable.hxx
+++ b/sw/source/core/access/acctable.hxx
@@ -91,7 +91,7 @@ public:
// XInterface
// (XInterface methods need to be implemented to disambigouate
- // between those inherited through SwAcessibleContext and
+ // between those inherited through SwAccessibleContext and
// XAccessibleTable).
virtual css::uno::Any SAL_CALL queryInterface(
diff --git a/sw/source/ui/vba/vbabookmarks.cxx b/sw/source/ui/vba/vbabookmarks.cxx
index 0b5a1e3cbbd3..585a03e94390 100644
--- a/sw/source/ui/vba/vbabookmarks.cxx
+++ b/sw/source/ui/vba/vbabookmarks.cxx
@@ -62,7 +62,7 @@ public:
// XElementAccess
virtual uno::Type SAL_CALL getElementType( ) throw (uno::RuntimeException, std::exception) override { return mxIndexAccess->getElementType(); }
virtual sal_Bool SAL_CALL hasElements( ) throw (uno::RuntimeException, std::exception) override { return mxIndexAccess->hasElements(); }
- // XNameAcess
+ // XNameAccess
virtual uno::Any SAL_CALL getByName( const OUString& aName ) throw (container::NoSuchElementException, lang::WrappedTargetException, uno::RuntimeException, std::exception) override
{
if ( !hasByName(aName) )
diff --git a/sw/source/ui/vba/vbapalette.cxx b/sw/source/ui/vba/vbapalette.cxx
index 919feea94b8e..2c7f72a3e390 100644
--- a/sw/source/ui/vba/vbapalette.cxx
+++ b/sw/source/ui/vba/vbapalette.cxx
@@ -70,7 +70,7 @@ public:
return uno::makeAny( sal_Int32( ColorTable[ Index ] ) );
}
- // Methods XElementAcess
+ // Methods XElementAccess
virtual uno::Type SAL_CALL getElementType() throw (uno::RuntimeException, std::exception) override
{
return ::cppu::UnoType<sal_Int32>::get();
diff --git a/sw/source/ui/vba/vbastyles.cxx b/sw/source/ui/vba/vbastyles.cxx
index bc88f89016a8..b50a247407d5 100644
--- a/sw/source/ui/vba/vbastyles.cxx
+++ b/sw/source/ui/vba/vbastyles.cxx
@@ -176,7 +176,7 @@ public:
// XElementAccess
virtual uno::Type SAL_CALL getElementType( ) throw (uno::RuntimeException, std::exception) override { return cppu::UnoType<style::XStyle>::get(); }
virtual sal_Bool SAL_CALL hasElements( ) throw (uno::RuntimeException, std::exception) override { return getCount() > 0; }
- // XNameAcess
+ // XNameAccess
virtual uno::Any SAL_CALL getByName( const OUString& aName ) throw (container::NoSuchElementException, lang::WrappedTargetException, uno::RuntimeException, std::exception) override
{
if ( !hasByName(aName) )
diff --git a/sw/source/ui/vba/vbatables.cxx b/sw/source/ui/vba/vbatables.cxx
index ea80422a5d8f..3c0e8343f3c7 100644
--- a/sw/source/ui/vba/vbatables.cxx
+++ b/sw/source/ui/vba/vbatables.cxx
@@ -97,7 +97,7 @@ public:
// XElementAccess
virtual uno::Type SAL_CALL getElementType( ) throw (uno::RuntimeException, std::exception) override { return cppu::UnoType<text::XTextTable>::get(); }
virtual sal_Bool SAL_CALL hasElements( ) throw (uno::RuntimeException, std::exception) override { return getCount() > 0 ; }
- // XNameAcess
+ // XNameAccess
virtual uno::Any SAL_CALL getByName( const OUString& aName ) throw (container::NoSuchElementException, lang::WrappedTargetException, uno::RuntimeException, std::exception) override
{
if ( !hasByName(aName) )
diff --git a/vbahelper/source/msforms/vbacontrols.cxx b/vbahelper/source/msforms/vbacontrols.cxx
index fe62c1b16d44..cfe9f06dd640 100644
--- a/vbahelper/source/msforms/vbacontrols.cxx
+++ b/vbahelper/source/msforms/vbacontrols.cxx
@@ -121,7 +121,7 @@ public:
return ( !mControls.empty() );
}
- // XNameAcess
+ // XNameAccess
virtual uno::Any SAL_CALL getByName( const OUString& aName ) throw (container::NoSuchElementException, lang::WrappedTargetException, uno::RuntimeException, std::exception) override
{
if ( !hasByName( aName ) )