diff --git a/.github/linters/codespell.txt b/.github/linters/codespell.txt index 219490f7371..763aaec29e7 100644 --- a/.github/linters/codespell.txt +++ b/.github/linters/codespell.txt @@ -890,8 +890,6 @@ endcoded ende endiannes endin -eneter -enetered enew enginge enhencement @@ -902,14 +900,12 @@ entirey entite entites entitie -entitities entitys entrie entrys enty enumarate enumaration -environement environemnt environent environmane @@ -992,18 +988,12 @@ existung exluding exlusive exntry -expaneded exparation -expception expectd expecte expection -expeption experssion -expexted -explecitly explicat -explicitily explicity explict explizit @@ -1013,20 +1003,15 @@ exportin expres expresion expressable -exptected exract exsist -exsisting exsists exspect -exsting extact extaction extendet extenions -extensivly extented -extesnion extracing extracs extractins diff --git a/main/accessibility/source/extended/AccessibleGridControl.cxx b/main/accessibility/source/extended/AccessibleGridControl.cxx index 71b2853952c..aa36e638c7c 100644 --- a/main/accessibility/source/extended/AccessibleGridControl.cxx +++ b/main/accessibility/source/extended/AccessibleGridControl.cxx @@ -427,7 +427,7 @@ Reference< XAccessibleContext > SAL_CALL AccessibleGridControlAccess::getAccessi DBG_ASSERT( ( m_pContext && m_xContext.is() ) || ( !m_pContext && !m_xContext.is() ), "accessibility/extended/AccessibleGridControlAccess::getAccessibleContext: inconsistency!" ); - // if the context died meanwhile (we're no listener, so it won't tell us explicitily when this happens), + // if the context died meanwhile (we're no listener, so it won't tell us explicitly when this happens), // then reset an re-create. if ( m_pContext && !m_pContext->isAlive() ) m_xContext = m_pContext = NULL; diff --git a/main/autodoc/source/display/html/hd_chlst.hxx b/main/autodoc/source/display/html/hd_chlst.hxx index 6b594326ab9..95aa0c027d9 100644 --- a/main/autodoc/source/display/html/hd_chlst.hxx +++ b/main/autodoc/source/display/html/hd_chlst.hxx @@ -135,7 +135,7 @@ class ChildList_Display : public ary::Display, /** i_rData is shown only, if it passes two filters: it must have the right protection, checked with pFilter, and the right class key (class,struct,union), checked with - pClassFilter. A not exsting filter allows i_rData to be + pClassFilter. A not existing filter allows i_rData to be displayed. */ virtual void do_Process( diff --git a/main/basic/inc/basic/sberrors.hxx b/main/basic/inc/basic/sberrors.hxx index 597901e6b9b..5805296259e 100644 --- a/main/basic/inc/basic/sberrors.hxx +++ b/main/basic/inc/basic/sberrors.hxx @@ -534,7 +534,7 @@ typedef sal_uIntPtr SbError; #define SbERR_UNDEF_PROC 962 // Procedure xxx undefined #define SbERR_UNDEF_LABEL 963 // Label xxx undefined #define SbERR_UNDEF_TYPE 964 // Unknown user defined type xxx -#define SbERR_BAD_EXIT 965 // Exit XXX expexted +#define SbERR_BAD_EXIT 965 // Exit XXX expected #define SbERR_BAD_BLOCK 966 // Unterminated statement block: missing XX #define SbERR_BAD_BRACKETS 967 // Parentheses do not match #define SbERR_BAD_DECLARATION 968 // Symbol xx defined differently diff --git a/main/chart2/source/controller/inc/dlg_CreationWizard.hxx b/main/chart2/source/controller/inc/dlg_CreationWizard.hxx index 43e61faf422..3de74d6c944 100644 --- a/main/chart2/source/controller/inc/dlg_CreationWizard.hxx +++ b/main/chart2/source/controller/inc/dlg_CreationWizard.hxx @@ -55,7 +55,7 @@ public: ::com::sun::star::frame::XModel >& xChartModel , const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& xContext - , sal_Int32 nOnePageOnlyIndex=-1 );//if nOnePageOnlyIndex is an index of an exsisting page starting with 0, then only this page is displayed without next/previous and roadmap + , sal_Int32 nOnePageOnlyIndex=-1 );//if nOnePageOnlyIndex is an index of an existing page starting with 0, then only this page is displayed without next/previous and roadmap virtual ~CreationWizard(); bool isClosable(); @@ -82,7 +82,7 @@ private: ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext> m_xCC; bool m_bIsClosable; - sal_Int32 m_nOnePageOnlyIndex;//if nOnePageOnlyIndex is an index of an exsisting page starting with 0, then only this page is displayed without next/previous and roadmap + sal_Int32 m_nOnePageOnlyIndex;//if nOnePageOnlyIndex is an index of an existing page starting with 0, then only this page is displayed without next/previous and roadmap ChartTypeTemplateProvider* m_pTemplateProvider; ::std::auto_ptr< DialogModel > m_apDialogModel; diff --git a/main/chart2/source/model/template/ChartTypeTemplate.cxx b/main/chart2/source/model/template/ChartTypeTemplate.cxx index e447a6c1241..29ae56cd991 100644 --- a/main/chart2/source/model/template/ChartTypeTemplate.cxx +++ b/main/chart2/source/model/template/ChartTypeTemplate.cxx @@ -740,7 +740,7 @@ void ChartTypeTemplate::createAxes( void ChartTypeTemplate::adaptAxes( const Sequence< Reference< XCoordinateSystem > > & rCoordSys ) { - //adapt properties of exsisting axes and remove superfluous axes + //adapt properties of existing axes and remove superfluous axes if( rCoordSys.getLength() > 0 ) { diff --git a/main/chart2/source/model/template/ChartTypeTemplate.hxx b/main/chart2/source/model/template/ChartTypeTemplate.hxx index e5bcb403260..5b399932443 100644 --- a/main/chart2/source/model/template/ChartTypeTemplate.hxx +++ b/main/chart2/source/model/template/ChartTypeTemplate.hxx @@ -246,7 +246,7 @@ protected: */ virtual sal_Int32 getAxisCountByDimension( sal_Int32 nDimension ); - /** adapt properties of exsisting axes and remove superfluous axes + /** adapt properties of existing axes and remove superfluous axes */ virtual void adaptAxes( const ::com::sun::star::uno::Sequence< diff --git a/main/drawinglayer/inc/drawinglayer/primitive2d/cropprimitive2d.hxx b/main/drawinglayer/inc/drawinglayer/primitive2d/cropprimitive2d.hxx index 86b218d2665..8fdf7164191 100644 --- a/main/drawinglayer/inc/drawinglayer/primitive2d/cropprimitive2d.hxx +++ b/main/drawinglayer/inc/drawinglayer/primitive2d/cropprimitive2d.hxx @@ -44,7 +44,7 @@ namespace drawinglayer to get to the uncropped original content. Thus a transformation has to be calculated which will be applied - to the already exsisting content to get it to the uncropped state + to the already existing content to get it to the uncropped state ans then this is masked with the current state (mask polygon created from unit polygon and maTransformation). diff --git a/main/extensions/source/propctrlr/formcomponenthandler.hxx b/main/extensions/source/propctrlr/formcomponenthandler.hxx index 1cc64ebe6d9..1513a9f3225 100644 --- a/main/extensions/source/propctrlr/formcomponenthandler.hxx +++ b/main/extensions/source/propctrlr/formcomponenthandler.hxx @@ -281,7 +281,7 @@ namespace pcr @precond we're inspecting (sub) database form @return - if and only if the user successfully eneter master and slave fields + if and only if the user successfully enter master and slave fields */ bool impl_dialogLinkedFormFields_nothrow( ::osl::ClearableMutexGuard& _rClearBeforeDialog ) const; diff --git a/main/migrationanalysis/src/driver_docs/sources/AnalysisDriver.bas b/main/migrationanalysis/src/driver_docs/sources/AnalysisDriver.bas index badfd00d55c..96cb290366d 100644 --- a/main/migrationanalysis/src/driver_docs/sources/AnalysisDriver.bas +++ b/main/migrationanalysis/src/driver_docs/sources/AnalysisDriver.bas @@ -1192,7 +1192,7 @@ Sub UpdateAllCounts(aAnalysis As DocumentAnalysis, counts As DocumentCount, temp UpdateDocCounts templateCounts, aAnalysis Else WriteDebug currentFunctionName & " : path " & aAnalysis.name & _ - ": unhandled file extesnion " & extStr & " : " & Err.Number & " " & Err.Description & " " & Err.Source + ": unhandled file extension " & extStr & " : " & Err.Number & " " & Err.Description & " " & Err.Source End If FinalExit: diff --git a/main/offapi/com/sun/star/chart2/data/TabularDataProviderArguments.idl b/main/offapi/com/sun/star/chart2/data/TabularDataProviderArguments.idl index 627ca95164c..33801eb460a 100644 --- a/main/offapi/com/sun/star/chart2/data/TabularDataProviderArguments.idl +++ b/main/offapi/com/sun/star/chart2/data/TabularDataProviderArguments.idl @@ -103,7 +103,7 @@ service TabularDataProviderArguments ignore the '5' and continue to place the sequence from old index '1' to the next new position and so on.

