From fdd35ea841f319c48e1978dfead703d6cb0996ff Mon Sep 17 00:00:00 2001 From: Andrea Gelmini Date: Sat, 27 Jul 2019 10:44:52 +0200 Subject: Fix typos Change-Id: I380856ca45c835e732fdf080a522caab4534db5b Reviewed-on: https://gerrit.libreoffice.org/76346 Tested-by: Jenkins Reviewed-by: Julien Nabet --- include/xmloff/ProgressBarHelper.hxx | 2 +- include/xmloff/XMLCharContext.hxx | 2 +- include/xmloff/xmlimppr.hxx | 6 +++--- io/test/testconnection.cxx | 2 +- javaunohelper/com/sun/star/lib/uno/helper/InterfaceContainer.java | 2 +- libreofficekit/source/gtk/lokdocview.cxx | 2 +- lotuswordpro/source/filter/lwpfribsection.cxx | 2 +- .../EvolutionarySolver/src/net/adaptivebox/global/BasicBound.java | 2 +- offapi/com/sun/star/embed/XEmbedObjectFactory.idl | 2 +- offapi/com/sun/star/form/PropertyBrowserController.idl | 4 ++-- offapi/com/sun/star/form/XFormsSupplier2.idl | 2 +- offapi/com/sun/star/form/binding/BindableIntegerValueRange.idl | 2 +- 12 files changed, 15 insertions(+), 15 deletions(-) diff --git a/include/xmloff/ProgressBarHelper.hxx b/include/xmloff/ProgressBarHelper.hxx index 75f2e6f60aaa..c593b5023a5d 100644 --- a/include/xmloff/ProgressBarHelper.hxx +++ b/include/xmloff/ProgressBarHelper.hxx @@ -56,7 +56,7 @@ public: void End() { if (xStatusIndicator.is()) xStatusIndicator->end(); } // set the new reference and returns the new value which gives the - // Progress Bar the sam position as before + // Progress Bar the same position as before void ChangeReference(sal_Int32 nNewReference); sal_Int32 GetReference() { return nReference; } diff --git a/include/xmloff/XMLCharContext.hxx b/include/xmloff/XMLCharContext.hxx index 282421458820..64598e21a1d7 100644 --- a/include/xmloff/XMLCharContext.hxx +++ b/include/xmloff/XMLCharContext.hxx @@ -52,7 +52,7 @@ public: virtual ~XMLCharContext() override; // EndElement is called before a context will be destructed, but - // after a elements context has been parsed. It may be used for actions + // after an elements context has been parsed. It may be used for actions // that require virtual methods. The default is to do nothing. virtual void EndElement() override; diff --git a/include/xmloff/xmlimppr.hxx b/include/xmloff/xmlimppr.hxx index 4b557ca0a580..d77d434b3ab5 100644 --- a/include/xmloff/xmlimppr.hxx +++ b/include/xmloff/xmlimppr.hxx @@ -78,7 +78,7 @@ public: SvXMLImport& rImport); virtual ~SvXMLImportPropertyMapper() override; - // Add a ImportPropertyMapper at the end of the import mapper chain. + // Add an ImportPropertyMapper at the end of the import mapper chain. // The added mapper MUST not be used outside the Mapper chain any longer, // because its PropertyMapper will be replaced. void ChainImportMapper( @@ -142,7 +142,7 @@ public: ContextID_Index_Pair* pSpecialContextIds ); /** implementation helper for FillPropertySet: fill an XMultiPropertySet. - * If unsuccessul, set return value. */ + * If unsuccessful, set return value. */ static bool FillMultiPropertySet_( const ::std::vector & rProperties, const css::uno::Reference< css::beans::XMultiPropertySet> & rMultiPropSet, @@ -154,7 +154,7 @@ public: ContextID_Index_Pair* pSpecialContextIds ); /** implementation helper for FillPropertySet: fill an XTolerantMultiPropertySet. - * If unsuccessul, set return value. */ + * If unsuccessful, set return value. */ static bool FillTolerantMultiPropertySet_( const ::std::vector & rProperties, const css::uno::Reference< css::beans::XTolerantMultiPropertySet> & rTolPropSet, diff --git a/io/test/testconnection.cxx b/io/test/testconnection.cxx index 87fada6cfcbc..35bc697c9a76 100644 --- a/io/test/testconnection.cxx +++ b/io/test/testconnection.cxx @@ -200,7 +200,7 @@ int SAL_CALL main( int argc, char * argv[] ) testConnection( OUString("pipe,name=bla") , rAcceptorPipe , rConnector ); printf( " Done\n" ); - // check, if errornous strings make any problem + // check, if erroneous strings make any problem rAcceptor.set( xMgr->createInstance("com.sun.star.connection.Acceptor"), UNO_QUERY ); diff --git a/javaunohelper/com/sun/star/lib/uno/helper/InterfaceContainer.java b/javaunohelper/com/sun/star/lib/uno/helper/InterfaceContainer.java index b0419771870e..e858ced81fd8 100644 --- a/javaunohelper/com/sun/star/lib/uno/helper/InterfaceContainer.java +++ b/javaunohelper/com/sun/star/lib/uno/helper/InterfaceContainer.java @@ -81,7 +81,7 @@ import com.sun.star.uno.UnoRuntime; * a range of values of the list's data wrapped in a List implementation. Changes to the sub * list have to cause changes in the main list. This is a problem, since this class is to be * used in a multi-threaded environment. The sub list could work on a copy as the iterators - * do, but all the functions which work on an given index could not be properly supported. + * do, but all the functions which work on a given index could not be properly supported. * Unfortunately, the List interface documentation states that all optional methods implemented * by the list have to be implemented in the sub list. That would mean to do without all those * critical methods, although they might work well in the "main list" (as opposed to sub list). diff --git a/libreofficekit/source/gtk/lokdocview.cxx b/libreofficekit/source/gtk/lokdocview.cxx index 788377cdfc2e..6aa77469ed41 100644 --- a/libreofficekit/source/gtk/lokdocview.cxx +++ b/libreofficekit/source/gtk/lokdocview.cxx @@ -3269,7 +3269,7 @@ static void lok_doc_view_class_init (LOKDocViewClass* pClass) * Password must be provided by calling lok_doc_view_set_document_password * function with pUrl as provided by the callback. * - * Upon entering a invalid password, another `password-required` signal is + * Upon entering an invalid password, another `password-required` signal is * emitted. * Upon entering a valid password, document starts to load. * Upon entering a NULL password: if bModify is %TRUE, document starts to diff --git a/lotuswordpro/source/filter/lwpfribsection.cxx b/lotuswordpro/source/filter/lwpfribsection.cxx index de536253f24e..3cd68fca4647 100644 --- a/lotuswordpro/source/filter/lwpfribsection.cxx +++ b/lotuswordpro/source/filter/lwpfribsection.cxx @@ -328,7 +328,7 @@ void LwpMasterPage::RegisterMasterPage(LwpFrib* pFrib) } /** - * @descr: Whether it need create a new section + * @descr: Whether it needs to create a new section * */ bool LwpMasterPage::IsNeedSection() diff --git a/nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/global/BasicBound.java b/nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/global/BasicBound.java index 26e7b5ecbefb..6ed1089d9c79 100644 --- a/nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/global/BasicBound.java +++ b/nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/global/BasicBound.java @@ -1,5 +1,5 @@ /** - * Description: provide an bound, and the corresponding operations + * Description: provide a bound, and the corresponding operations * * Author Create/Modi Note * Xiaofeng Xie Oct. 9, 2002 diff --git a/offapi/com/sun/star/embed/XEmbedObjectFactory.idl b/offapi/com/sun/star/embed/XEmbedObjectFactory.idl index 83dbc8faf899..b7a760da17c0 100644 --- a/offapi/com/sun/star/embed/XEmbedObjectFactory.idl +++ b/offapi/com/sun/star/embed/XEmbedObjectFactory.idl @@ -41,7 +41,7 @@ published interface XEmbedObjectFactory: com::sun::star::uno::XInterface

