From 64d624b65124ac02d8ee59b135593fd9d8eb9067 Mon Sep 17 00:00:00 2001 From: Andrea Gelmini Date: Sat, 9 Jan 2016 22:55:28 +0100 Subject: Fix typos Change-Id: I9a5940027423ff0791fa7da0b79b617412ce6b86 Reviewed-on: https://gerrit.libreoffice.org/21209 Tested-by: Jenkins Reviewed-by: Ashod Nakashian --- extensions/source/abpilot/datasourcehandling.hxx | 2 +- extensions/source/abpilot/fieldmappingimpl.cxx | 8 ++++---- extensions/source/config/ldap/ldapaccess.cxx | 2 +- extensions/source/config/ldap/ldapaccess.hxx | 2 +- extensions/source/dbpilots/gridwizard.cxx | 2 +- extensions/source/dbpilots/groupboxwiz.cxx | 2 +- extensions/source/ole/oleobjw.cxx | 4 ++-- extensions/source/ole/servprov.hxx | 2 +- extensions/source/propctrlr/cellbindinghelper.cxx | 4 ++-- extensions/source/propctrlr/cellbindinghelper.hxx | 2 +- extensions/source/propctrlr/eformshelper.hxx | 2 +- extensions/source/propctrlr/formcomponenthandler.hxx | 4 ++-- extensions/source/propctrlr/handlerhelper.hxx | 2 +- extensions/source/propctrlr/pcrcommon.hxx | 2 +- extensions/source/propctrlr/propertycomposer.hxx | 4 ++-- extensions/source/propctrlr/propertyeditor.cxx | 2 +- extensions/test/ole/cpnt/cpnt.cxx | 2 +- 17 files changed, 24 insertions(+), 24 deletions(-) (limited to 'extensions') diff --git a/extensions/source/abpilot/datasourcehandling.hxx b/extensions/source/abpilot/datasourcehandling.hxx index 4b0bc51e252c..230d1bfdb10b 100644 --- a/extensions/source/abpilot/datasourcehandling.hxx +++ b/extensions/source/abpilot/datasourcehandling.hxx @@ -145,7 +145,7 @@ namespace abp */ bool connect( vcl::Window* _pMessageParent ); - /// returns if the object has a valid connection, obtained from it's data source + /// returns if the object has a valid connection, obtained from its data source bool isConnected( ) const; /// disconnects from the data source (i.e. disposes the UNO connection hold internally) diff --git a/extensions/source/abpilot/fieldmappingimpl.cxx b/extensions/source/abpilot/fieldmappingimpl.cxx index 4c8fb611834f..9215b7e3ff19 100644 --- a/extensions/source/abpilot/fieldmappingimpl.cxx +++ b/extensions/source/abpilot/fieldmappingimpl.cxx @@ -156,7 +156,7 @@ namespace abp // but this list above is the intersection) - // access the configuration information which the driver uses for determining it's column names + // access the configuration information which the driver uses for determining its column names OUString sDriverAliasesNodeName( OUStringLiteral(sDriverSettingsNodeName) + "/ColumnAliases"); @@ -212,7 +212,7 @@ namespace abp // want to have a non-const map for easier handling MapString2String aFieldAssignment( _rFieldAssignment ); - // access the configuration information which the driver uses for determining it's column names + // access the configuration information which the driver uses for determining its column names // create a config node for this OConfigurationTreeRoot aAddressBookSettings = OConfigurationTreeRoot::createWithComponentContext( @@ -288,7 +288,7 @@ namespace abp void writeTemplateAddressSource( const Reference< XComponentContext >& _rxContext, const OUString& _rDataSourceName, const OUString& _rTableName ) { - // access the configuration information which the driver uses for determining it's column names + // access the configuration information which the driver uses for determining its column names // create a config node for this OConfigurationTreeRoot aAddressBookSettings = OConfigurationTreeRoot::createWithComponentContext( @@ -305,7 +305,7 @@ namespace abp void markPilotSuccess( const Reference< XComponentContext >& _rxContext ) { - // access the configuration information which the driver uses for determining it's column names + // access the configuration information which the driver uses for determining its column names // create a config node for this OConfigurationTreeRoot aAddressBookSettings = OConfigurationTreeRoot::createWithComponentContext( diff --git a/extensions/source/config/ldap/ldapaccess.cxx b/extensions/source/config/ldap/ldapaccess.cxx index 016f66e581aa..79e96350623f 100644 --- a/extensions/source/config/ldap/ldapaccess.cxx +++ b/extensions/source/config/ldap/ldapaccess.cxx @@ -97,7 +97,7 @@ static void checkLdapReturnCode(const sal_Char *aOperation, void LdapConnection::connectSimple(const LdapDefinition& aDefinition) throw (ldap::LdapConnectionException, ldap::LdapGenericException) { - OSL_ENSURE(!isValid(), "Recoonecting an LDAP connection that is already established"); + OSL_ENSURE(!isValid(), "Re-connecting to an LDAP connection that is already established"); if (isValid()) disconnect(); mLdapDefinition = aDefinition; diff --git a/extensions/source/config/ldap/ldapaccess.hxx b/extensions/source/config/ldap/ldapaccess.hxx index 98ef263019e3..d8fe63c5543c 100644 --- a/extensions/source/config/ldap/ldapaccess.hxx +++ b/extensions/source/config/ldap/ldapaccess.hxx @@ -72,7 +72,7 @@ struct LdapDefinition typedef std::map< OUString, OUString > LdapData; // key/value pairs -/** Class encapulating all LDAP functionality */ +/** Class encapsulating all LDAP functionality */ class LdapConnection { friend struct LdapMessageHolder; diff --git a/extensions/source/dbpilots/gridwizard.cxx b/extensions/source/dbpilots/gridwizard.cxx index 91b0d21b4072..ae2c63ff9265 100644 --- a/extensions/source/dbpilots/gridwizard.cxx +++ b/extensions/source/dbpilots/gridwizard.cxx @@ -437,7 +437,7 @@ namespace dbp // preserve it's "relative position" entry data rMoveTo.SetEntryData(nInsertPos, reinterpret_cast(nRelativeIndex)); - // remove the entry from it's old list + // remove the entry from its old list if (bMoveRight) { sal_Int32 nSelectPos = m_pExistFields->GetSelectEntryPos(); diff --git a/extensions/source/dbpilots/groupboxwiz.cxx b/extensions/source/dbpilots/groupboxwiz.cxx index 391fc5a3189f..eaccdc4e4a05 100644 --- a/extensions/source/dbpilots/groupboxwiz.cxx +++ b/extensions/source/dbpilots/groupboxwiz.cxx @@ -169,7 +169,7 @@ namespace dbp bool OGroupBoxWizard::onFinish() { - // commit the basic control setttings + // commit the basic control settings commitControlSettings(&m_aSettings); // create the radio buttons diff --git a/extensions/source/ole/oleobjw.cxx b/extensions/source/ole/oleobjw.cxx index ee81b48c8a1a..57e1395d14cc 100644 --- a/extensions/source/ole/oleobjw.cxx +++ b/extensions/source/ole/oleobjw.cxx @@ -138,7 +138,7 @@ Any IUnknownWrapper_Impl::queryInterface(const Type& t) return Any(); if ( ( t == cppu::UnoType::get() || t == cppu::UnoType::get() ) && !m_spDispatch) return Any(); - // XDirectInvocation seems to be an oracle replacement for XAutomationInvocation, however it is flawed esecially wrt. assumptions about whether to invoke a + // XDirectInvocation seems to be an oracle replacement for XAutomationInvocation, however it is flawed especially wrt. assumptions about whether to invoke a // Put or Get property, the implementation code has no business guessing that, it's up to the caller to decide that. Worse XDirectInvocation duplicates lots of code. // XAutomationInvocation provides separate calls for put& get // properties. Note: Currently the basic runtime doesn't call put properties directly, it should... after all the basic runtime should know whether it is calling a put or get property. @@ -1962,7 +1962,7 @@ Any IUnknownWrapper_Impl::invokeWithDispIdComTlb(FuncDesc& aFuncDesc, //Basic: obj.func() ' first parameter left out because it is optional else if (paramFlags & PARAMFLAG_FHASDEFAULT) { - //optional arg with defaulteithter as direct arg : VT_XXX or + //optional arg with default either as direct arg : VT_XXX or VariantCopy( & arArgs[revIndex], & aFuncDesc->lprgelemdescParam[i].paramdesc. pparamdescex->varDefaultValue); diff --git a/extensions/source/ole/servprov.hxx b/extensions/source/ole/servprov.hxx index 8cf9e55c77b1..18b59829be2f 100644 --- a/extensions/source/ole/servprov.hxx +++ b/extensions/source/ole/servprov.hxx @@ -246,7 +246,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 - this implementation and deregistrated, if this implementation is destroyed. + this implementation and deregistered, if this implementation is destroyed. *****************************************************************************/ diff --git a/extensions/source/propctrlr/cellbindinghelper.cxx b/extensions/source/propctrlr/cellbindinghelper.cxx index e1d8f1a70d9c..3c4cf5297755 100644 --- a/extensions/source/propctrlr/cellbindinghelper.cxx +++ b/extensions/source/propctrlr/cellbindinghelper.cxx @@ -461,8 +461,8 @@ namespace pcr } // disallow for some types - // TODO: shouldn't the XBindableValue supply a list of supported types, and we can distingusih - // using this list? The current behavior below is somewhat hackish ... + // TODO: shouldn't the XBindableValue supply a list of supported types, and we can distinguish + // using this list? The current behavior below is somewhat hackish... if ( bAllow ) { try diff --git a/extensions/source/propctrlr/cellbindinghelper.hxx b/extensions/source/propctrlr/cellbindinghelper.hxx index 1bc9adf4c467..c044a2ef72f7 100644 --- a/extensions/source/propctrlr/cellbindinghelper.hxx +++ b/extensions/source/propctrlr/cellbindinghelper.hxx @@ -58,7 +58,7 @@ namespace pcr /** determines whether the given model is a spreadsheet document model