-

If the given SequenceMapping does not cover all exsisting +

If the given SequenceMapping does not cover all existing labeled sequences just put the remaining sequences in old order behind the others. For example you have 4 sequences and a SequenceMapping [3,1]. The result should be a as if [3,1,0,2] diff --git a/main/offapi/com/sun/star/ucb/PackageStreamContent.idl b/main/offapi/com/sun/star/ucb/PackageStreamContent.idl index f6217f85daa..97d8d4a5288 100644 --- a/main/offapi/com/sun/star/ucb/PackageStreamContent.idl +++ b/main/offapi/com/sun/star/ucb/PackageStreamContent.idl @@ -137,7 +137,7 @@ published service PackageStreamContent string Title

  • - boolean Compressed ( allows you to explecitly state whether you want a + boolean Compressed ( allows you to explicitly state whether you want a stream to be compressed or not. The default value of this property will be determined according to the value of the property 'MediaType'. If it is empty or prefixed by "text/", the value of 'Compressed' is set diff --git a/main/qadevOOo/java/OOoRunner/src/main/java/ifc/beans/_XHierarchicalPropertySet.java b/main/qadevOOo/java/OOoRunner/src/main/java/ifc/beans/_XHierarchicalPropertySet.java index 192b5b8b2e2..e39ea2c247b 100644 --- a/main/qadevOOo/java/OOoRunner/src/main/java/ifc/beans/_XHierarchicalPropertySet.java +++ b/main/qadevOOo/java/OOoRunner/src/main/java/ifc/beans/_XHierarchicalPropertySet.java @@ -69,7 +69,7 @@ public void _getHierarchicalPropertyValue() { } catch (com.sun.star.lang.IllegalArgumentException e) { log.println(" is illegal"); } catch (com.sun.star.lang.WrappedTargetException e) { - log.println(" throws expeption " + e.getMessage()); + log.println(" throws exception " + e.getMessage()); } } diff --git a/main/qadevOOo/java/OOoRunner/src/main/java/mod/_fwk/ModuleManager.java b/main/qadevOOo/java/OOoRunner/src/main/java/mod/_fwk/ModuleManager.java index ae1de5060eb..04bafb7eab4 100644 --- a/main/qadevOOo/java/OOoRunner/src/main/java/mod/_fwk/ModuleManager.java +++ b/main/qadevOOo/java/OOoRunner/src/main/java/mod/_fwk/ModuleManager.java @@ -67,8 +67,8 @@ public class ModuleManager extends TestCase { /** Creating a Testenvironment for the interfaces to be tested. * @param Param test parameters * @param log simple logger - * @throws StatusException was thrwon on error - * @return the test environement + * @throws StatusException was thrown on error + * @return the test environment */ public TestEnvironment createTestEnvironment( TestParameters Param, PrintWriter log ) throws StatusException { diff --git a/main/qadevOOo/java/OOoRunner/src/main/java/mod/_pcr/ObjectInspector.java b/main/qadevOOo/java/OOoRunner/src/main/java/mod/_pcr/ObjectInspector.java index 0ee08232fe5..bf82ed4e268 100644 --- a/main/qadevOOo/java/OOoRunner/src/main/java/mod/_pcr/ObjectInspector.java +++ b/main/qadevOOo/java/OOoRunner/src/main/java/mod/_pcr/ObjectInspector.java @@ -96,7 +96,7 @@ protected void initialize(TestParameters Param, PrintWriter log) { * com.sun.star.inspection.XPropertyHandler was used. * @param tParam the tests parameter * @param log the logger - * @return the test environement + * @return the test environment * @see util.DesktopTools * @see helper.PropertyHandlerImpl */ diff --git a/main/qadevOOo/java/OOoRunner/src/main/java/mod/_pcr/ObjectInspectorModel.java b/main/qadevOOo/java/OOoRunner/src/main/java/mod/_pcr/ObjectInspectorModel.java index fb4e783c7ce..f4cf1b932dc 100644 --- a/main/qadevOOo/java/OOoRunner/src/main/java/mod/_pcr/ObjectInspectorModel.java +++ b/main/qadevOOo/java/OOoRunner/src/main/java/mod/_pcr/ObjectInspectorModel.java @@ -82,11 +82,11 @@ protected void initialize(TestParameters Param, PrintWriter log) { * Creating a Testenvironment for the interfaces to be tested. * Creates an instance of the service * com.sun.star.inspection.ObjectInspectorModel with a DefaultContext and - * PropertyHandlerFactroy[] as parameter + * PropertyHandlerFactory[] as parameter * * @param tParam the tests parameter * @param log the logger - * @return the test environement + * @return the test environment * @see util.DesktopTools * @see helper.PropertyHandlerImpl */ diff --git a/main/qadevOOo/tests/basic/ifc/i18n/XCharacterClassification/i18n_XCharacterClassification.xba b/main/qadevOOo/tests/basic/ifc/i18n/XCharacterClassification/i18n_XCharacterClassification.xba index b025a390598..415e02c669a 100644 --- a/main/qadevOOo/tests/basic/ifc/i18n/XCharacterClassification/i18n_XCharacterClassification.xba +++ b/main/qadevOOo/tests/basic/ifc/i18n/XCharacterClassification/i18n_XCharacterClassification.xba @@ -156,7 +156,7 @@ On Error Goto ErrHndl if (pRes.TokenType = 0) then nStart = nStart + 1 else - Out.Log("Type is as expexted - " + ((pRes.TokenType AND tTypes(idx)) > 0)) + Out.Log("Type is as expected - " + ((pRes.TokenType AND tTypes(idx)) > 0)) bOK = bOK AND (pRes.TokenType AND tTypes(idx)) cActStr = mid(cString1, (nStart + pRes.LeadingWhiteSpace), pRes.EndPos - (nStart + pRes.LeadingWhiteSpace) + 1) Out.Log("Expected: '" + tVals(idx) + "'; actual is: '" + cActStr + "'") diff --git a/main/sc/inc/addincol.hxx b/main/sc/inc/addincol.hxx index d0a51c9aa27..52012cdab7e 100644 --- a/main/sc/inc/addincol.hxx +++ b/main/sc/inc/addincol.hxx @@ -160,7 +160,7 @@ public: ScUnoAddInCollection(); ~ScUnoAddInCollection(); - /// User enetered name. rUpperName MUST already be upper case! + /// User entered name. rUpperName MUST already be upper case! String FindFunction( const String& rUpperName, sal_Bool bLocalFirst ); // rName is the exact Name. diff --git a/main/sfx2/source/doc/docfile.cxx b/main/sfx2/source/doc/docfile.cxx index 1cb48918ec7..09a48fd1daf 100644 --- a/main/sfx2/source/doc/docfile.cxx +++ b/main/sfx2/source/doc/docfile.cxx @@ -3028,7 +3028,7 @@ void SfxMedium::CloseAndReleaseStreams_Impl() pImp->m_xLockingStream = uno::Reference< io::XStream >(); } - // The probably exsisting SvStream wrappers should be closed first + // The probably existing SvStream wrappers should be closed first CloseStreams_Impl(); // in case of salvage mode the storage is based on the streams diff --git a/main/shell/source/unix/exec/shellexec.cxx b/main/shell/source/unix/exec/shellexec.cxx index dacf52209fd..3b62051e958 100644 --- a/main/shell/source/unix/exec/shellexec.cxx +++ b/main/shell/source/unix/exec/shellexec.cxx @@ -226,7 +226,7 @@ void SAL_CALL ShellExec::execute( const OUString& aCommand, const OUString& aPar #endif // Respect the desktop environment - if there is an executable named - // -open-url, pass the url to this one instead + // -open-url, pass the url to this one instead // of the default "open-url" script. if ( m_aDesktopEnvironment.getLength() > 0 ) { diff --git a/main/sw/source/core/access/accpara.cxx b/main/sw/source/core/access/accpara.cxx index 6dd3f3f231c..d4534ba15d2 100644 --- a/main/sw/source/core/access/accpara.cxx +++ b/main/sw/source/core/access/accpara.cxx @@ -642,20 +642,20 @@ void SwAccessibleParagraph::ExecuteAtViewShell( sal_uInt16 nSlot ) DBG_ASSERT( GetMap() != NULL, "no map?" ); ViewShell* pViewShell = GetMap()->GetShell(); - DBG_ASSERT( pViewShell != NULL, "View shell exptected!" ); + DBG_ASSERT( pViewShell != NULL, "View shell expected!" ); SfxViewShell* pSfxShell = pViewShell->GetSfxViewShell(); - DBG_ASSERT( pSfxShell != NULL, "SfxViewShell shell exptected!" ); + DBG_ASSERT( pSfxShell != NULL, "SfxViewShell shell expected!" ); if( !pSfxShell ) return; SfxViewFrame *pFrame = pSfxShell->GetViewFrame(); - DBG_ASSERT( pFrame != NULL, "View frame exptected!" ); + DBG_ASSERT( pFrame != NULL, "View frame expected!" ); if( !pFrame ) return; SfxDispatcher *pDispatcher = pFrame->GetDispatcher(); - DBG_ASSERT( pDispatcher != NULL, "Dispatcher exptected!" ); + DBG_ASSERT( pDispatcher != NULL, "Dispatcher expected!" ); if( !pDispatcher ) return; diff --git a/main/sw/source/filter/html/htmlfldw.cxx b/main/sw/source/filter/html/htmlfldw.cxx index 708c22c9e53..fb9ea248b7b 100644 --- a/main/sw/source/filter/html/htmlfldw.cxx +++ b/main/sw/source/filter/html/htmlfldw.cxx @@ -439,7 +439,7 @@ Writer& OutHTML_SwFmtFld( Writer& rWrt, const SfxPoolItem& rHt ) rWrt.Strm() << '<'; if( !bOn ) rWrt.Strm() << '/'; - // TODO: HTML-Tags are written without entitities, that for, characters + // TODO: HTML-Tags are written without entities, that for, characters // not contained in the destination encoding are lost! ByteString sTmp( rTxt, ((SwHTMLWriter&)rWrt).eDestEnc ); rWrt.Strm() << sTmp.GetBuffer() << '>'; @@ -461,7 +461,7 @@ Writer& OutHTML_SwFmtFld( Writer& rWrt, const SfxPoolItem& rHt ) // META-Tags direkt ausgeben String sComment( rComment ); sComment.ConvertLineEnd( GetSystemLineEnd() ); - // TODO: HTML-Tags are written without entitities, that for, + // TODO: HTML-Tags are written without entities, that for, // characters not contained in the destination encoding are lost! ByteString sTmp( sComment, ((SwHTMLWriter&)rWrt).eDestEnc ); rWrt.Strm() << sTmp.GetBuffer(); @@ -476,7 +476,7 @@ Writer& OutHTML_SwFmtFld( Writer& rWrt, const SfxPoolItem& rHt ) if( '<' == sComment.GetChar(0) ) { sComment.ConvertLineEnd( GetSystemLineEnd() ); - // TODO: HTML-Tags are written without entitities, that for, + // TODO: HTML-Tags are written without entities, that for, // characters not contained in the destination encoding are // lost! ByteString sTmp( sComment, ((SwHTMLWriter&)rWrt).eDestEnc ); diff --git a/main/sw/source/ui/app/docsh2.cxx b/main/sw/source/ui/app/docsh2.cxx index 225d350fd57..c4e8ada08e6 100644 --- a/main/sw/source/ui/app/docsh2.cxx +++ b/main/sw/source/ui/app/docsh2.cxx @@ -845,7 +845,7 @@ void SwDocShell::Execute(SfxRequest& rReq) } bool bError = false; - //#b6439685# catch expception if wrong filter is selected - should not happen anymore + //#b6439685# catch exception if wrong filter is selected - should not happen anymore try { xFltMgr->setCurrentFilter( pOwnFlt->GetUIName() ); diff --git a/main/testtools/source/bridgetest/idl/bridgetest.idl b/main/testtools/source/bridgetest/idl/bridgetest.idl index a0c33ed3439..e4638aef1fd 100644 --- a/main/testtools/source/bridgetest/idl/bridgetest.idl +++ b/main/testtools/source/bridgetest/idl/bridgetest.idl @@ -311,7 +311,7 @@ interface XBridgeTestBase : com::sun::star::uno::XInterface /*** * This method returns the parameter value. - * Method to extensivly test anys. + * Method to extensively test anys. ****/ any transportAny( [in] any value ); diff --git a/main/toolkit/src2xml/source/srclexer.py b/main/toolkit/src2xml/source/srclexer.py index 57adce171f4..94063a837f2 100644 --- a/main/toolkit/src2xml/source/srclexer.py +++ b/main/toolkit/src2xml/source/srclexer.py @@ -429,7 +429,7 @@ def handleMacroInclude (self, buf): self.headerDict[headerPath] = True SrcLexer.headerCache[headerPath] = hdrData - # Update the list of headers that have already been expaneded. + # Update the list of headers that have already been expanded. for key in list(mclexer.headerDict.keys()): self.headerDict[key] = True diff --git a/main/ucbhelper/inc/ucbhelper/commandenvironment.hxx b/main/ucbhelper/inc/ucbhelper/commandenvironment.hxx index 31c3146cf43..bbb17dc9a48 100644 --- a/main/ucbhelper/inc/ucbhelper/commandenvironment.hxx +++ b/main/ucbhelper/inc/ucbhelper/commandenvironment.hxx @@ -41,7 +41,7 @@ struct CommandEnvironment_Impl; /** * This class implements the interface - * com::sun::star::ucb::XCommandEnvironement. Instances of this class can + * com::sun::star::ucb::XCommandEnvironment. Instances of this class can * be used to supply environments to commands executed by UCB contents. */ class UCBHELPER_DLLPUBLIC CommandEnvironment : public cppu::OWeakObject, diff --git a/main/ucbhelper/inc/ucbhelper/commandenvironmentproxy.hxx b/main/ucbhelper/inc/ucbhelper/commandenvironmentproxy.hxx index 2354499763e..6db20c57ffc 100644 --- a/main/ucbhelper/inc/ucbhelper/commandenvironmentproxy.hxx +++ b/main/ucbhelper/inc/ucbhelper/commandenvironmentproxy.hxx @@ -40,7 +40,7 @@ struct CommandEnvironmentProxy_Impl; /** * This class implements the interface - * com::sun::star::ucb::XCommandEnvironement. + * com::sun::star::ucb::XCommandEnvironment. * * Instances of this class can be used to create a (local) proxy for (remote) * command environment implementations. This implementation caches the diff --git a/main/udkapi/com/sun/star/test/bridge/XBridgeTest.idl b/main/udkapi/com/sun/star/test/bridge/XBridgeTest.idl index ba377eec156..d1e4e664a29 100644 --- a/main/udkapi/com/sun/star/test/bridge/XBridgeTest.idl +++ b/main/udkapi/com/sun/star/test/bridge/XBridgeTest.idl @@ -173,7 +173,7 @@ published interface XBridgeTestBase : com::sun::star::uno::XInterface /*** * This method returns the parameter value. - * Method to extensivly test anys. + * Method to extensively test anys. ****/ any transportAny( [in] any value );