From d4d737d5616f1246e770c1a377fba9288e6ec7ea Mon Sep 17 00:00:00 2001 From: Andrea Gelmini Date: Mon, 12 Jun 2017 12:30:15 +0200 Subject: Fix typos Change-Id: Ib2ba32d48d3df16b0b20deea84416fe15a2d7176 Reviewed-on: https://gerrit.libreoffice.org/38650 Tested-by: Jenkins Reviewed-by: Michael Stahl --- .../source/drivers/mozab/bootstrap/MNSProfileDiscover.cxx | 2 +- external/clew/source/clew.c | 2 +- filter/source/xslt/export/wordml/ooo2wordml_draw.xsl | 2 +- include/osl/file.h | 2 +- include/osl/file.hxx | 2 +- offapi/com/sun/star/ucb/Content.idl | 2 +- sw/source/filter/html/htmlform.cxx | 2 +- sw/source/filter/ww8/ww8par3.cxx | 8 ++++---- xmloff/source/draw/sdpropls.cxx | 2 +- 9 files changed, 12 insertions(+), 12 deletions(-) diff --git a/connectivity/source/drivers/mozab/bootstrap/MNSProfileDiscover.cxx b/connectivity/source/drivers/mozab/bootstrap/MNSProfileDiscover.cxx index 05d47378764d..d5bf2d95dedd 100644 --- a/connectivity/source/drivers/mozab/bootstrap/MNSProfileDiscover.cxx +++ b/connectivity/source/drivers/mozab/bootstrap/MNSProfileDiscover.cxx @@ -64,7 +64,7 @@ namespace connectivity LoadXPToolkitProfiles(MozillaProductType_Mozilla); //load firefox profiles to m_ProductProfileList - //firefox profile does not containt address book, but maybe others need them + //firefox profile does not contain address book, but maybe others need them LoadXPToolkitProfiles(MozillaProductType_Firefox); } //Thunderbird and firefox profiles are saved in profiles.ini diff --git a/external/clew/source/clew.c b/external/clew/source/clew.c index e885dee9b2d1..d82235a8715b 100644 --- a/external/clew/source/clew.c +++ b/external/clew/source/clew.c @@ -135,7 +135,7 @@ static void clewExit(void) //! \param path path to dynamic library to load //! \return CLEW_ERROR_OPEN_FAILED if the library could not be opened //! CLEW_ERROR_ATEXIT_FAILED if atexit(clewExit) failed -//! CLEW_SUCCESS when the library was succesfully loaded +//! CLEW_SUCCESS when the library was successfully loaded int clewInit(const char* path) { int error = 0; diff --git a/filter/source/xslt/export/wordml/ooo2wordml_draw.xsl b/filter/source/xslt/export/wordml/ooo2wordml_draw.xsl index 160e76982f46..8404669b3f11 100644 --- a/filter/source/xslt/export/wordml/ooo2wordml_draw.xsl +++ b/filter/source/xslt/export/wordml/ooo2wordml_draw.xsl @@ -95,7 +95,7 @@ - + diff --git a/include/osl/file.h b/include/osl/file.h index 01b6288ea0be..63a032881adb 100644 --- a/include/osl/file.h +++ b/include/osl/file.h @@ -88,7 +88,7 @@ typedef enum { osl_File_E_NOENT, /*!< no such file or directory */ osl_File_E_SRCH, /*!< no process matches the PID */ osl_File_E_INTR, /*!< function call was interrupted */ - osl_File_E_IO, /*!< I/O error occured */ + osl_File_E_IO, /*!< I/O error occurred */ osl_File_E_NXIO, /*!< no such device or address */ osl_File_E_2BIG, /*!< argument list too long */ osl_File_E_NOEXEC, /*!< invalid executable file format */ diff --git a/include/osl/file.hxx b/include/osl/file.hxx index 6f02301fcf3f..14c63e5cb657 100644 --- a/include/osl/file.hxx +++ b/include/osl/file.hxx @@ -58,7 +58,7 @@ public: E_NOENT = osl_File_E_NOENT, ///< no such file or directory E_SRCH = osl_File_E_SRCH, ///< no process matches the PID E_INTR = osl_File_E_INTR, ///< function call was interrupted - E_IO = osl_File_E_IO, ///< I/O error occured + E_IO = osl_File_E_IO, ///< I/O error occurred E_NXIO = osl_File_E_NXIO, ///< no such device or address E_2BIG = osl_File_E_2BIG, ///< argument list too long E_NOEXEC = osl_File_E_NOEXEC, ///< invalid executable file format diff --git a/offapi/com/sun/star/ucb/Content.idl b/offapi/com/sun/star/ucb/Content.idl index ead031ed31e0..7fc5b01b020d 100644 --- a/offapi/com/sun/star/ucb/Content.idl +++ b/offapi/com/sun/star/ucb/Content.idl @@ -620,7 +620,7 @@ published service Content DocumentHeader sequence< DocumentHeaderField > - contains a sequence of documemt header fields (i.e. header + contains a sequence of document header fields (i.e. header fields of a MIME-message, or the document info of an office document ). For some standard header fields there are predefined separate properties, like "MessageTo". diff --git a/sw/source/filter/html/htmlform.cxx b/sw/source/filter/html/htmlform.cxx index 4068d8930d66..933da9bddfe2 100644 --- a/sw/source/filter/html/htmlform.cxx +++ b/sw/source/filter/html/htmlform.cxx @@ -1654,7 +1654,7 @@ void SwHTMLParser::InsertInput() aMacroTable.Insert( HTML_ET_ONCLICK_ITEM, *pMacro ); aMacroTable.Erase( HTML_ET_ONCLICK ); } - // evaluating SIZE shouldn't be neccessary here? + // evaluating SIZE shouldn't be necessary here? bMinWidth = bMinHeight = true; } break; diff --git a/sw/source/filter/ww8/ww8par3.cxx b/sw/source/filter/ww8/ww8par3.cxx index 5e51346c7344..c94db550f043 100644 --- a/sw/source/filter/ww8/ww8par3.cxx +++ b/sw/source/filter/ww8/ww8par3.cxx @@ -1074,7 +1074,7 @@ void WW8ListManager::AdjustLVL( sal_uInt8 nLevel, SwNumRule& rNumRule, } } - // if neccessary: Append Bullet Font to NumFormat + // if necessary: Append Bullet Font to NumFormat if( SVX_NUM_CHAR_SPECIAL == aNumFormat.GetNumberingType() ) { @@ -1253,7 +1253,7 @@ WW8ListManager::WW8ListManager(SvStream& rSt_, SwWW8ImplReader& rReader_) break; // 1.2.2 compare ItemPools and CHPx Settings of different Levels - // and create Style(s) if neccessary + // and create Style(s) if necessary for (sal_uInt16 nLevel = 0; nLevel < nLvlCount; ++nLevel) { @@ -1344,7 +1344,7 @@ WW8ListManager::WW8ListManager(SvStream& rSt_, SwWW8ImplReader& rReader_) if( !pParentNumRule ) break; // create name-prefix for NumRule-Name - // and (if neccessary) for Style-Name + // and (if necessary) for Style-Name const OUString sPrefix("WW8NumSt" + OUString::number( nLfo + 1 )); // Now assign pNumRule its actual value!!! // (it contained the parent NumRule up to this point) @@ -1413,7 +1413,7 @@ WW8ListManager::WW8ListManager(SvStream& rSt_, SwWW8ImplReader& rReader_) else aLFOLVL.bStartAt = false; - // 2.2.2.2 load dedicated LVL if neccessary + // 2.2.2.2 load dedicated LVL if necessary SwNumFormat aNumFormat( rLFOInfo.pNumRule->Get(aLFOLVL.nLevel)); diff --git a/xmloff/source/draw/sdpropls.cxx b/xmloff/source/draw/sdpropls.cxx index aaddd74d94b8..21f806c46b2f 100644 --- a/xmloff/source/draw/sdpropls.cxx +++ b/xmloff/source/draw/sdpropls.cxx @@ -243,7 +243,7 @@ const XMLPropertyMapEntry aXMLSDProperties[] = GMAP( "FontWorkHideForm", XML_NAMESPACE_DRAW, XML_FONTWORK_HIDE_FORM, XML_TYPE_BOOL, CTF_FONTWORK_HIDEFORM ), GMAP( "FontWorkShadowTransparence", XML_NAMESPACE_DRAW, XML_FONTWORK_SHADOW_TRANSPARENCE, XML_TYPE_PERCENT, CTF_FONTWORK_SHADOWTRANSPARENCE ), - // control attributes (border exists one mor time for the text additions of shapes) + // control attributes (border exists one more time for the text additions of shapes) GMAP( "ControlSymbolColor", XML_NAMESPACE_DRAW, XML_SYMBOL_COLOR, XML_TYPE_COLOR, 0 ), GMAP( "ControlBackground", XML_NAMESPACE_FO, XML_BACKGROUND_COLOR, XML_TYPE_COLOR|MID_FLAG_MULTI_PROPERTY, 0 ), GMAP( "ControlBorder", XML_NAMESPACE_FO, XML_BORDER, XML_SD_TYPE_CONTROL_BORDER|MID_FLAG_MULTI_PROPERTY|MID_FLAG_MERGE_ATTRIBUTE, 0 ), -- cgit