This method can be used to have a full control over persistence - initialization of a object. + initialization of an object.

diff --git a/offapi/com/sun/star/form/PropertyBrowserController.idl b/offapi/com/sun/star/form/PropertyBrowserController.idl index 50f1b757aab9..4e9c3d894c95 100644 --- a/offapi/com/sun/star/form/PropertyBrowserController.idl +++ b/offapi/com/sun/star/form/PropertyBrowserController.idl @@ -31,7 +31,7 @@ /** describes a controller which can be used to browse and modify properties of form controls. -

The controller can be plugged into an com::sun::star::frame::XFrame, and will +

The controller can be plugged into a com::sun::star::frame::XFrame, and will provide a visual component for inspecting control properties. This means it allows to interactively control several aspects of a FormControlModel or DataAwareControlModel, such as it's data binding, it's layout, and it's event binding

@@ -101,7 +101,7 @@ published service PropertyBrowserController /** ensures the basic functionality for a controller.

With supporting this interface, the component is able to operate in (and provide content - for) an com::sun::star::frame::XFrame.

+ for) a com::sun::star::frame::XFrame.

*/ interface com::sun::star::frame::XController; diff --git a/offapi/com/sun/star/form/XFormsSupplier2.idl b/offapi/com/sun/star/form/XFormsSupplier2.idl index 8befb52a2333..034a3d084249 100644 --- a/offapi/com/sun/star/form/XFormsSupplier2.idl +++ b/offapi/com/sun/star/form/XFormsSupplier2.idl @@ -40,7 +40,7 @@ interface XFormsSupplier2: XFormsSupplier

Semantically, hasForms() is equivalent to calling XElementAccess::hasElements() on the container returned by XFormsSupplier::getForms(). But when using the latter, the - implementation is forced to create a empty container, which might be potentially + implementation is forced to create an empty container, which might be potentially expensive.

*/ boolean hasForms(); diff --git a/offapi/com/sun/star/form/binding/BindableIntegerValueRange.idl b/offapi/com/sun/star/form/binding/BindableIntegerValueRange.idl index 7dcadeef05b0..11f235a7ccce 100644 --- a/offapi/com/sun/star/form/binding/BindableIntegerValueRange.idl +++ b/offapi/com/sun/star/form/binding/BindableIntegerValueRange.idl @@ -40,7 +40,7 @@ service BindableIntegerValueRange must support exchanging double values.

When the (integer) value reflected by the control model is changed, it's converted - into an double value and propagated to the binding.

+ into a double value and propagated to the binding.

When the external (double) value changes, it's converted as follows to an integer value: -- cgit