This is an automated email from the ASF dual-hosted git repository. mseidel pushed a commit to branch AOO42X in repository https://gitbox.apache.org/repos/asf/openoffice.git
The following commit(s) were added to refs/heads/AOO42X by this push: new 17f9f80fe7 Fix spelling (#357) 17f9f80fe7 is described below commit 17f9f80fe7aaf6893f6b9260ef85d9f974931874 Author: John Bampton <jbamp...@users.noreply.github.com> AuthorDate: Sun Apr 13 05:11:23 2025 +1000 Fix spelling (#357) * Fix spelling * Update ignored words list (cherry picked from commit 181dec1222d2f9246c23e1b969c3569952426da0) --- main/cppuhelper/inc/cppuhelper/factory.hxx | 4 ++-- main/desktop/source/deployment/registry/help/dp_help.cxx | 2 +- main/extensions/source/ole/servprov.hxx | 2 +- main/filter/source/msfilter/msfiltertracer.cxx | 2 +- main/linguistic/source/gciterator.cxx | 2 +- main/odk/cfgWin.js | 2 +- .../Components/CppComponent/service2_impl.cxx | 2 +- main/offapi/com/sun/star/i18n/TextConversion.idl | 2 +- main/offapi/com/sun/star/ucb/UniversalContentBroker.idl | 2 +- main/package/source/package/zippackage/ZipPackage.cxx | 2 +- main/sal/osl/w32/conditn.c | 2 +- main/scripting/source/dlgprov/dlgprov.cxx | 2 +- main/sfx2/source/doc/doctemplates.cxx | 8 ++++---- main/svtools/source/misc/templatefoldercache.cxx | 4 ++-- main/ucb/source/ucp/hierarchy/hierarchydata.cxx | 16 ++++++++-------- main/udkapi/com/sun/star/io/XObjectInputStream.idl | 2 +- main/udkapi/com/sun/star/lang/ServiceManager.idl | 2 +- .../winaccessibility/source/service/msaaservice_impl.cxx | 2 +- .../com/sun/star/wizards/fax/FaxWizardDialogImpl.java | 2 +- .../sun/star/wizards/letter/LetterWizardDialogImpl.java | 2 +- .../com/sun/star/wizards/ui/event/AbstractListener.java | 4 ++-- .../com/sun/star/wizards/web/BackgroundsDialog.java | 4 ++-- main/xmlhelp/source/cxxhelp/provider/databases.cxx | 2 +- main/xmlhelp/source/treeview/tvread.cxx | 2 +- main/xmloff/source/text/XMLPropertyBackpatcher.cxx | 2 +- 25 files changed, 39 insertions(+), 39 deletions(-) diff --git a/main/cppuhelper/inc/cppuhelper/factory.hxx b/main/cppuhelper/inc/cppuhelper/factory.hxx index 796586af81..612786fd32 100644 --- a/main/cppuhelper/inc/cppuhelper/factory.hxx +++ b/main/cppuhelper/inc/cppuhelper/factory.hxx @@ -135,7 +135,7 @@ typedef ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >( /** Creates a single component factory supporting the XSingleComponentFactory interface. - @param fptr function pointer for instanciating the object + @param fptr function pointer for instantiating the object @param rImplementationName implementation name of service @param rServiceNames supported services @param pModCount for future extension (library unloading concept). @@ -151,7 +151,7 @@ SAL_CALL createSingleComponentFactory( /** Creates a single service factory which holds the instance created only once. - @param fptr function pointer for instanciating the object + @param fptr function pointer for instantiating the object @param rImplementationName implementation name of service @param rServiceNames supported services @param pModCount for future extension (library unloading concept). diff --git a/main/desktop/source/deployment/registry/help/dp_help.cxx b/main/desktop/source/deployment/registry/help/dp_help.cxx index 2a4f467bf5..494a0a7ed6 100644 --- a/main/desktop/source/deployment/registry/help/dp_help.cxx +++ b/main/desktop/source/deployment/registry/help/dp_help.cxx @@ -655,7 +655,7 @@ Reference< ucb::XSimpleFileAccess > BackendImpl::getFileAccess( void ) throw RuntimeException( ::rtl::OUString::createFromAscii( "dp_registry::backend::help::BackendImpl::getFileAccess(), " - "could not instatiate SimpleFileAccess." ), + "could not instantiate SimpleFileAccess." ), Reference< XInterface >() ); } } diff --git a/main/extensions/source/ole/servprov.hxx b/main/extensions/source/ole/servprov.hxx index 6ea444ecf2..ce625a3c83 100644 --- a/main/extensions/source/ole/servprov.hxx +++ b/main/extensions/source/ole/servprov.hxx @@ -238,7 +238,7 @@ protected: Implementation of the UNO service com.sun.star.bridge.OleApplicationRegistration. Register the calling application as OLE automation server for - standard OLE object. The objects will be registered while instanciating + standard OLE object. The objects will be registered while instantiating this implementation and deregistrated, if this implementation is destroyed. *****************************************************************************/ diff --git a/main/filter/source/msfilter/msfiltertracer.cxx b/main/filter/source/msfilter/msfiltertracer.cxx index fa170eb2ce..444a9c17a8 100644 --- a/main/filter/source/msfilter/msfiltertracer.cxx +++ b/main/filter/source/msfilter/msfiltertracer.cxx @@ -111,7 +111,7 @@ MSFilterTracer::MSFilterTracer( const ::rtl::OUString& rConfigPath, uno::Sequenc utl::OOutputStreamWrapper* pHelper = new ::utl::OOutputStreamWrapper( *mpStream ); uno::Reference< io::XOutputStream > xOutputStream( pHelper ); - // instanciating the DocumentHandler, then setting the OutputStream + // instantiating the DocumentHandler, then setting the OutputStream mxHandler = uno::Reference< xml::sax::XDocumentHandler >( xMgr->createInstance( rtl::OUString::createFromAscii( "com.sun.star.xml.sax.Writer" ) ), uno::UNO_QUERY ); uno::Reference< io::XActiveDataSource > xDocSrc( mxHandler, uno::UNO_QUERY ); xDocSrc->setOutputStream( xOutputStream ); diff --git a/main/linguistic/source/gciterator.cxx b/main/linguistic/source/gciterator.cxx index f31fedb5e5..c0a889a0bb 100644 --- a/main/linguistic/source/gciterator.cxx +++ b/main/linguistic/source/gciterator.cxx @@ -480,7 +480,7 @@ uno::Reference< linguistic2::XProofreader > GrammarCheckingIterator::GetGrammarC { xRes = aImplNameIt->second; } - else // the service is to be instatiated here for the first time... + else // the service is to be instantiated here for the first time... { try { diff --git a/main/odk/cfgWin.js b/main/odk/cfgWin.js index ee3ff39aa3..64ebed843a 100644 --- a/main/odk/cfgWin.js +++ b/main/odk/cfgWin.js @@ -242,7 +242,7 @@ function getOfficeHome() continue; } } - //Check if this is a valid office installtion folder by looking for the + //Check if this is a valid office installation folder by looking for the //program sub-directory var progDir = sHome + "\\program"; if (! aFileSystemObject.FolderExists(progDir)) diff --git a/main/odk/examples/DevelopersGuide/Components/CppComponent/service2_impl.cxx b/main/odk/examples/DevelopersGuide/Components/CppComponent/service2_impl.cxx index 636c0d40ee..3e78bfafd3 100644 --- a/main/odk/examples/DevelopersGuide/Components/CppComponent/service2_impl.cxx +++ b/main/odk/examples/DevelopersGuide/Components/CppComponent/service2_impl.cxx @@ -101,7 +101,7 @@ void MyService2Impl::initialize( Sequence< Any > const & args ) { throw lang::IllegalArgumentException( OUString( RTL_CONSTASCII_USTRINGPARAM( - "give a string instanciating this component!") ), + "give a string instantiating this component!") ), // resolve to XInterface reference: static_cast< ::cppu::OWeakObject * >(this), 0 ); // argument pos diff --git a/main/offapi/com/sun/star/i18n/TextConversion.idl b/main/offapi/com/sun/star/i18n/TextConversion.idl index 31e6afd803..e298318707 100644 --- a/main/offapi/com/sun/star/i18n/TextConversion.idl +++ b/main/offapi/com/sun/star/i18n/TextConversion.idl @@ -34,7 +34,7 @@ module com { module sun { module star { module i18n { //============================================================================= /** offers generic text conversion. - <p>This is an abstract service which does not make sense to be instatiated. + <p>This is an abstract service which does not make sense to be instantiated. @since OpenOffice 1.1.2 */ diff --git a/main/offapi/com/sun/star/ucb/UniversalContentBroker.idl b/main/offapi/com/sun/star/ucb/UniversalContentBroker.idl index ff94761640..d9badd56ec 100644 --- a/main/offapi/com/sun/star/ucb/UniversalContentBroker.idl +++ b/main/offapi/com/sun/star/ucb/UniversalContentBroker.idl @@ -65,7 +65,7 @@ module com { module sun { module star { module ucb { <type scope="com::sun::star::lang">XInitialization</type> interface for details. - <p>If the instance is created without arguments, the newly instatiated + <p>If the instance is created without arguments, the newly instantiated broker is not configured. */ published service UniversalContentBroker diff --git a/main/package/source/package/zippackage/ZipPackage.cxx b/main/package/source/package/zippackage/ZipPackage.cxx index a9b7d70522..6ac085ea4f 100644 --- a/main/package/source/package/zippackage/ZipPackage.cxx +++ b/main/package/source/package/zippackage/ZipPackage.cxx @@ -1475,7 +1475,7 @@ void SAL_CALL ZipPackage::commitChanges() uno::Reference< ::com::sun::star::ucb::XSimpleFileAccess > xSimpleAccess( m_xFactory->createInstance( ::rtl::OUString::createFromAscii( "com.sun.star.ucb.SimpleFileAccess" ) ), uno::UNO_QUERY ); - OSL_ENSURE( xSimpleAccess.is(), "Can't instatiate SimpleFileAccess service!\n" ); + OSL_ENSURE( xSimpleAccess.is(), "Can't instantiate SimpleFileAccess service!\n" ); uno::Reference< io::XTruncate > xOrigTruncate; if ( xSimpleAccess.is() ) { diff --git a/main/sal/osl/w32/conditn.c b/main/sal/osl/w32/conditn.c index c9a334b511..ef5bf10745 100644 --- a/main/sal/osl/w32/conditn.c +++ b/main/sal/osl/w32/conditn.c @@ -95,7 +95,7 @@ oslConditionResult SAL_CALL osl_waitCondition(oslCondition Condition, timeout = INFINITE; /* It's necessary to process SendMessage calls to the current thread to give other threads - access to COM objects instatiated in this thread */ + access to COM objects instantiated in this thread */ while ( 1 ) { diff --git a/main/scripting/source/dlgprov/dlgprov.cxx b/main/scripting/source/dlgprov/dlgprov.cxx index e4cf0897db..b812d67226 100644 --- a/main/scripting/source/dlgprov/dlgprov.cxx +++ b/main/scripting/source/dlgprov/dlgprov.cxx @@ -304,7 +304,7 @@ static ::rtl::OUString aResourceResolverPropName = ::rtl::OUString::createFromAs if ( !xFac.is() ) { throw RuntimeException( - ::rtl::OUString::createFromAscii( "DialogProviderImpl::getDialogModel(), could not instatiate UriReferenceFactory." ), + ::rtl::OUString::createFromAscii( "DialogProviderImpl::getDialogModel(), could not instantiate UriReferenceFactory." ), Reference< XInterface >() ); } diff --git a/main/sfx2/source/doc/doctemplates.cxx b/main/sfx2/source/doc/doctemplates.cxx index d2ce7e77a3..b09ae5f6cd 100644 --- a/main/sfx2/source/doc/doctemplates.cxx +++ b/main/sfx2/source/doc/doctemplates.cxx @@ -1017,8 +1017,8 @@ sal_Bool SfxDocTplService_Impl::setProperty( Content& rContent, } } - // To ensure a reloctable office installation, the path to the - // office installtion directory must never be stored directly. + // To ensure a relocatable office installation, the path to the + // office installation directory must never be stored directly. if ( SfxURLRelocator_Impl::propertyCanContainOfficeDir( rPropName ) ) { OUString aValue; @@ -1078,8 +1078,8 @@ sal_Bool SfxDocTplService_Impl::getProperty( Content& rContent, rPropValue = rContent.getPropertyValue( rPropName ); - // To ensure a reloctable office installation, the path to the - // office installtion directory must never be stored directly. + // To ensure a relocatable office installation, the path to the + // office installation directory must never be stored directly. if ( SfxURLRelocator_Impl::propertyCanContainOfficeDir( rPropName ) ) { OUString aValue; diff --git a/main/svtools/source/misc/templatefoldercache.cxx b/main/svtools/source/misc/templatefoldercache.cxx index c65214b5d1..cd4db539ec 100644 --- a/main/svtools/source/misc/templatefoldercache.cxx +++ b/main/svtools/source/misc/templatefoldercache.cxx @@ -346,7 +346,7 @@ namespace svt { // use the base class operator with the local name of the content String sURL = _rxContent->getURL(); - // #116281# Keep office installtion relocatable. Never store + // #116281# Keep office installation relocatable. Never store // any direct references to office installation directory. sURL = m_xOfficeInstDirs->makeRelocatableURL( sURL ); StoreString::operator() ( sURL ); @@ -754,7 +754,7 @@ namespace svt { String sURL; m_pCacheStream->ReadByteString( sURL ); - // #116281# Keep office installtion relocatable. Never store + // #116281# Keep office installation relocatable. Never store // any direct references to office installation directory. sURL = getOfficeInstDirs()->makeAbsoluteURL( sURL ); m_aPreviousState.push_back( diff --git a/main/ucb/source/ucp/hierarchy/hierarchydata.cxx b/main/ucb/source/ucp/hierarchy/hierarchydata.cxx index 7d4541ea37..49c30bb503 100644 --- a/main/ucb/source/ucp/hierarchy/hierarchydata.cxx +++ b/main/ucb/source/ucp/hierarchy/hierarchydata.cxx @@ -214,8 +214,8 @@ sal_Bool HierarchyEntry::getData( HierarchyEntryData& rData ) } // TargetURL property may contain a reference to the Office - // installation directory. To ensure a reloctable office - // installation, the path to the office installtion directory must + // installation directory. To ensure a relocatable office + // installation, the path to the office installation directory must // never be stored directly. A placeholder is used instead. Replace // it by actual installation directory. if ( m_xOfficeInstDirs.is() && ( aValue.getLength() > 0 ) ) @@ -432,8 +432,8 @@ sal_Bool HierarchyEntry::setData( // Set TargetURL value. // TargetURL property may contain a reference to the Office - // installation directory. To ensure a reloctable office - // installation, the path to the office installtion + // installation directory. To ensure a relocatable office + // installation, the path to the office installation // directory must never be stored directly. Use a // placeholder instead. rtl::OUString aValue( rData.getTargetURL() ); @@ -770,8 +770,8 @@ sal_Bool HierarchyEntry::move( uno::makeAny( rData.getTitle() ) ); // TargetURL property may contain a reference to the Office - // installation directory. To ensure a reloctable office - // installation, the path to the office installtion + // installation directory. To ensure a relocatable office + // installation, the path to the office installation // directory must never be stored directly. Use a placeholder // instead. rtl::OUString aValue( rData.getTargetURL() ); @@ -1212,8 +1212,8 @@ const HierarchyEntryData& HierarchyEntry::iterator::operator*() const m_pImpl->dir->getByHierarchicalName( aTargetURL ) >>= aValue; // TargetURL property may contain a reference to the Office - // installation directory. To ensure a reloctable office - // installation, the path to the office installtion directory must + // installation directory. To ensure a relocatable office + // installation, the path to the office installation directory must // never be stored directly. A placeholder is used instead. Replace // it by actual installation directory. if ( m_pImpl->officeDirs.is() && ( aValue.getLength() > 0 ) ) diff --git a/main/udkapi/com/sun/star/io/XObjectInputStream.idl b/main/udkapi/com/sun/star/io/XObjectInputStream.idl index 46404940b2..d4145451e8 100644 --- a/main/udkapi/com/sun/star/io/XObjectInputStream.idl +++ b/main/udkapi/com/sun/star/io/XObjectInputStream.idl @@ -49,7 +49,7 @@ published interface XObjectInputStream: com::sun::star::io::XDataInputStream //------------------------------------------------------------------------- /** reads an object from the stream. In general, it - reads the service name, instantiaties the object and + reads the service name, instantiates the object and calls read on the XPersistObject interface with itself as argument. */ diff --git a/main/udkapi/com/sun/star/lang/ServiceManager.idl b/main/udkapi/com/sun/star/lang/ServiceManager.idl index 673908247b..9f357fd981 100644 --- a/main/udkapi/com/sun/star/lang/ServiceManager.idl +++ b/main/udkapi/com/sun/star/lang/ServiceManager.idl @@ -121,7 +121,7 @@ published service ServiceManager /** Property access. */ [optional] interface com::sun::star::beans::XPropertySet; - /** specifies the default component context to be used, if instanciating services + /** specifies the default component context to be used, if instantiating services via <type>XMultiServiceFactory</type> */ [optional, property] com::sun::star::uno::XComponentContext DefaultContext; diff --git a/main/winaccessibility/source/service/msaaservice_impl.cxx b/main/winaccessibility/source/service/msaaservice_impl.cxx index e7e5abcb2b..84c8bcfa72 100644 --- a/main/winaccessibility/source/service/msaaservice_impl.cxx +++ b/main/winaccessibility/source/service/msaaservice_impl.cxx @@ -133,7 +133,7 @@ void MSAAServiceImpl::initialize( Sequence< Any > const & args ) throw (Exceptio if (1 != args.getLength()) { throw lang::IllegalArgumentException( - OUString( RTL_CONSTASCII_USTRINGPARAM("give a string instanciating this component!") ), + OUString( RTL_CONSTASCII_USTRINGPARAM("give a string instantiating this component!") ), (::cppu::OWeakObject *)this, // resolve to XInterface reference 0 ); // argument pos } diff --git a/main/wizards/com/sun/star/wizards/fax/FaxWizardDialogImpl.java b/main/wizards/com/sun/star/wizards/fax/FaxWizardDialogImpl.java index 8364b92ed1..8f7ffd77de 100644 --- a/main/wizards/com/sun/star/wizards/fax/FaxWizardDialogImpl.java +++ b/main/wizards/com/sun/star/wizards/fax/FaxWizardDialogImpl.java @@ -130,7 +130,7 @@ public class FaxWizardDialogImpl extends FaxWizardDialog //Number of steps on WizardDialog: setMaxStep(5); - //instatiate The Document Frame for the Preview + //instantiate The Document Frame for the Preview myFaxDoc = new FaxDocument(xMSF, this); //create the dialog: diff --git a/main/wizards/com/sun/star/wizards/letter/LetterWizardDialogImpl.java b/main/wizards/com/sun/star/wizards/letter/LetterWizardDialogImpl.java index 4492cf2208..01a1c10661 100644 --- a/main/wizards/com/sun/star/wizards/letter/LetterWizardDialogImpl.java +++ b/main/wizards/com/sun/star/wizards/letter/LetterWizardDialogImpl.java @@ -141,7 +141,7 @@ public class LetterWizardDialogImpl extends LetterWizardDialog //Number of steps on WizardDialog: setMaxStep(6); - //instatiate The Document Frame for the Preview + //instantiate The Document Frame for the Preview myLetterDoc = new LetterDocument(xMSF, this); //create the dialog: diff --git a/main/wizards/com/sun/star/wizards/ui/event/AbstractListener.java b/main/wizards/com/sun/star/wizards/ui/event/AbstractListener.java index d92fdaccc4..798ef0f344 100644 --- a/main/wizards/com/sun/star/wizards/ui/event/AbstractListener.java +++ b/main/wizards/com/sun/star/wizards/ui/event/AbstractListener.java @@ -38,8 +38,8 @@ import java.util.Hashtable; * <list> * <li>Write a subclass which implements the needed Listener(s).</li> * in the even methods, use invoke(...). - * <li>When instanciating the component, register the subclass as the event listener.</li> - * <li>Write the methods which should be performed when the event occures.</li> + * <li>When instantiating the component, register the subclass as the event listener.</li> + * <li>Write the methods which should be performed when the event occurs.</li> * <li>call the "add" method, to define a component-event-action mapping.</li> * </list> * @author rpiterman diff --git a/main/wizards/com/sun/star/wizards/web/BackgroundsDialog.java b/main/wizards/com/sun/star/wizards/web/BackgroundsDialog.java index 030a2a3151..79d1656316 100644 --- a/main/wizards/com/sun/star/wizards/web/BackgroundsDialog.java +++ b/main/wizards/com/sun/star/wizards/web/BackgroundsDialog.java @@ -217,8 +217,8 @@ public class BackgroundsDialog extends ImageListDialog } /** - * when instanciating the model, it checks if each image - * exists. If it doesnot, it will be removed from + * when instantiating the model, it checks if each image + * exists. If it doesn't, it will be removed from * the configuration. * This is what this method does... * @param imageName diff --git a/main/xmlhelp/source/cxxhelp/provider/databases.cxx b/main/xmlhelp/source/cxxhelp/provider/databases.cxx index d23701d8c2..7fea70010a 100644 --- a/main/xmlhelp/source/cxxhelp/provider/databases.cxx +++ b/main/xmlhelp/source/cxxhelp/provider/databases.cxx @@ -106,7 +106,7 @@ rtl::OUString Databases::expandURL( const rtl::OUString& aURL, Reference< uno::X if( !xFac.is() ) { throw RuntimeException( - ::rtl::OUString::createFromAscii( "Databases::expand(), could not instatiate UriReferenceFactory." ), + ::rtl::OUString::createFromAscii( "Databases::expand(), could not instantiate UriReferenceFactory." ), Reference< XInterface >() ); } diff --git a/main/xmlhelp/source/treeview/tvread.cxx b/main/xmlhelp/source/treeview/tvread.cxx index 460175e590..794eed597f 100644 --- a/main/xmlhelp/source/treeview/tvread.cxx +++ b/main/xmlhelp/source/treeview/tvread.cxx @@ -1238,7 +1238,7 @@ rtl::OUString TreeFileIterator::expandURL( const rtl::OUString& aURL ) if( !xFac.is() ) { throw RuntimeException( - ::rtl::OUString::createFromAscii( "Databases::expand(), could not instatiate UriReferenceFactory." ), + ::rtl::OUString::createFromAscii( "Databases::expand(), could not instantiate UriReferenceFactory." ), Reference< XInterface >() ); } diff --git a/main/xmloff/source/text/XMLPropertyBackpatcher.cxx b/main/xmloff/source/text/XMLPropertyBackpatcher.cxx index 4a43dfefe4..81fb24e0a2 100644 --- a/main/xmloff/source/text/XMLPropertyBackpatcher.cxx +++ b/main/xmloff/source/text/XMLPropertyBackpatcher.cxx @@ -234,7 +234,7 @@ static ::rtl::OUString const& GetSequenceNumber() // // Code from XMLTextImportHelper using the XMLPropertyBackpatcher is // implemented here. The reason is that in the unxsols2 environment, -// all templates are instatiated as file local (switch +// all templates are instantiated as file local (switch // -instances=static), and thus are not accessible from the outside. // // The previous solution was to force additional instantiation of