If this method returns , you cannot instantiate a CellBindingHelper with - the document, since then no of it's functionality will be available.

+ the document, since then no of its functionality will be available.

*/ static bool isSpreadsheetDocument( const css::uno::Reference< css::frame::XModel >& _rxContextDocument diff --git a/extensions/source/propctrlr/eformshelper.hxx b/extensions/source/propctrlr/eformshelper.hxx index 2bd8ce785d59..96ebc3934269 100644 --- a/extensions/source/propctrlr/eformshelper.hxx +++ b/extensions/source/propctrlr/eformshelper.hxx @@ -73,7 +73,7 @@ namespace pcr /** determines whether the given document is an eForm If this method returns , you cannot instantiate a EFormsHelper with - this document, since then no of it's functionality will be available. + this document, since none of its functionality will be available then. */ static bool isEForm( diff --git a/extensions/source/propctrlr/formcomponenthandler.hxx b/extensions/source/propctrlr/formcomponenthandler.hxx index dea7179269ce..c6f7586104e3 100644 --- a/extensions/source/propctrlr/formcomponenthandler.hxx +++ b/extensions/source/propctrlr/formcomponenthandler.hxx @@ -171,7 +171,7 @@ namespace pcr If the component is a RowSet itself, it's returned directly. Else, the parent is examined for the XRowSet interface. If the parent is no XRowSet, then a check is made whether our component is a grid control column, and if so, - the parent of the grid control is examined for the XRowSet interace. + the parent of the grid control is examined for the XRowSet interface. Normally, at least one of those methods should succeed. */ @@ -320,7 +320,7 @@ namespace pcr @precond our component actually has a Font property @param _out_rNewValue - a value desribing the new font, as Sequence< NamedValue > + a value describing the new font, as Sequence< NamedValue > @return if and only if the user successfully changed the font of our component */ diff --git a/extensions/source/propctrlr/handlerhelper.hxx b/extensions/source/propctrlr/handlerhelper.hxx index 82b9f41de475..afe4c0cf44af 100644 --- a/extensions/source/propctrlr/handlerhelper.hxx +++ b/extensions/source/propctrlr/handlerhelper.hxx @@ -173,7 +173,7 @@ namespace pcr /** gets the window of the ObjectInspector in which an property handler lives - The method looks up a value called "DialogParentWindow" in the given UNO copmonent context, + The method looks up a value called "DialogParentWindow" in the given UNO component context, queries it for XWindow, and returns the respective vcl::Window*. If either of those steps fails, this is asserted in a non-product version, and silently ignore otherwise. diff --git a/extensions/source/propctrlr/pcrcommon.hxx b/extensions/source/propctrlr/pcrcommon.hxx index 6f5fceb34d04..17d268acd9bf 100644 --- a/extensions/source/propctrlr/pcrcommon.hxx +++ b/extensions/source/propctrlr/pcrcommon.hxx @@ -52,7 +52,7 @@ namespace pcr //= helper // small helper to make the "swap" call on an STL container a single-line call, which - // in it's canonic form "aFoo.swap( Container() )" doesn't compile with GCC + // in its canonic form "aFoo.swap( Container() )" doesn't compile with GCC template< class CONTAINER > void clearContainer( CONTAINER& _rContainer ) { diff --git a/extensions/source/propctrlr/propertycomposer.hxx b/extensions/source/propctrlr/propertycomposer.hxx index 36a0b875fa4a..a05298b40746 100644 --- a/extensions/source/propctrlr/propertycomposer.hxx +++ b/extensions/source/propctrlr/propertycomposer.hxx @@ -47,7 +47,7 @@ namespace pcr typedef ::cppu::WeakComponentImplHelper < css::inspection::XPropertyHandler , css::beans::XPropertyChangeListener > PropertyComposer_Base; - /** implements an XPropertyHandler which composes it's information + /** implements an XPropertyHandler which composes its information from a set of other property handlers */ class PropertyComposer :public ::comphelper::OBaseMutex @@ -66,7 +66,7 @@ namespace pcr PropertyBag m_aSupportedProperties; public: - /** constructs an XPropertyHandler which composes it's information from a set + /** constructs an XPropertyHandler which composes its information from a set of other property handlers @param _rSlaveHandlers diff --git a/extensions/source/propctrlr/propertyeditor.cxx b/extensions/source/propctrlr/propertyeditor.cxx index 057a4d550f55..83278bde93cb 100644 --- a/extensions/source/propctrlr/propertyeditor.cxx +++ b/extensions/source/propctrlr/propertyeditor.cxx @@ -517,7 +517,7 @@ namespace pcr IMPL_LINK_NOARG_TYPED(OPropertyEditor, OnPageDeactivate, TabControl *, bool) { - // commit the data on the current (to-be-decativated) tab page + // commit the data on the current (to-be-deactivated) tab page // (79404) sal_Int32 nCurrentId = m_aTabControl->GetCurPageId(); OBrowserPage* pCurrentPage = static_cast(m_aTabControl->GetTabPage((sal_uInt16)nCurrentId)); diff --git a/extensions/test/ole/cpnt/cpnt.cxx b/extensions/test/ole/cpnt/cpnt.cxx index fd210f42ec98..6def520caba3 100644 --- a/extensions/test/ole/cpnt/cpnt.cxx +++ b/extensions/test/ole/cpnt/cpnt.cxx @@ -783,7 +783,7 @@ void SAL_CALL OComponent::setALong( ::sal_Int32 _along ) throw (RuntimeException ::sal_uInt32 SAL_CALL OComponent::getAULong() throw (RuntimeException) { - return m_attr_uint32;; + return m_attr_uint32; } void SAL_CALL OComponent::setAULong( ::sal_uInt32 _aulong ) throw (RuntimeException) -- cgit