From 98ef3edb8a5d1a13963101d41abb2a8dd8a806dd Mon Sep 17 00:00:00 2001 From: Andrea Gelmini Date: Fri, 24 Mar 2017 11:45:16 +0100 Subject: Fix typos Change-Id: Id5811d092917c872715559f4508d01e4173d090c Reviewed-on: https://gerrit.libreoffice.org/35636 Reviewed-by: Julien Nabet Tested-by: Julien Nabet --- javaunohelper/com/sun/star/comp/helper/ComponentContext.java | 2 +- .../test/com/sun/star/lib/uno/helper/InterfaceContainer_Test.java | 4 ++-- jurt/com/sun/star/comp/loader/JavaLoader.java | 4 ++-- l10ntools/inc/common.hxx | 2 +- l10ntools/source/export.cxx | 2 +- l10ntools/source/xmlparse.cxx | 2 +- libreofficekit/README | 2 +- libreofficekit/source/gtk/tilebuffer.hxx | 2 +- lingucomponent/source/hyphenator/hyphen/hyphenimp.cxx | 2 +- linguistic/source/lngsvcmgr.cxx | 2 +- linguistic/workben/sspellimp.cxx | 2 +- lotuswordpro/source/filter/lwpfribmark.cxx | 2 +- lotuswordpro/source/filter/lwpoleobject.cxx | 2 +- lotuswordpro/source/filter/lwpsilverbullet.cxx | 2 +- lotuswordpro/source/filter/lwptoc.cxx | 2 +- lotuswordpro/source/filter/xfilter/xfbgimage.hxx | 2 +- lotuswordpro/source/filter/xfilter/xffont.hxx | 2 +- lotuswordpro/source/filter/xfilter/xfpoint.hxx | 2 +- mysqlc/README | 2 +- 19 files changed, 21 insertions(+), 21 deletions(-) diff --git a/javaunohelper/com/sun/star/comp/helper/ComponentContext.java b/javaunohelper/com/sun/star/comp/helper/ComponentContext.java index 67579f95bae8..b280f80cbeaf 100644 --- a/javaunohelper/com/sun/star/comp/helper/ComponentContext.java +++ b/javaunohelper/com/sun/star/comp/helper/ComponentContext.java @@ -236,7 +236,7 @@ public class ComponentContext implements XComponentContext, XComponent m_eventListener.clear(); XComponent tdmgr = null; - // dispose values, then service manager, then typdescription manager + // dispose values, then service manager, then typedescription manager for (Map.Entry entry : m_table.entrySet()) { String name = entry.getKey(); diff --git a/javaunohelper/test/com/sun/star/lib/uno/helper/InterfaceContainer_Test.java b/javaunohelper/test/com/sun/star/lib/uno/helper/InterfaceContainer_Test.java index d9488114d420..a406b84d457e 100644 --- a/javaunohelper/test/com/sun/star/lib/uno/helper/InterfaceContainer_Test.java +++ b/javaunohelper/test/com/sun/star/lib/uno/helper/InterfaceContainer_Test.java @@ -461,7 +461,7 @@ public class InterfaceContainer_Test @Test public void ListIterator_next() throws Exception { - logger.log(Level.INFO, "Testing InterfaceContainer.listIerator, ListIterator.next()"); + logger.log(Level.INFO, "Testing InterfaceContainer.listIterator, ListIterator.next()"); InterfaceContainer cont= new InterfaceContainer(); cont.addAll(list1); @@ -658,4 +658,4 @@ public class InterfaceContainer_Test assertEquals(obj2.nDisposingCalled, 1); assertEquals(obj3.nDisposingCalled, 1); } -} \ No newline at end of file +} diff --git a/jurt/com/sun/star/comp/loader/JavaLoader.java b/jurt/com/sun/star/comp/loader/JavaLoader.java index 6ab67b960ddd..6c5b4cc97023 100644 --- a/jurt/com/sun/star/comp/loader/JavaLoader.java +++ b/jurt/com/sun/star/comp/loader/JavaLoader.java @@ -160,7 +160,7 @@ public class JavaLoader implements XImplementationLoader, * new com.sun.star.lang.XMultiServiceFactory should be set at * the loader. * - * @param args - the first parameter (args[0]) specifices the ServiceManager. + * @param args - the first parameter (args[0]) specifies the ServiceManager. * @see com.sun.star.lang.XInitialization * @see com.sun.star.comp.servicemanager.ServiceManager */ @@ -415,7 +415,7 @@ public class JavaLoader implements XImplementationLoader, * Registers the JavaLoader at the registry. * * @param regKey root key under which the JavaLoader should be registered. - * @return true if registration succseeded - otherwise false. + * @return true if registration succeeded - otherwise false. */ public static boolean writeRegistryServiceInfo(XRegistryKey regKey) { boolean result = false; diff --git a/l10ntools/inc/common.hxx b/l10ntools/inc/common.hxx index f9cd72d955a1..4551e44f33e5 100644 --- a/l10ntools/inc/common.hxx +++ b/l10ntools/inc/common.hxx @@ -45,7 +45,7 @@ bool handleArguments(int argc, char * argv[], HandledArgs& o_aHandledArgs); /// Write out a help about usage void writeUsage(const OString& rName, const OString& rFileType); -/// Write out a PoEntry with attention to excaptions +/// Write out a PoEntry with attention to exceptions void writePoEntry( const OString& rExecutable, PoOfstream& rPoStream, const OString& rSourceFile, const OString& rResType, const OString& rGroupId, const OString& rLocalId, diff --git a/l10ntools/source/export.cxx b/l10ntools/source/export.cxx index 37f0d64ee879..b4995ca04fb5 100644 --- a/l10ntools/source/export.cxx +++ b/l10ntools/source/export.cxx @@ -400,7 +400,7 @@ void Export::Execute( int nToken, const char * pToken ) OString sCondition; if ( sId.indexOf( '#' ) != -1 ) { - // between ResTyp, Id and paranthes is a precomp. condition + // between ResTyp, Id and parentheses is a precomp. condition sCondition = "#"; sal_Int32 n = 0; sId = sId.getToken(0, '#', n); diff --git a/l10ntools/source/xmlparse.cxx b/l10ntools/source/xmlparse.cxx index 7281c734eb13..5e410df3aabc 100644 --- a/l10ntools/source/xmlparse.cxx +++ b/l10ntools/source/xmlparse.cxx @@ -963,7 +963,7 @@ XMLFile *SimpleXMLParser::Execute( const OString &rFileName, XMLFile* pXMLFileIn m_aErrorInformation.m_sMessage += "Tag mismatch"; break; case XML_ERROR_DUPLICATE_ATTRIBUTE: - m_aErrorInformation.m_sMessage += "Duplicat attribute"; + m_aErrorInformation.m_sMessage += "Duplicated attribute"; break; case XML_ERROR_JUNK_AFTER_DOC_ELEMENT: m_aErrorInformation.m_sMessage += "Junk after doc element"; diff --git a/libreofficekit/README b/libreofficekit/README index 3e161587600b..1f0a7ad72b53 100644 --- a/libreofficekit/README +++ b/libreofficekit/README @@ -32,7 +32,7 @@ To use LOK Tiled Rendering you will need the following before the LOK includes: (This must be define before ANY LOK header, i.e. including the Init header.) Currently only bitmap-buffer rendering is supported, with a 32-bit BGRA -colourspace (further alternatives could feasibly be implemented as needed). +colorspace (further alternatives could feasibly be implemented as needed). Scanlines are ordered top-down (whereas LibreOffice will internally default to bottom-up). diff --git a/libreofficekit/source/gtk/tilebuffer.hxx b/libreofficekit/source/gtk/tilebuffer.hxx index 498ea3fecd65..0d98cc26f899 100644 --- a/libreofficekit/source/gtk/tilebuffer.hxx +++ b/libreofficekit/source/gtk/tilebuffer.hxx @@ -165,7 +165,7 @@ enum A struct that we use to store the data about the LOK call. Object of this type is passed with all the LOK calls, - so that they can be idenitified. Additionally, it also contains + so that they can be identified. Additionally, it also contains the data that LOK call needs. */ struct LOEvent diff --git a/lingucomponent/source/hyphenator/hyphen/hyphenimp.cxx b/lingucomponent/source/hyphenator/hyphen/hyphenimp.cxx index 5bf39b19ed76..e124a9c6e61d 100644 --- a/lingucomponent/source/hyphenator/hyphen/hyphenimp.cxx +++ b/lingucomponent/source/hyphenator/hyphen/hyphenimp.cxx @@ -681,7 +681,7 @@ Reference< XPossibleHyphens > SAL_CALL Hyphenator::createPossibleHyphens( const { // linguistic::PossibleHyphens is stuck with // css::uno::Sequence because of - // css.linguistic2.XPossibleHpyhens.getHyphenationPositions, so + // css.linguistic2.XPossibleHyphens.getHyphenationPositions, so // any further positions need to be ignored: assert(i >= SAL_MIN_INT16); if (i > SAL_MAX_INT16) diff --git a/linguistic/source/lngsvcmgr.cxx b/linguistic/source/lngsvcmgr.cxx index 5e3df847b522..1a3b732f21cb 100644 --- a/linguistic/source/lngsvcmgr.cxx +++ b/linguistic/source/lngsvcmgr.cxx @@ -910,7 +910,7 @@ void LngSvcMgr::Notify( const uno::Sequence< OUString > &rPropertyNames ) } else { - SAL_WARN( "linguistic", "nofified for unexpected property" ); + SAL_WARN( "linguistic", "notified for unexpected property" ); } } } diff --git a/linguistic/workben/sspellimp.cxx b/linguistic/workben/sspellimp.cxx index 56d3ffc7810a..a46b7aa7f552 100644 --- a/linguistic/workben/sspellimp.cxx +++ b/linguistic/workben/sspellimp.cxx @@ -123,7 +123,7 @@ sal_Int16 SpellChecker::GetSpellFailure( const OUString &rWord, const Locale & ) { // Checks whether a word is OK in a given language (Locale) or not, and // provides a failure type for the incorrect ones. - // - words with "liss" (case sensitiv) as substring will be negative. + // - words with "liss" (case sensitive) as substring will be negative. // - words with 'x' or 'X' will have incorrect spelling. // - words with 's' or 'S' as first letter will have the wrong caption. // - all other words will be OK. diff --git a/lotuswordpro/source/filter/lwpfribmark.cxx b/lotuswordpro/source/filter/lwpfribmark.cxx index a37d254db401..abcf2989ef7b 100644 --- a/lotuswordpro/source/filter/lwpfribmark.cxx +++ b/lotuswordpro/source/filter/lwpfribmark.cxx @@ -1362,7 +1362,7 @@ void LwpFribField::ConvertCrossRefStart(XFContentContainer* pXFPara,LwpFieldMark XFCrossRefStart* pRef = new XFCrossRefStart; pRef->SetRefType(m_nCrossRefType); pRef->SetMarkName(m_sFormula); -// pFieldMark->SetStart(sal_True);//for some disnormal cases +// pFieldMark->SetStart(sal_True);//for some unusual cases if (m_ModFlag) { XFTextSpanStart* pSpan = new XFTextSpanStart; diff --git a/lotuswordpro/source/filter/lwpoleobject.cxx b/lotuswordpro/source/filter/lwpoleobject.cxx index e5111c513ee9..60953be37fb3 100644 --- a/lotuswordpro/source/filter/lwpoleobject.cxx +++ b/lotuswordpro/source/filter/lwpoleobject.cxx @@ -239,7 +239,7 @@ void LwpOleObject::Read() /** * @descr: Parse VO_OLEOBJECT and dump to XML stream only on WIN32 platform * @param: pOutputStream - stream to dump OLE object - * @param: pFrameLayout - framlayout object used to dump OLE object + * @param: pFrameLayout - framelayout object used to dump OLE object */ void LwpOleObject::Parse(IXFStream* /*pOutputStream*/) { diff --git a/lotuswordpro/source/filter/lwpsilverbullet.cxx b/lotuswordpro/source/filter/lwpsilverbullet.cxx index b837023128db..2a206965202b 100644 --- a/lotuswordpro/source/filter/lwpsilverbullet.cxx +++ b/lotuswordpro/source/filter/lwpsilverbullet.cxx @@ -212,7 +212,7 @@ OUString LwpSilverBullet::GetBulletFontName() /** * @short: Get bullet character of the bullet vo_para. * @descr: - * @return: An UChar32 bulle character. + * @return: An UChar32 bullet character. */ OUString LwpSilverBullet::GetBulletChar() { diff --git a/lotuswordpro/source/filter/lwptoc.cxx b/lotuswordpro/source/filter/lwptoc.cxx index 87144919c7fd..be8d12a76b03 100644 --- a/lotuswordpro/source/filter/lwptoc.cxx +++ b/lotuswordpro/source/filter/lwptoc.cxx @@ -361,7 +361,7 @@ bool LwpTocSuperLayout::GetUsePageNumber(sal_uInt16 index) return false; } /** - * @short Get what is used for separater + * @short Get what is used for separator * @param index - TOC level * @return sal_uInt16 - separator type */ diff --git a/lotuswordpro/source/filter/xfilter/xfbgimage.hxx b/lotuswordpro/source/filter/xfilter/xfbgimage.hxx index 14cc9aabbe68..1a9dee30f330 100644 --- a/lotuswordpro/source/filter/xfilter/xfbgimage.hxx +++ b/lotuswordpro/source/filter/xfilter/xfbgimage.hxx @@ -93,7 +93,7 @@ public: void SetRepeate(); /** - * @descr Set whether the image should be streatched to fill the owner object. + * @descr Set whether the image should be stretched to fill the owner object. */ void SetStretch(); diff --git a/lotuswordpro/source/filter/xfilter/xffont.hxx b/lotuswordpro/source/filter/xfilter/xffont.hxx index 0518f3499e40..e6bb33519bd6 100644 --- a/lotuswordpro/source/filter/xfilter/xffont.hxx +++ b/lotuswordpro/source/filter/xfilter/xffont.hxx @@ -256,7 +256,7 @@ private: sal_Int16 m_nWidthScale; XFColor m_aColor; XFColor m_aBackColor; - //The flag defines which variable will be funtional. + //The flag defines which variable will be functional sal_uInt32 m_nFlag; bool m_bTransparent; }; diff --git a/lotuswordpro/source/filter/xfilter/xfpoint.hxx b/lotuswordpro/source/filter/xfilter/xfpoint.hxx index 2d933ea5ef15..0ea6d9090ec6 100644 --- a/lotuswordpro/source/filter/xfilter/xfpoint.hxx +++ b/lotuswordpro/source/filter/xfilter/xfpoint.hxx @@ -55,7 +55,7 @@ ************************************************************************/ /************************************************************************* * @file - * Rapresent a point. + * Represent a point. ************************************************************************/ #ifndef INCLUDED_LOTUSWORDPRO_SOURCE_FILTER_XFILTER_XFPOINT_HXX #define INCLUDED_LOTUSWORDPRO_SOURCE_FILTER_XFILTER_XFPOINT_HXX diff --git a/mysqlc/README b/mysqlc/README index 1ca6ddce332d..9b50ebcfbfc4 100644 --- a/mysqlc/README +++ b/mysqlc/README @@ -12,7 +12,7 @@ requires two external libraries to be built: The MariaDB client library is provided as an external and will be automatically built if you pass "--without-system-mariadb" to -autogens.sh. +autogen.sh. libmysqlcppconn is provided as an external and will be automatically compiled if you pass "--without-system-mysql-cppconn" to autogen.sh. -- cgit