diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2017-09-02 15:08:52 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2017-09-02 16:05:01 +0200 |
commit | 0dc237953c79053495d1e98b4aa2745e25cee0d2 (patch) | |
tree | f3a0d7c549321988f997ebf52216d161bc134efa | |
parent | 16c5e23894052a822a47b650cc3363ac7454c060 (diff) |
Typos for "available"
Change-Id: I8050b1f2ea5414b6e6da3392e8e22d330c794ff5
Reviewed-on: https://gerrit.libreoffice.org/41836
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
7 files changed, 18 insertions, 18 deletions
diff --git a/chart2/source/controller/dialogs/res_DataLabel.cxx b/chart2/source/controller/dialogs/res_DataLabel.cxx index 74c4e786c1b0..d04eed5a484e 100644 --- a/chart2/source/controller/dialogs/res_DataLabel.cxx +++ b/chart2/source/controller/dialogs/res_DataLabel.cxx @@ -131,16 +131,16 @@ DataLabelResources::DataLabelResources(VclBuilderContainer* pWindow, vcl::Window aPlacementToStringMap[nEnum] = m_pLB_LabelPlacement->GetEntry(static_cast<sal_uInt16>(nEnum)); - std::vector< sal_Int32 > aAvailabelPlacementList; + std::vector< sal_Int32 > aAvailablePlacementList; const SfxPoolItem *pPoolItem = nullptr; if( rInAttrs.GetItemState(SCHATTR_DATADESCR_AVAILABLE_PLACEMENTS, true, &pPoolItem) == SfxItemState::SET ) - aAvailabelPlacementList = static_cast<const SfxIntegerListItem*>(pPoolItem)->GetList(); + aAvailablePlacementList = static_cast<const SfxIntegerListItem*>(pPoolItem)->GetList(); m_pLB_LabelPlacement->Clear(); - for( size_t nN=0; nN<aAvailabelPlacementList.size(); ++nN ) + for( size_t nN=0; nN<aAvailablePlacementList.size(); ++nN ) { sal_uInt16 nListBoxPos = static_cast<sal_uInt16>( nN ); - sal_Int32 nPlacement = aAvailabelPlacementList[nN]; + sal_Int32 nPlacement = aAvailablePlacementList[nN]; m_aPlacementToListBoxMap[nPlacement]=nListBoxPos; m_aListBoxToPlacementMap[nListBoxPos]=nPlacement; m_pLB_LabelPlacement->InsertEntry( aPlacementToStringMap[nPlacement] ); diff --git a/javaunohelper/test/com/sun/star/comp/helper/Bootstrap_Test.java b/javaunohelper/test/com/sun/star/comp/helper/Bootstrap_Test.java index ce85cb78fc91..9be051b623eb 100644 --- a/javaunohelper/test/com/sun/star/comp/helper/Bootstrap_Test.java +++ b/javaunohelper/test/com/sun/star/comp/helper/Bootstrap_Test.java @@ -57,7 +57,7 @@ public class Bootstrap_Test { String services[] = msf.getAvailableServiceNames(); logger.log(Level.FINE, "Available services are:"); if (services.length == 0) - logger.log(Level.FINE, "No services avialable!"); + logger.log(Level.FINE, "No services available!"); else for ( int i=0; i<services.length; i++ ) diff --git a/jurt/com/sun/star/comp/servicemanager/ServiceManager.java b/jurt/com/sun/star/comp/servicemanager/ServiceManager.java index a8b6ab31b64a..fd1978018ec7 100644 --- a/jurt/com/sun/star/comp/servicemanager/ServiceManager.java +++ b/jurt/com/sun/star/comp/servicemanager/ServiceManager.java @@ -159,14 +159,14 @@ public class ServiceManager implements XMultiServiceFactory, ArrayList<Object> availableFact = factoriesByServiceNames.get( serviceName ); DEBUG(""); - DEBUG("aviable factories for " + serviceName +" "+ availableFact); + DEBUG("available factories for " + serviceName +" "+ availableFact); DEBUG(""); if ( !availableFact.isEmpty() ) factory = availableFact.get(availableFact.size()-1); } else // not found in list of services - now try the implementations - factory = factoriesByImplNames.get( serviceName ); // return null if none is aviable + factory = factoriesByImplNames.get( serviceName ); // return null if none is available if (DEBUG) { if (factory == null) System.err.println("service not registered"); @@ -181,7 +181,7 @@ public class ServiceManager implements XMultiServiceFactory, } /** - * Supplies a list of all avialable services names. + * Supplies a list of all available services names. * * @return list of Strings of all service names. * @see com.sun.star.container.XContentEnumerationAccess @@ -469,7 +469,7 @@ public class ServiceManager implements XMultiServiceFactory, System.err.println("The implementation " + xServiceInfo.getImplementationName() + " is not registered for the service " + serviceName + " - ignoring!"); } - // remove the vector if no implementations aviable for the service + // remove the vector if no implementations available for the service if (vec.isEmpty()) { factoriesByServiceNames.remove(serviceName); } diff --git a/reportdesign/source/filter/xml/xmlExportDocumentHandler.cxx b/reportdesign/source/filter/xml/xmlExportDocumentHandler.cxx index bbbb39b562a9..b359f8f987d6 100644 --- a/reportdesign/source/filter/xml/xmlExportDocumentHandler.cxx +++ b/reportdesign/source/filter/xml/xmlExportDocumentHandler.cxx @@ -295,7 +295,7 @@ void SAL_CALL ExportDocumentHandler::initialize( const uno::Sequence< uno::Any > m_xDelegatee = aArgs.getUnpackedValueOrDefault("DocumentHandler",m_xDelegatee); m_xModel = aArgs.getUnpackedValueOrDefault("Model",m_xModel); - OSL_ENSURE(m_xDelegatee.is(),"No document handler avialable!"); + OSL_ENSURE(m_xDelegatee.is(),"No document handler available!"); if ( !m_xDelegatee.is() || !m_xModel.is() ) throw uno::Exception(); diff --git a/reportdesign/source/filter/xml/xmlImportDocumentHandler.cxx b/reportdesign/source/filter/xml/xmlImportDocumentHandler.cxx index b32ca0fa1ab5..3aedaaaa8272 100644 --- a/reportdesign/source/filter/xml/xmlImportDocumentHandler.cxx +++ b/reportdesign/source/filter/xml/xmlImportDocumentHandler.cxx @@ -345,7 +345,7 @@ void SAL_CALL ImportDocumentHandler::initialize( const uno::Sequence< uno::Any > m_xDelegatee = aArgs.getUnpackedValueOrDefault("DocumentHandler",m_xDelegatee); m_xModel = aArgs.getUnpackedValueOrDefault("Model",m_xModel); - OSL_ENSURE(m_xDelegatee.is(),"No document handler avialable!"); + OSL_ENSURE(m_xDelegatee.is(),"No document handler available!"); if ( !m_xDelegatee.is() || !m_xModel.is() ) throw uno::Exception(); diff --git a/sd/source/ui/dlg/assclass.cxx b/sd/source/ui/dlg/assclass.cxx index 9eb6075067dd..286ddc08be35 100644 --- a/sd/source/ui/dlg/assclass.cxx +++ b/sd/source/ui/dlg/assclass.cxx @@ -36,7 +36,7 @@ Assistent::Assistent(int nNoOfPages) bool Assistent::InsertControl(int nDestPage, vcl::Window* pUsedControl) { - DBG_ASSERT( (nDestPage > 0) && (nDestPage <= mnPages), "Page not aviable!"); + DBG_ASSERT( (nDestPage > 0) && (nDestPage <= mnPages), "Page not available!"); if((nDestPage>0)&&(nDestPage<=mnPages)) { @@ -77,7 +77,7 @@ void Assistent::PreviousPage() bool Assistent::GotoPage(const int nPageToGo) { - DBG_ASSERT( (nPageToGo > 0) && (nPageToGo <= mnPages), "Page not aviable!"); + DBG_ASSERT( (nPageToGo > 0) && (nPageToGo <= mnPages), "Page not available!"); if((nPageToGo>0)&&(nPageToGo<=mnPages)&&mpPageStatus[nPageToGo-1]) { @@ -136,14 +136,14 @@ bool Assistent::IsFirstPage() const bool Assistent::IsEnabled( int nPage ) const { - DBG_ASSERT( (nPage>0) && (nPage <= mnPages), "Page not aviable!" ); + DBG_ASSERT( (nPage>0) && (nPage <= mnPages), "Page not available!" ); return (nPage>0) && (nPage <= mnPages && mpPageStatus[nPage-1]); } void Assistent::EnablePage( int nPage ) { - DBG_ASSERT( (nPage>0) && (nPage <= mnPages), "Page not aviable!" ); + DBG_ASSERT( (nPage>0) && (nPage <= mnPages), "Page not available!" ); if((nPage>0) && (nPage < mnPages && !mpPageStatus[nPage-1])) { @@ -153,7 +153,7 @@ void Assistent::EnablePage( int nPage ) void Assistent::DisablePage( int nPage ) { - DBG_ASSERT( (nPage>0) && (nPage <= mnPages), "Page not aviable!" ); + DBG_ASSERT( (nPage>0) && (nPage <= mnPages), "Page not available!" ); if((nPage>0) && (nPage <= mnPages && mpPageStatus[nPage-1])) { diff --git a/xmloff/source/text/txtparae.cxx b/xmloff/source/text/txtparae.cxx index 1abc10f0095b..481dfe23a3c2 100644 --- a/xmloff/source/text/txtparae.cxx +++ b/xmloff/source/text/txtparae.cxx @@ -3146,14 +3146,14 @@ void XMLTextParagraphExport::_exportTextGraphic( void XMLTextParagraphExport::_collectTextEmbeddedAutoStyles(const Reference < XPropertySet > & ) { - SAL_WARN( "xmloff", "no API implementation avialable" ); + SAL_WARN( "xmloff", "no API implementation available" ); } void XMLTextParagraphExport::_exportTextEmbedded( const Reference < XPropertySet > &, const Reference < XPropertySetInfo > & ) { - SAL_WARN( "xmloff", "no API implementation avialable" ); + SAL_WARN( "xmloff", "no API implementation available" ); } void XMLTextParagraphExport::exportEvents( const Reference < XPropertySet > & rPropSet ) |