From 00d2eeebc8b1842c4ab7a544552f259208ee0e25 Mon Sep 17 00:00:00 2001 From: Andrea Gelmini Date: Tue, 29 Sep 2015 17:50:10 +0200 Subject: Fix typos Change-Id: Iaa9dd3f02f21947742643349d3b878126017477d Reviewed-on: https://gerrit.libreoffice.org/18947 Reviewed-by: Samuel Mehrbrodt Tested-by: Samuel Mehrbrodt --- extensions/source/dbpilots/controlwizard.cxx | 2 +- extensions/source/ole/oleobjw.cxx | 6 +++--- extensions/source/ole/oleobjw.hxx | 2 +- extensions/source/propctrlr/eventhandler.cxx | 4 ++-- extensions/source/propctrlr/formcomponenthandler.hxx | 4 ++-- extensions/source/propctrlr/selectlabeldialog.cxx | 2 +- extensions/source/update/check/updatecheckconfig.hxx | 2 +- 7 files changed, 11 insertions(+), 11 deletions(-) (limited to 'extensions') diff --git a/extensions/source/dbpilots/controlwizard.cxx b/extensions/source/dbpilots/controlwizard.cxx index ab334d0a1d75..2749fd0b85c8 100644 --- a/extensions/source/dbpilots/controlwizard.cxx +++ b/extensions/source/dbpilots/controlwizard.cxx @@ -517,7 +517,7 @@ namespace dbp // the shape of the control implDetermineShape(); - // get the columns of the object the settins refer to + // get the columns of the object the settings refer to Reference< XNameAccess > xColumns; if (m_aContext.xForm.is()) diff --git a/extensions/source/ole/oleobjw.cxx b/extensions/source/ole/oleobjw.cxx index 30910daf325c..794cb25238bc 100644 --- a/extensions/source/ole/oleobjw.cxx +++ b/extensions/source/ole/oleobjw.cxx @@ -142,7 +142,7 @@ Any IUnknownWrapper_Impl::queryInterface(const Type& t) // 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. - // For the moment for ease of merging we will let the XDirectInvoke and XAuthomationInvocation interfaces stay side by side ( and for the momemnt at least I would prefer the basic + // For the moment for ease of merging we will let the XDirectInvoke and XAuthomationInvocation interfaces stay side by side (and for the moment at least I would prefer the basic // runtime to call XAutomationInvocation instead of XDirectInvoke return WeakImplHelper::queryInterface(t); @@ -658,7 +658,7 @@ sal_Bool SAL_CALL IUnknownWrapper_Impl::hasProperty( const OUString& aName ) VarDesc aVarDesc(pInfo); getPropDesc(aName, & aDescGet, & aDescPut, & aVarDesc); - // we should probably just check the funckind + // we should probably just check the func kind // basic has been modified to handle properties ( 'get' ) props at // least with parameters // additionally you can call invoke(Get|Set)Property on the bridge @@ -2023,7 +2023,7 @@ Any IUnknownWrapper_Impl::invokeWithDispIdComTlb(FuncDesc& aFuncDesc, int outParamIndex=0; for (int paramIndex = 0; paramIndex < nUnoArgs; paramIndex ++) { - //Determine the index within the method sinature + //Determine the index within the method signature int realParamIndex = paramIndex; int revParamIndex = dispparams.cArgs - paramIndex - 1; if (Params[paramIndex].getValueType() diff --git a/extensions/source/ole/oleobjw.hxx b/extensions/source/ole/oleobjw.hxx index de287dbe4a78..161af47af2e9 100644 --- a/extensions/source/ole/oleobjw.hxx +++ b/extensions/source/ole/oleobjw.hxx @@ -235,7 +235,7 @@ protected: CComPtr m_spUnknown; CComPtr m_spDispatch; OUString m_sTypeName; // is "" ( not initialised ), "IDispatch" ( we have no idea ) or "SomeLibrary.SomeTypeName" if we managed to get a type - /** This value is set dureing XInitialization::initialize. It indicates that the COM interface + /** This value is set during XInitialization::initialize. It indicates that the COM interface was transported as VT_DISPATCH in a VARIANT rather then a VT_UNKNOWN */ sal_Bool m_bOriginalDispatch; diff --git a/extensions/source/propctrlr/eventhandler.cxx b/extensions/source/propctrlr/eventhandler.cxx index d429adc09c1f..552a4af2155f 100644 --- a/extensions/source/propctrlr/eventhandler.cxx +++ b/extensions/source/propctrlr/eventhandler.cxx @@ -616,9 +616,9 @@ namespace pcr // The only exception is the user pressing "DEL" while the control has the focus, in this case, we reset the // control content to an empty string. So this is the only scenario where this method is allowed to be called. - // Striclty, we would be able to convert the display value to a property value, + // Strictly, we would be able to convert the display value to a property value, // using the "name (location, language)" format we used in convertToControlValue. However, - // there is no need for this code ... + // there is no need for this code... aAssignedScript.ScriptCode = sNewScriptCode; return makeAny( aAssignedScript ); diff --git a/extensions/source/propctrlr/formcomponenthandler.hxx b/extensions/source/propctrlr/formcomponenthandler.hxx index 32025fc812d4..5533849d2c0e 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 examied for the XRowSet interace. + the parent of the grid control is examined for the XRowSet interace. Normally, at least one of those methods should succeed. */ @@ -245,7 +245,7 @@ namespace pcr const ::com::sun::star::uno::Reference< ::com::sun::star::inspection::XPropertyControlFactory >& _rxControlFactory ) const; - /** displays a datbase-related error to the user + /** displays a database-related error to the user */ void impl_displaySQLError_nothrow( const ::dbtools::SQLExceptionInfo& _rErrorDescriptor ) const; diff --git a/extensions/source/propctrlr/selectlabeldialog.cxx b/extensions/source/propctrlr/selectlabeldialog.cxx index 2f2b83ad8eca..feeeaa23fc14 100644 --- a/extensions/source/propctrlr/selectlabeldialog.cxx +++ b/extensions/source/propctrlr/selectlabeldialog.cxx @@ -95,7 +95,7 @@ namespace pcr // and insert all entries below this root into the listbox if (xSearch.is()) { - // check which service the allowed components must suppport + // check which service the allowed components must support sal_Int16 nClassId = 0; try { nClassId = ::comphelper::getINT16(m_xControlModel->getPropertyValue(PROPERTY_CLASSID)); } catch(...) { } m_sRequiredService = (FormComponentType::RADIOBUTTON == nClassId) ? OUString(SERVICE_COMPONENT_GROUPBOX) : OUString(SERVICE_COMPONENT_FIXEDTEXT); diff --git a/extensions/source/update/check/updatecheckconfig.hxx b/extensions/source/update/check/updatecheckconfig.hxx index 5134f4edafa6..ec4437b29db8 100644 --- a/extensions/source/update/check/updatecheckconfig.hxx +++ b/extensions/source/update/check/updatecheckconfig.hxx @@ -98,7 +98,7 @@ public: const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& xContext, const ::rtl::Reference< UpdateCheckConfigListener >& rListener = ::rtl::Reference< UpdateCheckConfigListener >()); - // Should really implement ROModel .. + // Should really implement ROModel... bool isAutoCheckEnabled() const; bool isAutoDownloadEnabled() const; OUString getUpdateEntryVersion() const; -- cgit