diff --git a/.github/linters/codespell.txt b/.github/linters/codespell.txt index 7f564a0e547..96bc3185d1c 100644 --- a/.github/linters/codespell.txt +++ b/.github/linters/codespell.txt @@ -364,7 +364,6 @@ buildin buld bumb bundel -buttom cace cachable calcable @@ -381,53 +380,32 @@ canbe cancelles cange cann -capabilties -capicity -caputre -carfull -carrage carret -carribean carridge case-insensitiv -case-insensitve case-sensitiv cashe -catastropic catched catory cauched causion ccahe ccertificate -ccordinate -ceate -ceating ceation ceck cecker cedentials cehck -cehcking celle cellxs cenarios centerd -cerate -cerates -cereates -certifice -certifificates -certiticate chache -chached -chack chage chaged chahged chainging chalenge -chanels changeing changin chaning @@ -437,38 +415,27 @@ characetrs characted characteres charactersm -characterss -charactetistics characture charakter charakters charas -charascters charaters charcater charcter -charcters checed chech cheched -cheching checke checkes -chekced -cheking -chidren childern childrens childs -chiuldren chnge choise choosen chosed chosing chossen -chracters -cintaner circustances ciriteria cirle @@ -605,17 +572,11 @@ constains constands constans constantsm -constatnt -constcurts constitently constraing constrainst constrast -constrcuct -construcor -constructcor construktor -construrtors constuct constucting constuctor @@ -649,69 +610,32 @@ contol contolls contols contradically -contraints contrl controle -controll controllerd controlls contruct -contructors -contructs -contsruction -contstants contstraints -contstructing contur convension conver convered convering -converssion convertable convertors -conveting -convience -convinience -convserion -coodinates -cooordinate cooporative -coordiante co-ordinates copie -copiing -coplete -copmonent copyed copys -cordinates -corect -corected -coreesponding coresponding coresponds corrcect corrct corrdinate -corrdinates -correcty correcxt correnspond -correspoding correspont -corret -correted -corrosponding -corrrected -corrspond -corrsponding -cotain -cotained -cotainer -cotains -coud -coudn't couldn could'nt could't @@ -725,19 +649,11 @@ coveres covert coverted coyp -cpation cption -craete -craeted -craeting -crahses crasher crashs -crated creaed -creatd createable -createing creater credate cript @@ -756,7 +672,6 @@ currenty curretn currnet curros -currrency currupt curser customable @@ -768,14 +683,12 @@ cuurently cymk cyrpto daa -dabase dadlock dafault dafaults dasdot dashs databse -databses datas datebase ddress @@ -784,30 +697,17 @@ deactivatiion deactive deactived deactiving -deafult deaktivate dealed dealign deattach deattached debuging -decalratiosn -deccelerate -decceleration -declartion -declataions -declation declatory -decleration -declerations -decomoposition -decompositon decompresser decompse decopose -decoratrion decresing -decription decroation dectivate defaul @@ -1370,7 +1270,6 @@ funktion funktions funtions furhtermore -furter fwe garant garantied @@ -1825,7 +1724,6 @@ linke linkes lins listenes -listernes lits livetime loaader @@ -2549,7 +2447,6 @@ resset ressets ressource ressources -ressult restauration reste restes @@ -2742,7 +2639,6 @@ signatur signes signle silenty -similare similary similiary simlified diff --git a/main/autodoc/inc/ary/qualiname.hxx b/main/autodoc/inc/ary/qualiname.hxx index cc974735e61..111ce21a4a7 100644 --- a/main/autodoc/inc/ary/qualiname.hxx +++ b/main/autodoc/inc/ary/qualiname.hxx @@ -64,7 +64,7 @@ class QualifiedName bool i_bAbsolute ) { Empty(); bIsAbsolute = i_bAbsolute; } /** Reads a qualified name from a string. - If the last two charcters are "()", the inquiry IsFunction() will return + If the last two characters are "()", the inquiry IsFunction() will return true. */ void AssignText( diff --git a/main/autodoc/source/parser/inc/tokens/tkpcontx.hxx b/main/autodoc/source/parser/inc/tokens/tkpcontx.hxx index c007536d692..5f53d06210f 100644 --- a/main/autodoc/source/parser/inc/tokens/tkpcontx.hxx +++ b/main/autodoc/source/parser/inc/tokens/tkpcontx.hxx @@ -57,7 +57,7 @@ class TkpContext It leaves io_rText.CurChar() at the first char of the following Token or the following Context. - This function returns, when a context has parsed some characterss + This function returns, when a context has parsed some characters and completed a token OR left the context. If the token is to be ignored, it is cut from io_rText. diff --git a/main/autodoc/source/parser_i/inc/tokens/tkpcont2.hxx b/main/autodoc/source/parser_i/inc/tokens/tkpcont2.hxx index f5d1ff0fd72..3425c861d69 100644 --- a/main/autodoc/source/parser_i/inc/tokens/tkpcont2.hxx +++ b/main/autodoc/source/parser_i/inc/tokens/tkpcont2.hxx @@ -50,7 +50,7 @@ class TkpContext It leaves io_rText at the first char of the following Token or the following Context. - This function returns, when a context has parsed some characterss + This function returns, when a context has parsed some characters and completed a token OR left the context. If the token is to be ignored, PassNewToken() returns false and cuts the token from io_rText. diff --git a/main/basegfx/inc/basegfx/color/bcolormodifier.hxx b/main/basegfx/inc/basegfx/color/bcolormodifier.hxx index b9b19214f65..75a1580045e 100644 --- a/main/basegfx/inc/basegfx/color/bcolormodifier.hxx +++ b/main/basegfx/inc/basegfx/color/bcolormodifier.hxx @@ -291,7 +291,7 @@ namespace basegfx /** gamma correction Input is a gamma correction value in the range ]0.0 .. 10.0]; the - color values get correted using + color values get corrected using col(r,g,b) = clamp(pow(col(r,g,b), 1.0 / gamma), 0.0, 1.0) */ diff --git a/main/basegfx/source/inc/hommatrixtemplate.hxx b/main/basegfx/source/inc/hommatrixtemplate.hxx index b3832fe413a..46c5ae5f544 100644 --- a/main/basegfx/source/inc/hommatrixtemplate.hxx +++ b/main/basegfx/source/inc/hommatrixtemplate.hxx @@ -209,7 +209,7 @@ namespace basegfx } } - // Left-upper decompositon + // Left-upper decomposition bool ludcmp(sal_uInt16 nIndex[], sal_Int16& nParity) { double fBig, fSum, fDum; diff --git a/main/basegfx/source/polygon/b3dpolygontools.cxx b/main/basegfx/source/polygon/b3dpolygontools.cxx index 4e6814b894f..efdefeb7acb 100644 --- a/main/basegfx/source/polygon/b3dpolygontools.cxx +++ b/main/basegfx/source/polygon/b3dpolygontools.cxx @@ -683,7 +683,7 @@ namespace basegfx { double fX(fOne - ((atan2(aVector.getZ(), aVector.getX()) + F_PI) / F_2PI)); - // correct cartesinan point coordiante dependent from center value + // correct cartesian point coordinate dependent from center value if(fX > fXCenter + 0.5) { fX -= fOne; diff --git a/main/basegfx/source/range/b2drangeclipper.cxx b/main/basegfx/source/range/b2drangeclipper.cxx index ee1d69a9a7c..2323ad84e51 100644 --- a/main/basegfx/source/range/b2drangeclipper.cxx +++ b/main/basegfx/source/range/b2drangeclipper.cxx @@ -96,7 +96,7 @@ namespace basegfx Rectangle this edge is part of @param fInvariantCoord - The invariant ccordinate value of this edge + The invariant coordinate value of this edge @param eEdgeType Is fInvariantCoord the lower or the higher value, for diff --git a/main/bridges/source/cpp_uno/gcc3_linux_intel/abi.cxx b/main/bridges/source/cpp_uno/gcc3_linux_intel/abi.cxx index 6b2c96c27c4..a8120aa126e 100644 --- a/main/bridges/source/cpp_uno/gcc3_linux_intel/abi.cxx +++ b/main/bridges/source/cpp_uno/gcc3_linux_intel/abi.cxx @@ -33,7 +33,7 @@ #include "share.hxx" // At least Clang 3.8 can't compile our CPPU_CURRENT_NAMESPACE::__cxa_get_globals() -// decleration with or anything else that indirectly includes +// declaration with or anything else that indirectly includes // included, as it sees it as a an overload of __cxxabi::__cxa_get_globals() with a // different return type. Thus, it has to be placed in a file that doesn't include // those, and wrapped in a function: diff --git a/main/canvas/source/directx/dx_surfacebitmap.cxx b/main/canvas/source/directx/dx_surfacebitmap.cxx index 204cf5bd2f3..03331c3b947 100644 --- a/main/canvas/source/directx/dx_surfacebitmap.cxx +++ b/main/canvas/source/directx/dx_surfacebitmap.cxx @@ -327,7 +327,7 @@ namespace dxcanvas { // since clients will most probably draw directly // to the GDI+ bitmap, we need to mark it as dirty - // to ensure that the corrosponding dxsurface will + // to ensure that the corresponding dxsurface will // be updated. mbIsSurfaceDirty = true; diff --git a/main/chart2/source/controller/main/SelectionHelper.cxx b/main/chart2/source/controller/main/SelectionHelper.cxx index 21fa46a9e51..6d5dd2deac8 100644 --- a/main/chart2/source/controller/main/SelectionHelper.cxx +++ b/main/chart2/source/controller/main/SelectionHelper.cxx @@ -277,7 +277,7 @@ void Selection::adaptSelectionToNewPos( const Point& rMousePos, DrawViewWrapper* bool bBackGroundHit = m_aSelectedOID.getObjectCID().equals( aPageCID ) || m_aSelectedOID.getObjectCID().equals( aWallCID ) || !m_aSelectedOID.isAutoGeneratedObject(); if( bBackGroundHit ) { - //todo: if more than one diagram is available in future do chack the list of all diagrams here + //todo: if more than one diagram is available in future do check the list of all diagrams here SdrObject* pDiagram = pDrawViewWrapper->getNamedSdrObject( aDiagramCID ); if( pDiagram ) { @@ -447,7 +447,7 @@ ::rtl::OUString SelectionHelper::getHitObjectCID( if( aRet.equals( aPageCID ) ) { rtl::OUString aDiagramCID = ObjectIdentifier::createClassifiedIdentifier( OBJECTTYPE_DIAGRAM, rtl::OUString::valueOf( sal_Int32(0) ) ); - //todo: if more than one diagram is available in future do chack the list of all diagrams here + //todo: if more than one diagram is available in future do check the list of all diagrams here SdrObject* pDiagram = rDrawViewWrapper.getNamedSdrObject( aDiagramCID ); if( pDiagram ) { diff --git a/main/chart2/source/view/inc/VCoordinateSystem.hxx b/main/chart2/source/view/inc/VCoordinateSystem.hxx index 67a447d8d1e..5bd97bd0b6a 100644 --- a/main/chart2/source/view/inc/VCoordinateSystem.hxx +++ b/main/chart2/source/view/inc/VCoordinateSystem.hxx @@ -84,9 +84,9 @@ public: void setExplicitCategoriesProvider( ExplicitCategoriesProvider* /*takes ownership*/ ); ExplicitCategoriesProvider* getExplicitCategoriesProvider(); - // returns a coplete scale set for a given dimension and index; for example if nDimensionIndex==1 and nAxisIndex==2 you get returned the secondary x axis, main y axis and main z axis + // returns a complete scale set for a given dimension and index; for example if nDimensionIndex==1 and nAxisIndex==2 you get returned the secondary x axis, main y axis and main z axis ::std::vector< ExplicitScaleData > getExplicitScales( sal_Int32 nDimensionIndex, sal_Int32 nAxisIndex ) const; - // returns a coplete increment set for a given dimension and index; for example if nDimensionIndex==1 and nAxisIndex==2 you get returned the secondary x axis, main y axis and main z axis + // returns a complete increment set for a given dimension and index; for example if nDimensionIndex==1 and nAxisIndex==2 you get returned the secondary x axis, main y axis and main z axis ::std::vector< ExplicitIncrementData > getExplicitIncrements( sal_Int32 nDimensionIndex, sal_Int32 nAxisIndex ) const; void addMinimumAndMaximumSupplier( MinimumAndMaximumSupplier* pMinimumAndMaximumSupplier ); diff --git a/main/chart2/source/view/main/ShapeFactory.cxx b/main/chart2/source/view/main/ShapeFactory.cxx index b6ed6c9f65b..e8eebbc9e36 100644 --- a/main/chart2/source/view/main/ShapeFactory.cxx +++ b/main/chart2/source/view/main/ShapeFactory.cxx @@ -726,7 +726,7 @@ uno::Reference "com.sun.star.drawing.Shape3DLatheObject") ), uno::UNO_QUERY ); xTarget->add(xShape); - double fWidth = rSize.DirectionX/2.0; //The depth will be corrrected within Matrix + double fWidth = rSize.DirectionX/2.0; //The depth will be corrected within Matrix double fRadius = fWidth; //!!!!!!!! problem in drawing layer: rotation object calculates wrong needed size -> wrong camera (it's a problem with bounding boxes) double fHeight = rSize.DirectionY; diff --git a/main/comphelper/source/misc/evtmethodhelper.cxx b/main/comphelper/source/misc/evtmethodhelper.cxx index c5d6298d96d..e0961b1a9a3 100644 --- a/main/comphelper/source/misc/evtmethodhelper.cxx +++ b/main/comphelper/source/misc/evtmethodhelper.cxx @@ -44,7 +44,7 @@ namespace comphelper ::rtl::OUString* pNames = aNames.getArray(); for(sal_Int32 i=0;inMembers;i++,++pNames) { - // the decription reference + // the description reference typelib_TypeDescriptionReference* pMemberDescriptionReference = pType->ppMembers[i]; // the description for the reference typelib_TypeDescription* pMemberDescription = NULL; diff --git a/main/connectivity/inc/connectivity/sqlparse.hxx b/main/connectivity/inc/connectivity/sqlparse.hxx index 2b9b0c7ecee..4428d3921f1 100644 --- a/main/connectivity/inc/connectivity/sqlparse.hxx +++ b/main/connectivity/inc/connectivity/sqlparse.hxx @@ -243,7 +243,7 @@ namespace connectivity void setParseTree(OSQLParseNode * pNewParseTree); // Is the parse in a special mode? - // Predicate chack is used to check a condition for a field + // Predicate check is used to check a condition for a field sal_Bool inPredicateCheck() const {return m_xField.is();} const ::rtl::OUString& getFieldName() const {return m_sFieldName;} diff --git a/main/connectivity/source/drivers/adabas/BDriver.cxx b/main/connectivity/source/drivers/adabas/BDriver.cxx index 2d64eaf2627..3aa6e02ef28 100644 --- a/main/connectivity/source/drivers/adabas/BDriver.cxx +++ b/main/connectivity/source/drivers/adabas/BDriver.cxx @@ -1768,7 +1768,7 @@ void ODriver::installSystemTables( const TDatabaseStruct& _aInfo) // ----------------------------------------------------------------------------- void ODriver::convertOldVersion(const ::rtl::OUString& sDBName,const TDatabaseStruct& _rDbInfo) { - // first we have to check if this databse is a old version and we have to update the system tables + // first we have to check if this database is a old version and we have to update the system tables if ( !isVersion(sDBName,CURRENT_DB_VERSION) && isKernelVersion(CURRENT_DB_VERSION) ) { if ( !_rDbInfo.sControlUser.getLength() diff --git a/main/connectivity/source/drivers/dbase/DTable.cxx b/main/connectivity/source/drivers/dbase/DTable.cxx index fcca6e5ea9d..a868528c2de 100644 --- a/main/connectivity/source/drivers/dbase/DTable.cxx +++ b/main/connectivity/source/drivers/dbase/DTable.cxx @@ -509,7 +509,7 @@ void ODbaseTable::construct() OSL_ENSURE( m_pConnection->matchesExtension( aURL.getExtension() ), "ODbaseTable::ODbaseTable: invalid extension!"); - // getEntry is expected to ensure the corect file name + // getEntry is expected to ensure the correct file name m_pFileStream = createStream_simpleError( sFileName, STREAM_READWRITE | STREAM_NOCREATE | STREAM_SHARE_DENYWRITE); m_bWriteable = ( m_pFileStream != NULL ); diff --git a/main/cppu/inc/uno/threadpool.h b/main/cppu/inc/uno/threadpool.h index 1644e074d10..e7799e0c78e 100644 --- a/main/cppu/inc/uno/threadpool.h +++ b/main/cppu/inc/uno/threadpool.h @@ -87,7 +87,7 @@ uno_threadpool_create() SAL_THROW_EXTERN_C(); called, BEFORE uno_threadpool_enter() is called and BEFORE a job for this thread is put into the threadpool (avoid a race between this thread and an incoming request/reply). - For every call to uno_threadpool_attach, a corrosponding call to + For every call to uno_threadpool_attach, a corresponding call to uno_threadpool_detach must be done. @param hPool The bridge threadpool handle previously created by uno_threadpool_create. diff --git a/main/cppu/source/typelib/typelib.cxx b/main/cppu/source/typelib/typelib.cxx index 0bdeadf7779..588122f953c 100644 --- a/main/cppu/source/typelib/typelib.cxx +++ b/main/cppu/source/typelib/typelib.cxx @@ -525,7 +525,7 @@ bool complete(typelib_TypeDescription ** ppTypeDescr, bool initTables) { ::typelib_typedescription_register( &pTD ); // replaces incomplete one OSL_ASSERT( pTD == *ppTypeDescr ); // has to merge into existing one - // insert into the chache + // insert into the cache MutexGuard aGuard( rInit.getMutex() ); if( !rInit.pCache ) rInit.pCache = new TypeDescriptionList_Impl; @@ -2231,7 +2231,7 @@ extern "C" void SAL_CALL typelib_typedescription_getByName( // on demand is activated. typelib_typedescription_register( ppRet ); - // insert into the chache + // insert into the cache MutexGuard aGuard( rInit.getMutex() ); if( !rInit.pCache ) rInit.pCache = new TypeDescriptionList_Impl; diff --git a/main/dbaccess/source/core/inc/FilteredContainer.hxx b/main/dbaccess/source/core/inc/FilteredContainer.hxx index 30eff0a2872..c68c7fbb669 100644 --- a/main/dbaccess/source/core/inc/FilteredContainer.hxx +++ b/main/dbaccess/source/core/inc/FilteredContainer.hxx @@ -66,7 +66,7 @@ namespace dbaccess virtual ::rtl::OUString getNameForObject(const ::connectivity::sdbcx::ObjectType& _xObject); /** tell the container to free all elements and all additional resources.
- After using this method the object may be reconstructed by calling one of the constrcuct methods. + After using this method the object may be reconstructed by calling one of the construct methods. */ virtual void SAL_CALL disposing(); diff --git a/main/dbaccess/source/ui/app/IApplicationController.hxx b/main/dbaccess/source/ui/app/IApplicationController.hxx index 074fbf9764d..9685ee370a0 100644 --- a/main/dbaccess/source/ui/app/IApplicationController.hxx +++ b/main/dbaccess/source/ui/app/IApplicationController.hxx @@ -57,7 +57,7 @@ namespace dbaui @param _pTree The tree list box. @return - if the cotainer could be changed otherwise + if the container could be changed otherwise */ virtual sal_Bool onContainerSelect(ElementType _eType) = 0; diff --git a/main/desktop/source/app/app.cxx b/main/desktop/source/app/app.cxx index 3d366eea09a..86f9cffda4b 100644 --- a/main/desktop/source/app/app.cxx +++ b/main/desktop/source/app/app.cxx @@ -3033,12 +3033,12 @@ void Desktop::OpenClients() } } - // Disable AutoSave feature in case "-norestore" or a similare command line switch is set on the command line. + // Disable AutoSave feature in case "-norestore" or a similar command line switch is set on the command line. // The reason behind: AutoSave/EmergencySave/AutoRecovery share the same data. // But the require that all documents, which are saved as backup should exists inside // memory. May be this mechanism will be inconsistent if the configuration exists ... - // but no document inside memory corrspond to this data. - // Furter it's not acceptable to recover such documents without any UI. It can + // but no document inside memory correspond to this data. + // Further it's not acceptable to recover such documents without any UI. It can // need some time, where the user won't see any results and wait for finishing the office startup ... sal_Bool bAllowRecoveryAndSessionManagement = ( ( !pArgs->IsNoRestore() ) && diff --git a/main/drawinglayer/inc/drawinglayer/primitive2d/baseprimitive2d.hxx b/main/drawinglayer/inc/drawinglayer/primitive2d/baseprimitive2d.hxx index 33c3527f46b..b4cb55046e9 100644 --- a/main/drawinglayer/inc/drawinglayer/primitive2d/baseprimitive2d.hxx +++ b/main/drawinglayer/inc/drawinglayer/primitive2d/baseprimitive2d.hxx @@ -130,7 +130,7 @@ namespace drawinglayer (get2DDecomposition/getB2DRange). The PropertyValue ViewParameters is converted to the appropriate C++ implementation class ViewInformation2D. - This base class does not implement any buffering; e.g. buffering the decompositon + This base class does not implement any buffering; e.g. buffering the decomposition and/or the range. These may be buffered anytime since the definition is that the primitive is read-only and thus unchangeable. This implies that the decomposition and/or getting the range will lead to the same result as last time, under the precondition that @@ -197,7 +197,7 @@ namespace drawinglayer /** BufferedDecompositionPrimitive2D class Baseclass for all C++ implementations of com::sun::star::graphic::XPrimitive2D - which want to buffer the decomoposition result + which want to buffer the decomposition result Buffering the decomposition is the most-used buffering and is thus used my most primitive implementations which support a decomposition as base class. diff --git a/main/drawinglayer/inc/drawinglayer/primitive2d/texteffectprimitive2d.hxx b/main/drawinglayer/inc/drawinglayer/primitive2d/texteffectprimitive2d.hxx index 0a32c92b63f..e7df2aeff8c 100644 --- a/main/drawinglayer/inc/drawinglayer/primitive2d/texteffectprimitive2d.hxx +++ b/main/drawinglayer/inc/drawinglayer/primitive2d/texteffectprimitive2d.hxx @@ -71,7 +71,7 @@ namespace drawinglayer virtual Primitive2DSequence create2DDecomposition(const geometry::ViewInformation2D& rViewInformation) const; public: - /// construcor + /// constructor TextEffectPrimitive2D( const Primitive2DSequence& rTextContent, const basegfx::B2DPoint& rRotationCenter, diff --git a/main/drawinglayer/inc/drawinglayer/primitive3d/polygontubeprimitive3d.hxx b/main/drawinglayer/inc/drawinglayer/primitive3d/polygontubeprimitive3d.hxx index b4015c2beae..22229d5433b 100644 --- a/main/drawinglayer/inc/drawinglayer/primitive3d/polygontubeprimitive3d.hxx +++ b/main/drawinglayer/inc/drawinglayer/primitive3d/polygontubeprimitive3d.hxx @@ -51,7 +51,7 @@ namespace drawinglayer class DRAWINGLAYER_DLLPUBLIC PolygonTubePrimitive3D : public PolygonHairlinePrimitive3D { private: - /// hold the last decompositon since it's expensive + /// hold the last decomposition since it's expensive Primitive3DSequence maLast3DDecomposition; /// visualisation parameters diff --git a/main/drawinglayer/source/primitive2d/metafileprimitive2d.cxx b/main/drawinglayer/source/primitive2d/metafileprimitive2d.cxx index dfc8a3a190b..814fffd23d4 100644 --- a/main/drawinglayer/source/primitive2d/metafileprimitive2d.cxx +++ b/main/drawinglayer/source/primitive2d/metafileprimitive2d.cxx @@ -2123,7 +2123,7 @@ namespace if(aGDIMetaFile.GetActionCount()) { - // cerate sub-content + // create sub-content drawinglayer::primitive2d::Primitive2DSequence xSubContent; { rTargetHolders.Push(); diff --git a/main/drawinglayer/source/primitive3d/sdrextrudelathetools3d.cxx b/main/drawinglayer/source/primitive3d/sdrextrudelathetools3d.cxx index 7c6ae527739..2b4c318b715 100644 --- a/main/drawinglayer/source/primitive3d/sdrextrudelathetools3d.cxx +++ b/main/drawinglayer/source/primitive3d/sdrextrudelathetools3d.cxx @@ -37,7 +37,7 @@ #include #include -// decompositon helpers for extrude/lathe (rotation) objects +// decomposition helpers for extrude/lathe (rotation) objects namespace { diff --git a/main/drawinglayer/source/processor3d/zbufferprocessor3d.cxx b/main/drawinglayer/source/processor3d/zbufferprocessor3d.cxx index 77d0b5cab4d..a4a3ae6425c 100644 --- a/main/drawinglayer/source/processor3d/zbufferprocessor3d.cxx +++ b/main/drawinglayer/source/processor3d/zbufferprocessor3d.cxx @@ -712,7 +712,7 @@ namespace drawinglayer { // step two: // - // bring from [0.0 .. 1.0] in X,Y and Z to view cordinates + // bring from [0.0 .. 1.0] in X,Y and Z to view coordinates // // #i102611# // also: scale Z to [1.5 .. 65534.5]. Normally, a range of [0.0 .. 65535.0] diff --git a/main/dtrans/source/win32/dtobj/TxtCnvtHlp.cxx b/main/dtrans/source/win32/dtobj/TxtCnvtHlp.cxx index a25e2de97b2..3382f96f948 100644 --- a/main/dtrans/source/win32/dtobj/TxtCnvtHlp.cxx +++ b/main/dtrans/source/win32/dtobj/TxtCnvtHlp.cxx @@ -92,7 +92,7 @@ int MultiByteToWideCharEx( UINT cp_src, // setup a global memory pointer CRawHGlobalPtr ptrHGlob( refDTransHelper ); - // do the converssion an return + // do the conversion and return return MultiByteToWideChar( cp_src, 0, lpMultiByteString, @@ -128,7 +128,7 @@ int WideCharToMultiByteEx( UINT cp_dest, // setup a global memory pointer CRawHGlobalPtr ptrHGlob( refDTransHelper ); - // do the converssion an return + // do the conversion and return return WideCharToMultiByte( cp_dest, 0, lpWideCharString, diff --git a/main/editeng/inc/editeng/svxacorr.hxx b/main/editeng/inc/editeng/svxacorr.hxx index 4070e45c252..31ae6a08e00 100644 --- a/main/editeng/inc/editeng/svxacorr.hxx +++ b/main/editeng/inc/editeng/svxacorr.hxx @@ -377,7 +377,7 @@ public: static long GetDefaultFlags(); -// returns sal_True for charcters where the function +// returns sal_True for characters where the function // 'SvxAutoCorrect::AutoCorrect' should be called. // (used to avoid occasional 'collisions' with (Thai) input-sequence-checking) static sal_Bool IsAutoCorrectChar( sal_Unicode cChar ); diff --git a/main/editeng/inc/editeng/unoforou.hxx b/main/editeng/inc/editeng/unoforou.hxx index 98fced5627e..74d836f6236 100644 --- a/main/editeng/inc/editeng/unoforou.hxx +++ b/main/editeng/inc/editeng/unoforou.hxx @@ -43,7 +43,7 @@ private: the selection maAttribsSelection */ mutable SfxItemSet* mpAttribsCache; - /** if we have a chached attribute item set, this is the selection of it */ + /** if we have a cached attribute item set, this is the selection of it */ mutable ESelection maAttribCacheSelection; /** this pointer may be null or point to an item set for the paragraph diff --git a/main/embeddedobj/source/commonembedding/persistence.cxx b/main/embeddedobj/source/commonembedding/persistence.cxx index d139e14c98e..4c1d2869b52 100644 --- a/main/embeddedobj/source/commonembedding/persistence.cxx +++ b/main/embeddedobj/source/commonembedding/persistence.cxx @@ -543,7 +543,7 @@ uno::Reference< util::XCloseable > OCommonEmbeddedObject::LoadDocumentFromStorag { } - OSL_ENSURE( aTempFileURL.getLength(), "Coudn't retrieve temporary file URL!\n" ); + OSL_ENSURE( aTempFileURL.getLength(), "Couldn't retrieve temporary file URL!\n" ); aLoadArgs.put( "URL", aTempFileURL ); aLoadArgs.put( "InputStream", xTempInpStream ); @@ -897,7 +897,7 @@ uno::Reference< util::XCloseable > OCommonEmbeddedObject::CreateTempDocFromLink_ { } - OSL_ENSURE( aTempFileURL.getLength(), "Coudn't retrieve temporary file URL!\n" ); + OSL_ENSURE( aTempFileURL.getLength(), "Couldn't retrieve temporary file URL!\n" ); aTempMediaDescr[0].Name = ::rtl::OUString::createFromAscii( "URL" ); aTempMediaDescr[0].Value <<= aTempFileURL; diff --git a/main/extensions/source/propctrlr/handlerhelper.hxx b/main/extensions/source/propctrlr/handlerhelper.hxx index 5d7a1d8c4ea..69ee1f527c8 100644 --- a/main/extensions/source/propctrlr/handlerhelper.hxx +++ b/main/extensions/source/propctrlr/handlerhelper.hxx @@ -177,7 +177,7 @@ namespace pcr /** gets the window of the ObjectInspector in which an property handler lives - The method looks up a value called "DialogParentWindow" in the given UNO copmonent context, + The method looks up a value called "DialogParentWindow" in the given UNO component context, queries it for XWindow, and returns the respective Window*. If either of those steps fails, this is asserted in a non-product version, and silently ignore otherwise. diff --git a/main/extras/source/misc_config/wizard/web/layouts/source.xml.xsl b/main/extras/source/misc_config/wizard/web/layouts/source.xml.xsl index 89c2436477e..e67d275682a 100644 --- a/main/extras/source/misc_config/wizard/web/layouts/source.xml.xsl +++ b/main/extras/source/misc_config/wizard/web/layouts/source.xml.xsl @@ -26,7 +26,7 @@ This templates creates a source.xml file which is identicall to the source xml tree used for the transformation. - This is may be useful for deveopement/debuging + This is may be useful for deveopement/debugging of layouts. ==================================== --> diff --git a/main/filter/source/flash/swfwriter1.cxx b/main/filter/source/flash/swfwriter1.cxx index 109f27d6ee9..99f8425c8fe 100644 --- a/main/filter/source/flash/swfwriter1.cxx +++ b/main/filter/source/flash/swfwriter1.cxx @@ -623,7 +623,7 @@ void Writer::Impl_writeText( const Point& rPos, const String& rText, const sal_I */ -#if 0 // makes the calculated bound rect visible for debuging +#if 0 // makes the calculated bound rect visible for debugging { Polygon aTmpPoly( aPoly ); sal_uInt16 nID = FlashGeometryExporter::writePolygonShape( aMovieStream, aTmpPoly, false, Color(COL_MAGENTA), Color(COL_MAGENTA), mpClipPolyPolygon ); diff --git a/main/filter/source/msfilter/msocximex.cxx b/main/filter/source/msfilter/msocximex.cxx index 401f2a343dd..0492a2ccf9e 100644 --- a/main/filter/source/msfilter/msocximex.cxx +++ b/main/filter/source/msfilter/msocximex.cxx @@ -768,7 +768,7 @@ class MultiPageContainerRecReader : public ContainerRecReader // container record array and by examining the flags present in // the record to determine we expect to read or not. // In this case for a MultPage control there is no Top or Left - // values in the control record array, however time contraints + // values in the control record array, however time constraints // and associated risk prevent further investigation of this // at the moment. // similar situation exists for the start of the container record diff --git a/main/filter/source/xslt/import/wordml/wordml2ooo_table.xsl b/main/filter/source/xslt/import/wordml/wordml2ooo_table.xsl index 6abc0a64e5b..24ccdbc2779 100644 --- a/main/filter/source/xslt/import/wordml/wordml2ooo_table.xsl +++ b/main/filter/source/xslt/import/wordml/wordml2ooo_table.xsl @@ -181,7 +181,7 @@ - + TableFrame diff --git a/main/forms/source/richtext/rtattributehandler.cxx b/main/forms/source/richtext/rtattributehandler.cxx index cf6d02cf46d..3edaa13ceb4 100644 --- a/main/forms/source/richtext/rtattributehandler.cxx +++ b/main/forms/source/richtext/rtattributehandler.cxx @@ -421,7 +421,7 @@ namespace frm if ( pFontHeightItem ) { - // corect measurement units + // correct measurement units SfxMapUnit eItemMapUnit = pFontHeightItem->GetPropUnit(); (void)eItemMapUnit; sal_uLong nHeight = pFontHeightItem->GetHeight(); if ( _rNewAttribs.GetPool()->GetMetric( getWhich() ) != SFX_MAPUNIT_TWIP ) diff --git a/main/forms/source/xforms/submission.cxx b/main/forms/source/xforms/submission.cxx index 5fbfb8f014f..f7e1c237cd5 100644 --- a/main/forms/source/xforms/submission.cxx +++ b/main/forms/source/xforms/submission.cxx @@ -445,7 +445,7 @@ sal_Bool SAL_CALL Submission::convertFastPropertyValue( { if ( nHandle == HANDLE_IncludeNamespacePrefixes ) { - // for convinience reasons (????), we accept a string which contains + // for convenience reasons (????), we accept a string which contains // a comma-separated list of namespace prefixes ::rtl::OUString sTokenList; if ( rValue >>= sTokenList ) diff --git a/main/fpicker/source/win32/filepicker/dibpreview.cxx b/main/fpicker/source/win32/filepicker/dibpreview.cxx index 9ff0a95adf0..34962a520f4 100644 --- a/main/fpicker/source/win32/filepicker/dibpreview.cxx +++ b/main/fpicker/source/win32/filepicker/dibpreview.cxx @@ -112,7 +112,7 @@ CDIBPreview::CDIBPreview(HINSTANCE instance,HWND parent,sal_Bool bShowWindow) : bool bSuccess = IsWindow(m_Hwnd); - OSL_POSTCOND(bSuccess,"Coud not create preview window"); + OSL_POSTCOND(bSuccess,"Could not create preview window"); if (!bSuccess) { diff --git a/main/framework/qa/complex/loadAllDocuments/StreamSimulator.java b/main/framework/qa/complex/loadAllDocuments/StreamSimulator.java index eb0c6fe4d39..d26d83fdc8e 100644 --- a/main/framework/qa/complex/loadAllDocuments/StreamSimulator.java +++ b/main/framework/qa/complex/loadAllDocuments/StreamSimulator.java @@ -38,7 +38,7 @@ public class StreamSimulator implements com.sun.star.io.XInputStream , { //_________________________________ /** - * @member m_sFileName name of the corrsponding file on disk + * @member m_sFileName name of the corresponding file on disk * @member m_xInStream the internal input stream for reading * @member m_xOutStream the internal input stream for writing * @member m_xSeek points at runtime to m_xInStream or m_xOutStream and make it seekable diff --git a/main/framework/source/uielement/generictoolbarcontroller.cxx b/main/framework/source/uielement/generictoolbarcontroller.cxx index 5bd862283de..2422bf10a37 100644 --- a/main/framework/source/uielement/generictoolbarcontroller.cxx +++ b/main/framework/source/uielement/generictoolbarcontroller.cxx @@ -355,7 +355,7 @@ class Toolbarmenu : public PopupMenu Toolbarmenu::Toolbarmenu() { - OSL_TRACE("**** contstructing Toolbarmenu 0x%x", this ); + OSL_TRACE("**** constructing Toolbarmenu 0x%x", this ); } Toolbarmenu::~Toolbarmenu() diff --git a/main/jurt/java/jurt/src/main/java/com/sun/star/uno/MappingException.java b/main/jurt/java/jurt/src/main/java/com/sun/star/uno/MappingException.java index 20d80f8c835..1dbd31082ef 100644 --- a/main/jurt/java/jurt/src/main/java/com/sun/star/uno/MappingException.java +++ b/main/jurt/java/jurt/src/main/java/com/sun/star/uno/MappingException.java @@ -36,14 +36,14 @@ */ public class MappingException extends com.sun.star.uno.RuntimeException { /** - * Contructs an empty MappingException. + * Constructs an empty MappingException. */ public MappingException() { super(); } /** - * Contructs an MappingException with a detail message. + * Constructs an MappingException with a detail message. *

* @param message the detail message. */ @@ -52,7 +52,7 @@ public MappingException(String message) { } /** - * Contructs an MappingException with a detail message + * Constructs an MappingException with a detail message * and a context. *

* @param message the detail message. diff --git a/main/l10ntools/source/help/HelpLinker.cxx b/main/l10ntools/source/help/HelpLinker.cxx index 59f774648db..d5ec70e094c 100644 --- a/main/l10ntools/source/help/HelpLinker.cxx +++ b/main/l10ntools/source/help/HelpLinker.cxx @@ -1082,7 +1082,7 @@ HELPLINKER_DLLPUBLIC bool compileExtensionHelp o_rHelpProcessingErrorInfo.m_eErrorClass = HELPPROCESSING_XMLPARSING_ERROR; o_rHelpProcessingErrorInfo.m_aErrorMsg = rtl::OUString::createFromAscii( XML_ErrorString( nError ) ); o_rHelpProcessingErrorInfo.m_aXMLParsingFile = aTreeFileURL; - // CRAHSES!!! o_rHelpProcessingErrorInfo.m_nXMLParsingLine = XML_GetCurrentLineNumber( parser ); + // CRASHES!!! o_rHelpProcessingErrorInfo.m_nXMLParsingLine = XML_GetCurrentLineNumber( parser ); bSuccess = false; } diff --git a/main/lingucomponent/source/languageguessing/simpleguesser.cxx b/main/lingucomponent/source/languageguessing/simpleguesser.cxx index cf29230be4c..40605a38b97 100644 --- a/main/lingucomponent/source/languageguessing/simpleguesser.cxx +++ b/main/lingucomponent/source/languageguessing/simpleguesser.cxx @@ -113,7 +113,7 @@ vector SimpleGuesser::GuessLanguage(char* text) if(!h){return guesses;} - //calculate le number of unicode charcters (symbols) + //calculate le number of unicode characters (symbols) int len = utfstrlen(text); if( len > MAX_STRING_LENGTH_TO_ANALYSE ){len = MAX_STRING_LENGTH_TO_ANALYSE ;} diff --git a/main/odk/examples/DevelopersGuide/Charts/CalcHelper.java b/main/odk/examples/DevelopersGuide/Charts/CalcHelper.java index 65eb7ae9b99..00fc29babe2 100644 --- a/main/odk/examples/DevelopersGuide/Charts/CalcHelper.java +++ b/main/odk/examples/DevelopersGuide/Charts/CalcHelper.java @@ -129,7 +129,7 @@ public XSpreadsheet getDataSheet() throws RuntimeException // ____________________ - /** Insert a chart using the given name as name of the OLE object and the range as correspoding + /** Insert a chart using the given name as name of the OLE object and the range as corresponding range of data to be used for rendering. The chart is placed in the sheet for charts at position aUpperLeft extending as large as given in aExtent. diff --git a/main/odk/examples/DevelopersGuide/Database/DriverSkeleton/Makefile b/main/odk/examples/DevelopersGuide/Database/DriverSkeleton/Makefile index 0ce3328746c..0a78ddcc3ab 100644 --- a/main/odk/examples/DevelopersGuide/Database/DriverSkeleton/Makefile +++ b/main/odk/examples/DevelopersGuide/Database/DriverSkeleton/Makefile @@ -19,7 +19,7 @@ # #************************************************************** -# Builds the Databse SDBC driver skeleton example of the Developers Guide. +# Builds the Database SDBC driver skeleton example of the Developers Guide. PRJ=../../../.. SETTINGS=$(PRJ)/settings diff --git a/main/odk/examples/java/Text/StyleInitialization.java b/main/odk/examples/java/Text/StyleInitialization.java index 1ce591a2169..d8b88a649dd 100644 --- a/main/odk/examples/java/Text/StyleInitialization.java +++ b/main/odk/examples/java/Text/StyleInitialization.java @@ -169,7 +169,7 @@ public static void main(String args[]) { // BEGIN: 'Finding a suitable style' Section from the Tutorial - // craete a supplier to get the styles-collection + // create a supplier to get the styles-collection com.sun.star.style.XStyleFamiliesSupplier xSupplier = null; xSupplier = ( com.sun.star.style.XStyleFamiliesSupplier ) UnoRuntime.queryInterface( com.sun.star.style.XStyleFamiliesSupplier.class, xTextDocument ); diff --git a/main/offapi/com/sun/star/accessibility/XAccessibleComponent.idl b/main/offapi/com/sun/star/accessibility/XAccessibleComponent.idl index 38e7e7d0ca3..8109f6a78be 100644 --- a/main/offapi/com/sun/star/accessibility/XAccessibleComponent.idl +++ b/main/offapi/com/sun/star/accessibility/XAccessibleComponent.idl @@ -68,7 +68,7 @@ module com { module sun { module star { module accessibility {

Coordinates used by the functions of this interface are specified in different coordinate systems. Their scale is the same and is equal to - that of the screen coordiante system. In other words all coordinates + that of the screen coordinate system. In other words all coordinates are measured in pixel. They differ in their respective origin:

  • The screen coordinate system has its origin in the upper left corner of the current screen. Used by the @@ -109,7 +109,7 @@ published interface XAccessibleComponent : ::com::sun::star::uno::XInterface Coordinates of the point to test. The origin of the coordinate system is the upper left corner of the object's bounding box as returned by the getBounds. The scale of the - coordinate system is identical to that of the screen coordiante + coordinate system is identical to that of the screen coordinate system. @return @@ -130,7 +130,7 @@ published interface XAccessibleComponent : ::com::sun::star::uno::XInterface child. The origin of the coordinate system is the upper left corner of the object's bounding box as returned by the getBounds. The scale of the coordinate - system is identical to that of the screen coordiante system. + system is identical to that of the screen coordinate system. @return If there is one child which is rendered so that its bounding box diff --git a/main/offapi/com/sun/star/document/ExtendedTypeDetectionFactory.idl b/main/offapi/com/sun/star/document/ExtendedTypeDetectionFactory.idl index c5bc07fc238..11fdc7797cf 100644 --- a/main/offapi/com/sun/star/document/ExtendedTypeDetectionFactory.idl +++ b/main/offapi/com/sun/star/document/ExtendedTypeDetectionFactory.idl @@ -59,7 +59,7 @@ published service ExtendedTypeDetectionFactory /** factory interface to create and initialize extended type detection components.

    - A detection component must be specified by its uno implementation name and will be crated then. + A detection component must be specified by its uno implementation name and will be created then. Every new created component can be initialized with its own configuration data and may given optional arguments of the corresponding createInstanceWithArguments() request. To do so the service must support the optional interface XInitialization. diff --git a/main/offapi/com/sun/star/drawing/AccessibleDrawDocumentView.idl b/main/offapi/com/sun/star/drawing/AccessibleDrawDocumentView.idl index 3a4b7e6d957..51ec92beb9a 100644 --- a/main/offapi/com/sun/star/drawing/AccessibleDrawDocumentView.idl +++ b/main/offapi/com/sun/star/drawing/AccessibleDrawDocumentView.idl @@ -52,7 +52,7 @@ module com { module sun { module star { module drawing {

  • Only the current draw page and only the visible shapes are accessible. To switch to another page or to access shapes that lie outside the currently visible area, the user has to issue these requests - manually or programmatically through the usual chanels, e.g. pressing + manually or programmatically through the usual channels, e.g. pressing keys or selecting menu entries.
  • The hierarchy exposed through the XAccessibleContext diff --git a/main/offapi/com/sun/star/embed/EmbedMisc.idl b/main/offapi/com/sun/star/embed/EmbedMisc.idl index 144ba3c024e..e693b90e53d 100644 --- a/main/offapi/com/sun/star/embed/EmbedMisc.idl +++ b/main/offapi/com/sun/star/embed/EmbedMisc.idl @@ -29,7 +29,7 @@ module com { module sun { module star { module embed { //============================================================================ -/** The constant set contains flags describing miscellaneous charactetistics +/** The constant set contains flags describing miscellaneous characteristics of embedded objects.

    diff --git a/main/offapi/com/sun/star/embed/Storage.idl b/main/offapi/com/sun/star/embed/Storage.idl index 627ec0a9ed5..cb8ef9cbbe0 100644 --- a/main/offapi/com/sun/star/embed/Storage.idl +++ b/main/offapi/com/sun/star/embed/Storage.idl @@ -126,7 +126,7 @@ published service Storage

    - If the child stream is an encrypted one a corect + If the child stream is an encrypted one a correct common storage password should be set through XEncryptionProtectedSource interface to this storage or to a one of storages in parent @@ -177,7 +177,7 @@ published service Storage

    - If the child stream is an encrypted one a corect + If the child stream is an encrypted one a correct common storage password should be set through XEncryptionProtectedSource interface to this storage or to a one of storages in parent diff --git a/main/offapi/com/sun/star/embed/XStorageRawAccess.idl b/main/offapi/com/sun/star/embed/XStorageRawAccess.idl index c797375645f..b70b96937be 100644 --- a/main/offapi/com/sun/star/embed/XStorageRawAccess.idl +++ b/main/offapi/com/sun/star/embed/XStorageRawAccess.idl @@ -82,7 +82,7 @@ published interface XStorageRawAccess

    This method returns a stream from the package as it is stored there, - without any decompression/decription and etc. This method can be + without any decompression/description and etc. This method can be helpful to check file consistency, for example by signing.

    diff --git a/main/offapi/com/sun/star/form/inspection/EditPropertyHandler.idl b/main/offapi/com/sun/star/form/inspection/EditPropertyHandler.idl index 793c7553c01..f09f76a2a3c 100644 --- a/main/offapi/com/sun/star/form/inspection/EditPropertyHandler.idl +++ b/main/offapi/com/sun/star/form/inspection/EditPropertyHandler.idl @@ -35,7 +35,7 @@ module com { module sun { module star { module form { module inspection { //============================================================================= /** implements a property handler for use with an ObjectInspector - which provides convinience wrappers for some properties existing at a form component + which provides convenience wrappers for some properties existing at a form component derived from UnoControlEditModel.

    First, the handler supersedes the HScroll and the VScroll properties of a UnoControlEditModel diff --git a/main/offapi/com/sun/star/form/validation/XValidator.idl b/main/offapi/com/sun/star/form/validation/XValidator.idl index 1d747b35ab5..1ad41a5e809 100644 --- a/main/offapi/com/sun/star/form/validation/XValidator.idl +++ b/main/offapi/com/sun/star/form/validation/XValidator.idl @@ -76,7 +76,7 @@ interface XValidator : com::sun::star::uno::XInterface

    Usually, an XValidatable instance will also add itself as validity listener, as soon as the validator is introduced to it.

    -

    Implementations which do not support dynamic validity contraints should simply ignore this +

    Implementations which do not support dynamic validity constraints should simply ignore this call.

    @throws NullPointerException diff --git a/main/offapi/com/sun/star/rendering/ColorComponentTag.idl b/main/offapi/com/sun/star/rendering/ColorComponentTag.idl index 0a4157124cb..6ca10c00ea8 100644 --- a/main/offapi/com/sun/star/rendering/ColorComponentTag.idl +++ b/main/offapi/com/sun/star/rendering/ColorComponentTag.idl @@ -27,7 +27,7 @@ module com { module sun { module star { module rendering { /** A collection of tags for the individual components of a color.

    - Color components usually corrspond to physical attributes like the + Color components usually correspond to physical attributes like the amount of red colorant contained in an output color. This constant field enumerates the most common ones. diff --git a/main/offapi/com/sun/star/rendering/XAnimation.idl b/main/offapi/com/sun/star/rendering/XAnimation.idl index a376f58e63c..3b8e66fbf20 100644 --- a/main/offapi/com/sun/star/rendering/XAnimation.idl +++ b/main/offapi/com/sun/star/rendering/XAnimation.idl @@ -63,7 +63,7 @@ published interface XAnimation : ::com::sun::star::uno::XInterface Note that it is perfectly legal to e.g. map t in a nonlinear fashion to internal frames, for example to achieve - acceleration or decceleration effects. It is required that the + acceleration or deceleration effects. It is required that the render method has const semantics, i.e. when called with the same parameter set, identical output must be generated. This is because e.g. a Sprite might decide arbitrarily to render an diff --git a/main/offapi/com/sun/star/sdbc/RowSet.idl b/main/offapi/com/sun/star/sdbc/RowSet.idl index ccceec74207..3aabcd08cbb 100644 --- a/main/offapi/com/sun/star/sdbc/RowSet.idl +++ b/main/offapi/com/sun/star/sdbc/RowSet.idl @@ -57,7 +57,7 @@

    On the one hand, a RowSet can be used as a short cut to retrieve the data of a DataSource. You don't have to establish a connection, create a Statement, and then create - a ResultSet. On the other hand, a rowset can be used to implement capabilties for + a ResultSet. On the other hand, a rowset can be used to implement capabilities for a result set, which are not supported by a driver result set, like caching strategies or update capabilities.

    diff --git a/main/offapi/com/sun/star/text/AccessibleTextGraphicObject.idl b/main/offapi/com/sun/star/text/AccessibleTextGraphicObject.idl index faf492f7bbc..db1025ce457 100644 --- a/main/offapi/com/sun/star/text/AccessibleTextGraphicObject.idl +++ b/main/offapi/com/sun/star/text/AccessibleTextGraphicObject.idl @@ -61,7 +61,7 @@ published service AccessibleTextGraphicObject accessible view of a paragraph if the graphic is bound as character, and the accessible view of the document (or of a page in the page preview) in any other case. -
  • There are no chidren returned by +
  • There are no children returned by XAccessibleContext::getAccessibleChild.
  • The role is Use this interface to access user interface controls supported by the implementing service. The supported controls, control properties and the appropriate values are documented in the - decription of the implementing service.

    + description of the implementing service.

    @see com::sun::star::ui::dialogs::FilePicker @see com::sun::star::ui::dialogs::FilePicker diff --git a/main/oovbaapi/ooo/vba/msforms/XShape.idl b/main/oovbaapi/ooo/vba/msforms/XShape.idl index a6b34bc8259..12c21ce5918 100644 --- a/main/oovbaapi/ooo/vba/msforms/XShape.idl +++ b/main/oovbaapi/ooo/vba/msforms/XShape.idl @@ -70,7 +70,7 @@ interface XShape : ooo::vba::XHelperInterface void Select( [in] /*Optional*/ any Replace ); void ScaleHeight( [in] double Factor, [in] boolean RelativeToOriginalSize, [in] long Scale ); void ScaleWidth( [in] double Factor, [in] boolean RelativeToOriginalSize, [in] long Scale ); - any ShapeRange( [in] any index ); // only here for convience + any ShapeRange( [in] any index ); // only here for convenience }; }; }; }; diff --git a/main/oox/inc/oox/vml/vmlformatting.hxx b/main/oox/inc/oox/vml/vmlformatting.hxx index dfee36d13a0..84bc8152294 100644 --- a/main/oox/inc/oox/vml/vmlformatting.hxx +++ b/main/oox/inc/oox/vml/vmlformatting.hxx @@ -121,7 +121,7 @@ public: @param roVmlOpacity The opacity of the color. If existing, this should be a floating-point value in the range [0.0;1.0]. - @param nDefaultRgb Deafult RGB color used if the parameter roVmlColor + @param nDefaultRgb Default RGB color used if the parameter roVmlColor is empty. @param nPrimaryRgb If set to something else than API_RGB_TRANSPARENT, diff --git a/main/oox/inc/oox/xls/pivotcachebuffer.hxx b/main/oox/inc/oox/xls/pivotcachebuffer.hxx index 961ba683cdf..061668f4dea 100644 --- a/main/oox/inc/oox/xls/pivotcachebuffer.hxx +++ b/main/oox/inc/oox/xls/pivotcachebuffer.hxx @@ -168,7 +168,7 @@ struct PCSharedItemsModel bool mbHasMixed; /// True = has [(string|bool|error) and (number|date)] or (number and date). bool mbIsNumeric; /// True = has numeric item(s), maybe other types except date. bool mbIsInteger; /// True = has numeric item(s) with only integers, maybe other types except date. - bool mbHasLongText; /// True = contains strings with >255 charascters. + bool mbHasLongText; /// True = contains strings with >255 characters. bool mbHasLongIndexes; /// True = indexes to shared items are 16-bit (BIFF only). explicit PCSharedItemsModel(); diff --git a/main/package/source/xstor/owriteablestream.cxx b/main/package/source/xstor/owriteablestream.cxx index 86270c3fa8b..bb0acda4aca 100644 --- a/main/package/source/xstor/owriteablestream.cxx +++ b/main/package/source/xstor/owriteablestream.cxx @@ -1950,7 +1950,7 @@ void OWriteStream::CopyToStreamInternally_Impl( const uno::Reference< io::XStrea m_pImpl->AddLog( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( OSL_LOG_PREFIX "Quiet exception" ) ) ); // TODO: set the stoream in invalid state or dispose - OSL_ENSURE( sal_False, "The stream become invalid during copiing!\n" ); + OSL_ENSURE( sal_False, "The stream became invalid during copying!\n" ); throw uno::RuntimeException(); } @@ -2286,7 +2286,7 @@ void SAL_CALL OWriteStream::closeInput( ) if ( !m_bInitOnDemand && ( m_bInStreamDisconnected || !m_xInStream.is() ) ) throw io::NotConnectedException(); - // the input part of the stream stays open for internal purposes ( to allow reading during copiing ) + // the input part of the stream stays open for internal purposes ( to allow reading during copying ) // since it can not be reopened until output part is closed, it will be closed with output part. m_bInStreamDisconnected = sal_True; // m_xInStream->closeInput(); diff --git a/main/qadevOOo/java/OOoRunner/src/main/java/helper/APIDescGetter.java b/main/qadevOOo/java/OOoRunner/src/main/java/helper/APIDescGetter.java index 74d390b3c79..6e2d50ca87e 100644 --- a/main/qadevOOo/java/OOoRunner/src/main/java/helper/APIDescGetter.java +++ b/main/qadevOOo/java/OOoRunner/src/main/java/helper/APIDescGetter.java @@ -55,7 +55,7 @@ * lists all known module tests
    *
    * -sce SCENARIO_FILE
    - * A scenario file is a property file which could cotain -o and -p properties
    + * A scenario file is a property file which could contain -o and -p properties
    *
    * -sce sw.SwXBodyText,sw.SwXBookmark
    * runs the module test of Sw.SwXBodyText and sw.SwXBookmark
    diff --git a/main/qadevOOo/java/OOoRunner/src/main/java/helper/StreamSimulator.java b/main/qadevOOo/java/OOoRunner/src/main/java/helper/StreamSimulator.java index ccfef334bea..889cd4d76f8 100644 --- a/main/qadevOOo/java/OOoRunner/src/main/java/helper/StreamSimulator.java +++ b/main/qadevOOo/java/OOoRunner/src/main/java/helper/StreamSimulator.java @@ -42,7 +42,7 @@ public class StreamSimulator implements com.sun.star.io.XInputStream , { //_________________________________ /** - * @member m_sFileName name of the corrsponding file on disk + * @member m_sFileName name of the corresponding file on disk * @member m_xInStream the internal input stream for reading * @member m_xOutStream the internal input stream for writing * @member m_xSeek points at runtime to m_xInStream or m_xOutStream and make it seekable diff --git a/main/qadevOOo/java/OOoRunner/src/main/java/ifc/bridge/_XBridgeFactory.java b/main/qadevOOo/java/OOoRunner/src/main/java/ifc/bridge/_XBridgeFactory.java index 343a12da5df..e1ad154255e 100644 --- a/main/qadevOOo/java/OOoRunner/src/main/java/ifc/bridge/_XBridgeFactory.java +++ b/main/qadevOOo/java/OOoRunner/src/main/java/ifc/bridge/_XBridgeFactory.java @@ -137,7 +137,7 @@ public void _getExistingBridges() { /** * First creates connection with StarOffice process, using environment - * property 'CNCSTR'. Then cerates bridge with unique name + * property 'CNCSTR'. Then creates bridge with unique name * using protocol specified in environment as 'PROTOCOL' * property. After that bridge is disposed.

    * Has OK status if value returned is not null diff --git a/main/qadevOOo/java/OOoRunner/src/main/java/ifc/container/_XEnumerationAccess.java b/main/qadevOOo/java/OOoRunner/src/main/java/ifc/container/_XEnumerationAccess.java index e3863b8d898..89905ccab2e 100644 --- a/main/qadevOOo/java/OOoRunner/src/main/java/ifc/container/_XEnumerationAccess.java +++ b/main/qadevOOo/java/OOoRunner/src/main/java/ifc/container/_XEnumerationAccess.java @@ -42,7 +42,7 @@ public class _XEnumerationAccess extends MultiMethodTest{ * Has OK status if the method returns not null value.

    */ public void _createEnumeration(){ - log.println( "createing Enumeration" ); + log.println( "creating Enumeration" ); XEnumeration oEnum = oObj.createEnumeration(); tRes.tested( "createEnumeration()", oEnum != null ); return; diff --git a/main/qadevOOo/java/OOoRunner/src/main/java/ifc/frame/_XDispatchProviderInterception.java b/main/qadevOOo/java/OOoRunner/src/main/java/ifc/frame/_XDispatchProviderInterception.java index e6e75bf240c..f98330d23c7 100644 --- a/main/qadevOOo/java/OOoRunner/src/main/java/ifc/frame/_XDispatchProviderInterception.java +++ b/main/qadevOOo/java/OOoRunner/src/main/java/ifc/frame/_XDispatchProviderInterception.java @@ -92,7 +92,7 @@ public XDispatch[] queryDispatches(DispatchDescriptor[] desc) { TestInterceptor interceptor = null ; /** - * Cereates new interceptor implementation. + * Creates new interceptor implementation. */ public void before() { interceptor = new TestInterceptor(log) ; diff --git a/main/qadevOOo/java/OOoRunner/src/main/java/lib/SimpleStatus.java b/main/qadevOOo/java/OOoRunner/src/main/java/lib/SimpleStatus.java index 4ecf97f0db1..6d2f4b1883c 100644 --- a/main/qadevOOo/java/OOoRunner/src/main/java/lib/SimpleStatus.java +++ b/main/qadevOOo/java/OOoRunner/src/main/java/lib/SimpleStatus.java @@ -32,7 +32,7 @@ class SimpleStatus { /* Run states. */ /** - * The constatnt represents PASSED runtime state. + * The constant represents PASSED runtime state. */ public final static int PASSED = 0; @@ -134,7 +134,7 @@ public String getRunStateString() { } /** - * Get the ressult: passed or failed. + * Get the result: passed or failed. */ public String getStateString() { if (state) diff --git a/main/qadevOOo/java/OOoRunner/src/main/java/mod/_defreg/NestedRegistry.java b/main/qadevOOo/java/OOoRunner/src/main/java/mod/_defreg/NestedRegistry.java index 33e7eee469b..e6c9a444030 100644 --- a/main/qadevOOo/java/OOoRunner/src/main/java/mod/_defreg/NestedRegistry.java +++ b/main/qadevOOo/java/OOoRunner/src/main/java/mod/_defreg/NestedRegistry.java @@ -83,7 +83,7 @@ public synchronized void disposeTestEnvironment( TestEnvironment tEnv, * Creates a temporary copy of file, which is deleted when VM exits. * @param src Source file path. * @param dst Destination file path. - * @throws java.io.IOException If any problems occur during copiing. + * @throws java.io.IOException If any problems occur during copying. */ protected void copyFile(String src, String dst, PrintWriter log) throws java.io.IOException { diff --git a/main/qadevOOo/java/OOoRunner/src/main/java/mod/_nestedreg.uno/NestedRegistry.java b/main/qadevOOo/java/OOoRunner/src/main/java/mod/_nestedreg.uno/NestedRegistry.java index 541ad003a8d..f7b1450e0b0 100644 --- a/main/qadevOOo/java/OOoRunner/src/main/java/mod/_nestedreg.uno/NestedRegistry.java +++ b/main/qadevOOo/java/OOoRunner/src/main/java/mod/_nestedreg.uno/NestedRegistry.java @@ -81,7 +81,7 @@ public synchronized void disposeTestEnvironment( TestEnvironment tEnv, * Creates a temporary copy of file, which is deleted when VM exits. * @param src Source file path. * @param dst Destination file path. - * @throws java.io.IOException If any problems occur during copiing. + * @throws java.io.IOException If any problems occur during copying. */ protected void copyFile(String src, String dst, PrintWriter log) throws java.io.IOException { 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 f56c145d2d0..2b739b7eede 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 @@ -134,7 +134,7 @@ protected TestEnvironment createTestEnvironment(TestParameters tParam, PrintWrit xWindow = (XWindow) UnoRuntime.queryInterface(XWindow.class, xWindowPeer); } catch (StatusException e){ - throw new StatusException("Coud not create test object", e); + throw new StatusException("Could not create test object", e); } XInterface oFrame = (XInterface) xMSF.createInstance("com.sun.star.frame.Frame"); diff --git a/main/qadevOOo/java/OOoRunner/src/main/java/mod/_sc/ScAccessibleCell.java b/main/qadevOOo/java/OOoRunner/src/main/java/mod/_sc/ScAccessibleCell.java index 04b7dfa9101..495026d4302 100644 --- a/main/qadevOOo/java/OOoRunner/src/main/java/mod/_sc/ScAccessibleCell.java +++ b/main/qadevOOo/java/OOoRunner/src/main/java/mod/_sc/ScAccessibleCell.java @@ -145,19 +145,19 @@ protected TestEnvironment createTestEnvironment( XPropertySet.class,oIndexAccess.getByIndex(1)); column.setPropertyValue("OptimalWidth", new Boolean(true)); } catch(com.sun.star.lang.WrappedTargetException e) { - log.println("Exception ceating relation :"); + log.println("Exception creating relation :"); e.printStackTrace(log); } catch(com.sun.star.lang.IndexOutOfBoundsException e) { - log.println("Exception ceating relation :"); + log.println("Exception creating relation :"); e.printStackTrace(log); } catch(com.sun.star.beans.UnknownPropertyException e) { - log.println("Exception ceating relation :"); + log.println("Exception creating relation :"); e.printStackTrace(log); } catch(com.sun.star.beans.PropertyVetoException e) { - log.println("Exception ceating relation :"); + log.println("Exception creating relation :"); e.printStackTrace(log); } catch(com.sun.star.lang.IllegalArgumentException e) { - log.println("Exception ceating relation :"); + log.println("Exception creating relation :"); e.printStackTrace(log); } diff --git a/main/qadevOOo/java/OOoRunner/src/main/java/mod/_sc/ScAccessibleDocumentPagePreview.java b/main/qadevOOo/java/OOoRunner/src/main/java/mod/_sc/ScAccessibleDocumentPagePreview.java index 65a232ae247..30f26a3013a 100644 --- a/main/qadevOOo/java/OOoRunner/src/main/java/mod/_sc/ScAccessibleDocumentPagePreview.java +++ b/main/qadevOOo/java/OOoRunner/src/main/java/mod/_sc/ScAccessibleDocumentPagePreview.java @@ -126,10 +126,10 @@ protected TestEnvironment createTestEnvironment( xCell = oSheet.getCellByPosition(0, 0) ; xCell.setFormula("ScAccessibleDocumentPagePreview"); } catch(com.sun.star.lang.WrappedTargetException e) { - log.println("Exception ceating relation :"); + log.println("Exception creating relation :"); e.printStackTrace(log); } catch(com.sun.star.lang.IndexOutOfBoundsException e) { - log.println("Exception ceating relation :"); + log.println("Exception creating relation :"); e.printStackTrace(log); } diff --git a/main/qadevOOo/java/OOoRunner/src/main/java/mod/_sc/ScAccessiblePageHeader.java b/main/qadevOOo/java/OOoRunner/src/main/java/mod/_sc/ScAccessiblePageHeader.java index a2710c1783e..fb7c07d7a73 100644 --- a/main/qadevOOo/java/OOoRunner/src/main/java/mod/_sc/ScAccessiblePageHeader.java +++ b/main/qadevOOo/java/OOoRunner/src/main/java/mod/_sc/ScAccessiblePageHeader.java @@ -113,10 +113,10 @@ protected TestEnvironment createTestEnvironment( xCell = oSheet.getCellByPosition(0, 0) ; xCell.setFormula("ScAccessiblePageHeader"); } catch(com.sun.star.lang.WrappedTargetException e) { - log.println("Exception ceating relation :"); + log.println("Exception creating relation :"); e.printStackTrace(log); } catch(com.sun.star.lang.IndexOutOfBoundsException e) { - log.println("Exception ceating relation :"); + log.println("Exception creating relation :"); e.printStackTrace(log); } diff --git a/main/qadevOOo/java/OOoRunner/src/main/java/mod/_sc/ScAccessiblePageHeaderArea.java b/main/qadevOOo/java/OOoRunner/src/main/java/mod/_sc/ScAccessiblePageHeaderArea.java index 853ca8ba1fc..539af2772a9 100644 --- a/main/qadevOOo/java/OOoRunner/src/main/java/mod/_sc/ScAccessiblePageHeaderArea.java +++ b/main/qadevOOo/java/OOoRunner/src/main/java/mod/_sc/ScAccessiblePageHeaderArea.java @@ -105,13 +105,13 @@ protected TestEnvironment createTestEnvironment( xCell = oSheet.getCellByPosition(0, 0) ; xCell.setFormula("ScAccessiblePageHeaderArea"); } catch(com.sun.star.lang.WrappedTargetException e) { - log.println("Exception ceating relation :"); + log.println("Exception creating relation :"); e.printStackTrace(log); } catch(com.sun.star.lang.IndexOutOfBoundsException e) { - log.println("Exception ceating relation :"); + log.println("Exception creating relation :"); e.printStackTrace(log); } catch(com.sun.star.lang.IllegalArgumentException e) { - log.println("Exception ceating relation :"); + log.println("Exception creating relation :"); e.printStackTrace(log); } diff --git a/main/qadevOOo/java/OOoRunner/src/main/java/mod/_sc/ScAccessibleSpreadsheet.java b/main/qadevOOo/java/OOoRunner/src/main/java/mod/_sc/ScAccessibleSpreadsheet.java index 0bab5fd375d..93e641663f1 100644 --- a/main/qadevOOo/java/OOoRunner/src/main/java/mod/_sc/ScAccessibleSpreadsheet.java +++ b/main/qadevOOo/java/OOoRunner/src/main/java/mod/_sc/ScAccessibleSpreadsheet.java @@ -138,13 +138,13 @@ protected void cleanup( TestParameters tParam, PrintWriter log ) { xCell = oSheet.getCellByPosition(5, 5) ; xCell.setFormula(text); } catch(com.sun.star.lang.WrappedTargetException e) { - log.println("Exception ceating relation :"); + log.println("Exception creating relation :"); e.printStackTrace(log); } catch(com.sun.star.lang.IndexOutOfBoundsException e) { - log.println("Exception ceating relation :"); + log.println("Exception creating relation :"); e.printStackTrace(log); } catch(com.sun.star.lang.IllegalArgumentException e) { - log.println("Exception ceating relation :"); + log.println("Exception creating relation :"); e.printStackTrace(log); } diff --git a/main/qadevOOo/java/OOoRunner/src/main/java/mod/_sc/ScIndexEnumeration_TableColumnsEnumeration.java b/main/qadevOOo/java/OOoRunner/src/main/java/mod/_sc/ScIndexEnumeration_TableColumnsEnumeration.java index 62c0e9795aa..00c0f10cd11 100644 --- a/main/qadevOOo/java/OOoRunner/src/main/java/mod/_sc/ScIndexEnumeration_TableColumnsEnumeration.java +++ b/main/qadevOOo/java/OOoRunner/src/main/java/mod/_sc/ScIndexEnumeration_TableColumnsEnumeration.java @@ -81,7 +81,7 @@ protected synchronized TestEnvironment createTestEnvironment(TestParameters Para // creation of the testobject here // first we write what we are intend to do to log file - log.println("craeting a test environment"); + log.println("creating a test environment"); log.println("getting column"); XSpreadsheets xSpreadsheets = (XSpreadsheets)xSheetDoc.getSheets(); diff --git a/main/qadevOOo/java/OOoRunner/src/main/java/mod/_sc/ScModelObj.java b/main/qadevOOo/java/OOoRunner/src/main/java/mod/_sc/ScModelObj.java index 7d499118014..689efee26b6 100644 --- a/main/qadevOOo/java/OOoRunner/src/main/java/mod/_sc/ScModelObj.java +++ b/main/qadevOOo/java/OOoRunner/src/main/java/mod/_sc/ScModelObj.java @@ -123,7 +123,7 @@ protected synchronized TestEnvironment createTestEnvironment(TestParameters Para PrintWriter log) { // creation of the testobject here // first we write what we are intend to do to log file - log.println("craeting a test environment"); + log.println("creating a test environment"); // get a soffice factory object SOfficeFactory SOF = SOfficeFactory.getFactory( diff --git a/main/qadevOOo/java/OOoRunner/src/main/java/mod/_sc/ScTableColumnsObj.java b/main/qadevOOo/java/OOoRunner/src/main/java/mod/_sc/ScTableColumnsObj.java index f03970a84cf..af4c4ce1762 100644 --- a/main/qadevOOo/java/OOoRunner/src/main/java/mod/_sc/ScTableColumnsObj.java +++ b/main/qadevOOo/java/OOoRunner/src/main/java/mod/_sc/ScTableColumnsObj.java @@ -110,7 +110,7 @@ protected synchronized TestEnvironment createTestEnvironment(TestParameters Para // creation of the testobject here // first we write what we are intend to do to log file - log.println("craeting a test environment"); + log.println("creating a test environment"); log.println("getting column"); XSpreadsheets xSpreadsheets = (XSpreadsheets)xSheetDoc.getSheets(); diff --git a/main/qadevOOo/java/OOoRunner/src/main/java/mod/_simplereg.uno/SimpleRegistry.java b/main/qadevOOo/java/OOoRunner/src/main/java/mod/_simplereg.uno/SimpleRegistry.java index 6281bb8af56..cf86c5cb5d0 100644 --- a/main/qadevOOo/java/OOoRunner/src/main/java/mod/_simplereg.uno/SimpleRegistry.java +++ b/main/qadevOOo/java/OOoRunner/src/main/java/mod/_simplereg.uno/SimpleRegistry.java @@ -59,7 +59,7 @@ public class SimpleRegistry extends TestCase { * @param src Source file path. * @param dst Destination file path. * @param log The log writer. - * @throws java.io.IOException If any problems occur during copiing. + * @throws java.io.IOException If any problems occur during copying. */ protected void copyFile(String src, String dst, PrintWriter log) throws java.io.IOException { diff --git a/main/qadevOOo/java/OOoRunner/src/main/java/mod/_simreg/SimpleRegistry.java b/main/qadevOOo/java/OOoRunner/src/main/java/mod/_simreg/SimpleRegistry.java index ce0ffc954ea..6928c9e742c 100644 --- a/main/qadevOOo/java/OOoRunner/src/main/java/mod/_simreg/SimpleRegistry.java +++ b/main/qadevOOo/java/OOoRunner/src/main/java/mod/_simreg/SimpleRegistry.java @@ -62,7 +62,7 @@ public class SimpleRegistry extends TestCase { * @param src Source file path. * @param dst Destination file path. * @param log The log writer. - * @throws java.io.IOException If any problems occur during copiing. + * @throws java.io.IOException If any problems occur during copying. */ protected void copyFile(String src, String dst, PrintWriter log) throws java.io.IOException { diff --git a/main/qadevOOo/java/OOoRunner/src/main/java/mod/_stm/DataInputStream.java b/main/qadevOOo/java/OOoRunner/src/main/java/mod/_stm/DataInputStream.java index 49f2b327c3a..f249afaa94f 100644 --- a/main/qadevOOo/java/OOoRunner/src/main/java/mod/_stm/DataInputStream.java +++ b/main/qadevOOo/java/OOoRunner/src/main/java/mod/_stm/DataInputStream.java @@ -149,7 +149,7 @@ public TestEnvironment createTestEnvironment( byte[] byteData = new byte[] { 1, 2, 3, 4, 5, 6, 7, 8 } ; - // createing a connectable object for XConnectable interface + // creating a connectable object for XConnectable interface XInterface xConnect = null; try { xConnect = (XInterface)xMSF.createInstance( diff --git a/main/qadevOOo/java/OOoRunner/src/main/java/mod/_streams.uno/DataInputStream.java b/main/qadevOOo/java/OOoRunner/src/main/java/mod/_streams.uno/DataInputStream.java index f8351c5078b..b98a98635e5 100644 --- a/main/qadevOOo/java/OOoRunner/src/main/java/mod/_streams.uno/DataInputStream.java +++ b/main/qadevOOo/java/OOoRunner/src/main/java/mod/_streams.uno/DataInputStream.java @@ -146,7 +146,7 @@ protected TestEnvironment createTestEnvironment(TestParameters Param, PrintWrite byte[] byteData = new byte[] { 1, 2, 3, 4, 5, 6, 7, 8 } ; - // createing a connectable object for XConnectable interface + // creating a connectable object for XConnectable interface XInterface xConnect = null; try { xConnect = (XInterface)xMSF.createInstance( diff --git a/main/qadevOOo/java/OOoRunner/src/main/java/mod/_sw/XMLStylesExporter.java b/main/qadevOOo/java/OOoRunner/src/main/java/mod/_sw/XMLStylesExporter.java index 01461ba8eee..83807e1cae4 100644 --- a/main/qadevOOo/java/OOoRunner/src/main/java/mod/_sw/XMLStylesExporter.java +++ b/main/qadevOOo/java/OOoRunner/src/main/java/mod/_sw/XMLStylesExporter.java @@ -134,7 +134,7 @@ protected void cleanup( TestParameters tParam, PrintWriter log ) { throw new StatusException("Can't create component.", e) ; } - // Cheching Head Tag existence and that property has changed + // Checking Head Tag existence and that property has changed filter.addTag(new XMLTools.Tag ("office:document-styles")); filter.addTag(new XMLTools.Tag ("text:footnotes-configuration", "style:num-prefix","New Property")) ; diff --git a/main/qadevOOo/java/OOoRunner/src/main/java/share/CwsDataExchange.java b/main/qadevOOo/java/OOoRunner/src/main/java/share/CwsDataExchange.java index 7311cd09533..f018c104a8c 100644 --- a/main/qadevOOo/java/OOoRunner/src/main/java/share/CwsDataExchange.java +++ b/main/qadevOOo/java/OOoRunner/src/main/java/share/CwsDataExchange.java @@ -32,13 +32,13 @@ public interface CwsDataExchange { /** - * Retunrs all module names which are added to the specified childworkspace + * Returns all module names which are added to the specified childworkspace * @return a String array of all added modules */ public ArrayList getModules(); /** - * Set the test status of cws related UnoAPI tests to the EIS dabase + * Set the test status of cws related UnoAPI tests to the EIS database * @param status the status of the UnoAPI test */ public void setUnoApiCwsStatus(boolean status); diff --git a/main/registry/inc/registry/reflread.hxx b/main/registry/inc/registry/reflread.hxx index b967586fc56..1aff3edc191 100644 --- a/main/registry/inc/registry/reflread.hxx +++ b/main/registry/inc/registry/reflread.hxx @@ -118,7 +118,7 @@ public: sal_uInt32 bufferLen, sal_Bool copyData); - /// Copy constructcor + /// Copy constructor inline RegistryTypeReader(const RegistryTypeReader& toCopy); /// Destructor. The Destructor frees the data block if the copyData flag was TRUE. diff --git a/main/registry/inc/registry/reflwrit.hxx b/main/registry/inc/registry/reflwrit.hxx index b5b1f524c02..dd64b5e3a9f 100644 --- a/main/registry/inc/registry/reflwrit.hxx +++ b/main/registry/inc/registry/reflwrit.hxx @@ -100,7 +100,7 @@ public: sal_uInt16 methodCount, sal_uInt16 referenceCount); - // Copy constructcor + // Copy constructor inline RegistryTypeWriter(const RegistryTypeWriter& toCopy); /** Destructor. The Destructor frees the internal data block. diff --git a/main/registry/inc/registry/registry.hxx b/main/registry/inc/registry/registry.hxx index 7653cc650da..05eed5638eb 100644 --- a/main/registry/inc/registry/registry.hxx +++ b/main/registry/inc/registry/registry.hxx @@ -104,7 +104,7 @@ public: */ inline Registry(); - /// Copy constructcor + /// Copy constructor inline Registry(const Registry& toCopy); /// Destructor. The Destructor close the registry if it is open. diff --git a/main/sal/inc/rtl/strbuf.h b/main/sal/inc/rtl/strbuf.h index 80fe5ebef72..94dc22f8fac 100644 --- a/main/sal/inc/rtl/strbuf.h +++ b/main/sal/inc/rtl/strbuf.h @@ -79,7 +79,7 @@ sal_Int32 SAL_CALL rtl_stringbuffer_newFromStringBuffer( rtl_String ** newStr, If the minimumCapacity argument is nonpositive, this method takes no action and simply returns. - @param capacity in: old capicity, out: new capacity. + @param capacity in: old capacity, out: new capacity. @param minimumCapacity the minimum desired capacity. */ void SAL_CALL rtl_stringbuffer_ensureCapacity( /*inout*/rtl_String ** This, diff --git a/main/sal/inc/rtl/string.h b/main/sal/inc/rtl/string.h index 6063e545250..d2c492934ec 100644 --- a/main/sal/inc/rtl/string.h +++ b/main/sal/inc/rtl/string.h @@ -924,7 +924,7 @@ void SAL_CALL rtl_string_newConcat( rtl_String ** newStr, rtl_String * left, rtl the length of str, inclusive. @param count - the number of charcters to remove. Must not be negative, and the sum of + the number of characters to remove. Must not be negative, and the sum of index and count must not exceed the length of str. @param subStr diff --git a/main/sal/inc/rtl/ustrbuf.h b/main/sal/inc/rtl/ustrbuf.h index 04347e979ec..8353bf6a14c 100644 --- a/main/sal/inc/rtl/ustrbuf.h +++ b/main/sal/inc/rtl/ustrbuf.h @@ -79,7 +79,7 @@ sal_Int32 SAL_CALL rtl_uStringbuffer_newFromStringBuffer( rtl_uString ** newStr, If the minimumCapacity argument is nonpositive, this method takes no action and simply returns. - @param capacity in: old capicity, out: new capacity. + @param capacity in: old capacity, out: new capacity. @param minimumCapacity the minimum desired capacity. */ void SAL_CALL rtl_uStringbuffer_ensureCapacity( /*inout*/rtl_uString ** This, diff --git a/main/sal/inc/rtl/ustring.h b/main/sal/inc/rtl/ustring.h index 8081eaa8a5e..ab55f14bb01 100644 --- a/main/sal/inc/rtl/ustring.h +++ b/main/sal/inc/rtl/ustring.h @@ -1286,7 +1286,7 @@ void SAL_CALL rtl_uString_newConcat( rtl_uString ** newStr, rtl_uString * left, the length of str, inclusive. @param count - the number of charcters to remove. Must not be negative, and the sum of + the number of characters to remove. Must not be negative, and the sum of index and count must not exceed the length of str. @param subStr diff --git a/main/sal/inc/rtl/ustring.hxx b/main/sal/inc/rtl/ustring.hxx index 0fe3525321e..1c0f5494034 100644 --- a/main/sal/inc/rtl/ustring.hxx +++ b/main/sal/inc/rtl/ustring.hxx @@ -996,7 +996,7 @@ public: @param index the replacing index in str. The index must be greater or equal as 0 and less or equal as the length of the string. - @param count the count of charcters that will replaced + @param count the count of characters that will replaced The count must be greater or equal as 0 and less or equal as the length of the string minus index. @param newStr the new substring. diff --git a/main/sal/systools/win32/uwinapi/MoveFileExA.cpp b/main/sal/systools/win32/uwinapi/MoveFileExA.cpp index 3becb3fd6f1..461470794e2 100644 --- a/main/sal/systools/win32/uwinapi/MoveFileExA.cpp +++ b/main/sal/systools/win32/uwinapi/MoveFileExA.cpp @@ -47,7 +47,7 @@ IMPLEMENT_THUNK( kernel32, WINDOWS, BOOL, WINAPI, MoveFileExA, ( LPCSTR lpExisti CHAR szBuffer[32767]; // The buffer size must not exceed 32K DWORD dwBufLen = GetPrivateProfileSectionA( RENAME_SECTION, szBuffer, elementsof(szBuffer), WININIT_FILENAME ); - CHAR szRename[MAX_PATH]; // This is enough for at most to times 67 chracters + CHAR szRename[MAX_PATH]; // This is enough for at most to times 67 characters strcpy( szRename, szNewFileNameA ); strcat( szRename, "=" ); strcat( szRename, szExistingFileNameA ); diff --git a/main/sc/qa/complex/calcPreview/ViewForwarder.java b/main/sc/qa/complex/calcPreview/ViewForwarder.java index 66d07569be3..aa2b977e1fc 100644 --- a/main/sc/qa/complex/calcPreview/ViewForwarder.java +++ b/main/sc/qa/complex/calcPreview/ViewForwarder.java @@ -137,13 +137,13 @@ public class ViewForwarder { xCell = oSheet.getCellByPosition(0, 2) ; xCell.setFormula("Cell 2"); } catch(com.sun.star.lang.IllegalArgumentException e) { - System.out.println("Exception ceating relation :"); + System.out.println("Exception creating relation :"); fail(e.getMessage()); } catch(com.sun.star.lang.WrappedTargetException e) { - System.out.println("Exception ceating relation :"); + System.out.println("Exception creating relation :"); fail(e.getMessage()); } catch(com.sun.star.lang.IndexOutOfBoundsException e) { - System.out.println("Exception ceating relation :"); + System.out.println("Exception creating relation :"); fail(e.getMessage()); } @@ -548,13 +548,13 @@ public class ViewForwarder { xCell = oSheet.getCellByPosition(0, 2) ; xCell.setFormula("Cell 2"); } catch(com.sun.star.lang.IllegalArgumentException e) { - System.out.println("Exception ceating relation :"); + System.out.println("Exception creating relation :"); fail(e.getMessage()); } catch(com.sun.star.lang.WrappedTargetException e) { - System.out.println("Exception ceating relation :"); + System.out.println("Exception creating relation :"); fail(e.getMessage()); } catch(com.sun.star.lang.IndexOutOfBoundsException e) { - System.out.println("Exception ceating relation :"); + System.out.println("Exception creating relation :"); fail(e.getMessage()); } diff --git a/main/sc/source/filter/excel/xichart.cxx b/main/sc/source/filter/excel/xichart.cxx index 1a4a5addb94..38b07744a74 100644 --- a/main/sc/source/filter/excel/xichart.cxx +++ b/main/sc/source/filter/excel/xichart.cxx @@ -3600,7 +3600,7 @@ Reference< XCoordinateSystem > XclImpChAxesSet::CreateCoordSystem( Reference< XD { Reference< XCoordinateSystem > xCoordSystem; - /* Try to get existing ccordinate system. For now, all series from primary + /* Try to get existing coordinate system. For now, all series from primary and secondary axes sets are inserted into one coordinate system. Later, this should be changed to use one coordinate system for each axes set. */ Reference< XCoordinateSystemContainer > xCoordSystemCont( xDiagram, UNO_QUERY ); diff --git a/main/sc/source/filter/inc/xehelper.hxx b/main/sc/source/filter/inc/xehelper.hxx index 47e240cffe2..3542bd1cb5c 100644 --- a/main/sc/source/filter/inc/xehelper.hxx +++ b/main/sc/source/filter/inc/xehelper.hxx @@ -204,7 +204,7 @@ public: /** Returns true, if a single HLINK record has been created. */ bool HasLinkRecord() const; - /** Returns the craeted single HLINk record, or an empty reference. */ + /** Returns the created single HLINk record, or an empty reference. */ XclExpHyperlinkRef GetLinkRecord(); /** Returns true, if multiple URLs have been processed. */ diff --git a/main/sc/source/ui/unoobj/appluno.cxx b/main/sc/source/ui/unoobj/appluno.cxx index 70e6a1ed910..28ef322087a 100644 --- a/main/sc/source/ui/unoobj/appluno.cxx +++ b/main/sc/source/ui/unoobj/appluno.cxx @@ -876,7 +876,7 @@ uno::Any SAL_CALL ScFunctionListObj::getByName( const rtl::OUString& aName ) for (sal_uInt16 nIndex=0; nIndexGetFunction(nIndex); - //! Case-insensitiv ??? + //! Case-insensitive ??? if ( pDesc && pDesc->pFuncName && aNameStr == *pDesc->pFuncName ) { uno::Sequence aSeq( SC_FUNCDESC_PROPCOUNT ); @@ -987,7 +987,7 @@ sal_Bool SAL_CALL ScFunctionListObj::hasByName( const rtl::OUString& aName ) for (sal_uInt16 nIndex=0; nIndexGetFunction(nIndex); - //! Case-insensitiv ??? + //! Case-insensitive ??? if ( pDesc && pDesc->pFuncName && aNameStr == *pDesc->pFuncName ) return sal_True; } diff --git a/main/sc/source/ui/unoobj/cellsuno.cxx b/main/sc/source/ui/unoobj/cellsuno.cxx index ff740496357..93417f3d0b2 100644 --- a/main/sc/source/ui/unoobj/cellsuno.cxx +++ b/main/sc/source/ui/unoobj/cellsuno.cxx @@ -5530,7 +5530,7 @@ void SAL_CALL ScCellRangeObj::autoFormat( const rtl::OUString& aName ) for (nIndex=0; nIndexGetName(aCompare); - if ( aCompare == aNameString ) //! Case-insensitiv ??? + if ( aCompare == aNameString ) //! Case-insensitive ??? break; } if (nIndexIsLinked(nTab)) { - //! case-insensitiv ??? + //! case-insensitive ??? String aLinkDoc = pDoc->GetLinkDoc( nTab ); if ( aLinkDoc == aNameStr ) return new ScSheetLinkObj( pDocShell, aNameStr ); @@ -549,7 +549,7 @@ sal_Bool SAL_CALL ScSheetLinksObj::hasByName( const rtl::OUString& aName ) for (SCTAB nTab=0; nTabIsLinked(nTab)) { - //! case-insensitiv ??? + //! case-insensitive ??? String aLinkDoc(pDoc->GetLinkDoc( nTab )); if ( aLinkDoc == aNameStr ) return sal_True; diff --git a/main/sc/source/ui/unoobj/servuno.cxx b/main/sc/source/ui/unoobj/servuno.cxx index a841add15da..91db0ef271e 100644 --- a/main/sc/source/ui/unoobj/servuno.cxx +++ b/main/sc/source/ui/unoobj/servuno.cxx @@ -119,7 +119,7 @@ class ScVbaObjectForCodeNameProvider : public ::cppu::WeakImplHelper1< container aArgs[0] = maWorkbook; aArgs[1] = uno::Any( xModel ); aArgs[2] = uno::Any( rtl::OUString( sSheetName ) ); - // use the convience function + // use the convenience function maCachedObject <<= ooo::vba::createVBAUnoAPIServiceWithArgs( mpDocShell, "ooo.vba.excel.Worksheet", aArgs ); break; } diff --git a/main/sc/source/ui/vba/vbahyperlinks.cxx b/main/sc/source/ui/vba/vbahyperlinks.cxx index 7c54fefc151..48821bebc06 100644 --- a/main/sc/source/ui/vba/vbahyperlinks.cxx +++ b/main/sc/source/ui/vba/vbahyperlinks.cxx @@ -231,7 +231,7 @@ uno::Reference< excel::XHyperlink > SAL_CALL ScVbaHyperlinks::Add( const uno::Any& rAnchor, const uno::Any& rAddress, const uno::Any& rSubAddress, const uno::Any& rScreenTip, const uno::Any& rTextToDisplay ) throw (uno::RuntimeException) { - /* If this Hyperlinks object has been craeted from a Range object, the + /* If this Hyperlinks object has been created from a Range object, the call to Add() is passed to the Hyperlinks object of the parent worksheet. This container will not be modified (it will not contain the inserted hyperlink). diff --git a/main/scripting/source/storage/ScriptElement.cxx b/main/scripting/source/storage/ScriptElement.cxx index 7c2318d399f..c8f51918f1e 100644 --- a/main/scripting/source/storage/ScriptElement.cxx +++ b/main/scripting/source/storage/ScriptElement.cxx @@ -141,7 +141,7 @@ ScriptElement::ScriptElement( ScriptData & sII ) : if( sm_it != sm_itend ) { - // was there a purpose for contstructing this + // was there a purpose for constructing this // XMLElement* subxel = new XMLElement( OUSTR( "file" ) ); xel->addAttribute( OUSTR( "name" ), sm_it->first ); diff --git a/main/sd/inc/Outliner.hxx b/main/sd/inc/Outliner.hxx index fff558cee12..8b4354728a9 100644 --- a/main/sd/inc/Outliner.hxx +++ b/main/sd/inc/Outliner.hxx @@ -122,7 +122,7 @@ public: Outliner( SdDrawDocument* pDoc, sal_uInt16 nMode ); virtual ~Outliner(); - /** Despite the name this method is called prior to spell cheking *and* + /** Despite the name this method is called prior to spell checking *and* searching and replacing. The position of current view mode/page/object/caret position is remembered and, depending on the search mode, may be restored after finishing searching/spell diff --git a/main/sd/source/ui/animations/CustomAnimationDialog.cxx b/main/sd/source/ui/animations/CustomAnimationDialog.cxx index 74ea1a91a35..f6e270a78fa 100644 --- a/main/sd/source/ui/animations/CustomAnimationDialog.cxx +++ b/main/sd/source/ui/animations/CustomAnimationDialog.cxx @@ -1317,7 +1317,7 @@ CustomAnimationEffectTabPage::CustomAnimationEffectTabPage( Window* pParent, con mpFTProperty1->Enable( mpLBProperty1->IsEnabled() ); // - // accelerate & deccelerate + // accelerate & decelerate // if( pSet->getPropertyState( nHandleAccelerate ) == STLPropertyState_DIRECT ) diff --git a/main/sd/source/ui/slidesorter/cache/SlsGenericPageCache.hxx b/main/sd/source/ui/slidesorter/cache/SlsGenericPageCache.hxx index 5eb5f408bd5..daefedd793f 100644 --- a/main/sd/source/ui/slidesorter/cache/SlsGenericPageCache.hxx +++ b/main/sd/source/ui/slidesorter/cache/SlsGenericPageCache.hxx @@ -38,7 +38,7 @@ class QueueProcessor; class GenericPageCache { public: - /** The page chache is created with a reference to the SlideSorter and + /** The page cache is created with a reference to the SlideSorter and thus has access to both view and model. This allows the cache to fill itself with requests for all pages or just the visible ones. @param rPreviewSize diff --git a/main/sd/source/ui/slidesorter/inc/view/SlsPageObjectLayouter.hxx b/main/sd/source/ui/slidesorter/inc/view/SlsPageObjectLayouter.hxx index 7cdd3594a74..3b54a7b3699 100644 --- a/main/sd/source/ui/slidesorter/inc/view/SlsPageObjectLayouter.hxx +++ b/main/sd/source/ui/slidesorter/inc/view/SlsPageObjectLayouter.hxx @@ -97,7 +97,7 @@ public: @param ePart The part of the page object for which to return the bounding box. - @param eCoodinateSystem + @param eCoordinateSystem The bounding box can be returned in model and in pixel (window) coordinates. */ diff --git a/main/sd/source/ui/slidesorter/inc/view/SlsPageObjectViewObjectContact.hxx b/main/sd/source/ui/slidesorter/inc/view/SlsPageObjectViewObjectContact.hxx index 0b4caa142ad..119f362c3c3 100644 --- a/main/sd/source/ui/slidesorter/inc/view/SlsPageObjectViewObjectContact.hxx +++ b/main/sd/source/ui/slidesorter/inc/view/SlsPageObjectViewObjectContact.hxx @@ -160,7 +160,7 @@ public: @param eType The part of the page object for which to return the bounding box. - @param eCoodinateSystem + @param eCoordinateSystem The bounding box can be returned in model and in pixel (window) coordinates. */ diff --git a/main/sd/source/ui/view/ToolBarManager.cxx b/main/sd/source/ui/view/ToolBarManager.cxx index e01d8fe4495..e5c97dbdac3 100644 --- a/main/sd/source/ui/view/ToolBarManager.cxx +++ b/main/sd/source/ui/view/ToolBarManager.cxx @@ -956,7 +956,7 @@ void ToolBarManager::Implementation::Update ( mrBase.GetViewShellManager()); // 3) Unlock the ViewShellManager::UpdateLock. This updates the - // shell stack. We have to be carfull here. The deletion of + // shell stack. We have to be careful here. The deletion of // the lock may end in a synchronous call to LockUpdate(). When // at this time the lock has been deleted but the auto_ptr has // not yet been reset then the lock is deleted a second time. diff --git a/main/sdext/source/pdfimport/tree/writertreevisiting.cxx b/main/sdext/source/pdfimport/tree/writertreevisiting.cxx index e970b24d011..b2b48129bbc 100644 --- a/main/sdext/source/pdfimport/tree/writertreevisiting.cxx +++ b/main/sdext/source/pdfimport/tree/writertreevisiting.cxx @@ -664,7 +664,7 @@ void WriterXmlOptimizer::checkHeaderAndFooter( PageElement& rElem ) */ // detect header - // Note: the following assumes that the pages' chiuldren have been + // Note: the following assumes that the pages' children have been // sorted geometrically std::list< Element* >::iterator it = rElem.Children.begin(); while( it != rElem.Children.end() ) diff --git a/main/sdext/source/presenter/PresenterPaneAnimator.cxx b/main/sdext/source/presenter/PresenterPaneAnimator.cxx index 35426edbd47..a9c0c520781 100644 --- a/main/sdext/source/presenter/PresenterPaneAnimator.cxx +++ b/main/sdext/source/presenter/PresenterPaneAnimator.cxx @@ -624,7 +624,7 @@ void UnfoldInCenterAnimator::HidePane (void) Sequence(4), rendering::CompositeOperation::SOURCE); - // Animate the uppder and lower window bitmaps. + // Animate the upper and lower window bitmaps. Reference xSpriteCanvas (mpWindowManager->GetParentCanvas(), UNO_QUERY); ::boost::shared_ptr pMultiAnimation (new MultiAnimation(mbDoAnimation ? 500 : 1)); @@ -883,10 +883,10 @@ void MoveInFromBottomAnimator::CreateShowAnimation ( const geometry::RealPoint2D& rStartLocation, const geometry::RealPoint2D& rEndLocation) { - // Animate the uppder and lower window bitmaps. + // Animate the upper and lower window bitmaps. ::boost::shared_ptr pMultiAnimation (new MultiAnimation(bAnimate ? 500 : 0)); - // Animate new pane to move in from the buttom. + // Animate new pane to move in from the bottom. pMultiAnimation->AddAnimation( ::boost::bind( InterpolatePosition, diff --git a/main/setup_native/source/win32/customactions/patch/swappatchfiles.cxx b/main/setup_native/source/win32/customactions/patch/swappatchfiles.cxx index 33836c69ead..6835e64417d 100644 --- a/main/setup_native/source/win32/customactions/patch/swappatchfiles.cxx +++ b/main/setup_native/source/win32/customactions/patch/swappatchfiles.cxx @@ -193,7 +193,7 @@ static BOOL MoveFileEx9x( LPCSTR lpExistingFileNameA, LPCSTR lpNewFileNameA, DWO CHAR szBuffer[32767]; // The buffer size must not exceed 32K DWORD dwBufLen = GetPrivateProfileSectionA( RENAME_SECTION, szBuffer, elementsof(szBuffer), WININIT_FILENAME ); - CHAR szRename[MAX_PATH]; // This is enough for at most to times 67 chracters + CHAR szRename[MAX_PATH]; // This is enough for at most to times 67 characters strcpy( szRename, szNewFileNameA ); strcat( szRename, "=" ); strcat( szRename, szExistingFileNameA ); diff --git a/main/setup_native/source/win32/customactions/shellextensions/checkrunningoffice.cxx b/main/setup_native/source/win32/customactions/shellextensions/checkrunningoffice.cxx index cb5b0723f86..cd0bc8caf8f 100644 --- a/main/setup_native/source/win32/customactions/shellextensions/checkrunningoffice.cxx +++ b/main/setup_native/source/win32/customactions/shellextensions/checkrunningoffice.cxx @@ -124,7 +124,7 @@ static BOOL MoveFileEx9x( LPCSTR lpExistingFileNameA, LPCSTR lpNewFileNameA, DWO CHAR szBuffer[32767]; // The buffer size must not exceed 32K DWORD dwBufLen = GetPrivateProfileSectionA( RENAME_SECTION, szBuffer, elementsof(szBuffer), WININIT_FILENAME ); - CHAR szRename[MAX_PATH]; // This is enough for at most to times 67 chracters + CHAR szRename[MAX_PATH]; // This is enough for at most to times 67 characters strcpy( szRename, szNewFileNameA ); strcat( szRename, "=" ); strcat( szRename, szExistingFileNameA ); diff --git a/main/sfx2/source/dialog/filtergrouping.cxx b/main/sfx2/source/dialog/filtergrouping.cxx index d9f01ff869d..9134f24a3a0 100644 --- a/main/sfx2/source/dialog/filtergrouping.cxx +++ b/main/sfx2/source/dialog/filtergrouping.cxx @@ -114,7 +114,7 @@ namespace sfx2 the filter itself) nor indirectly (as part of another local group).

    The only exception are filters which are part of a global class and a local class. This is allowed. - Being cotained in two local classes isn't.

    + Being contained in two local classes isn't.

    So that's all what you need to know: Understand the concept of "filter classes" (a filter class combines different filters and acts as if it's a filter itself) and the concept of groups (a group just describes a diff --git a/main/sfx2/source/doc/docfile.cxx b/main/sfx2/source/doc/docfile.cxx index 61543e3d2fa..b9e855051e4 100644 --- a/main/sfx2/source/doc/docfile.cxx +++ b/main/sfx2/source/doc/docfile.cxx @@ -2280,7 +2280,7 @@ void SfxMedium::DoInternalBackup_Impl( const ::ucbhelper::Content& aOriginalCont if ( !pImp->m_aBackupURL.getLength() ) { - // the copiing to the backup catalog failed ( for example because + // the copying to the backup catalog failed ( for example because // of using an encrypted partition as target catalog ) // since the user did not specify to make backup explicitly // office should try to make backup in another place, diff --git a/main/solenv/bin/modules/SourceConfig.pm b/main/solenv/bin/modules/SourceConfig.pm index 92afefb4534..69ae136e500 100644 --- a/main/solenv/bin/modules/SourceConfig.pm +++ b/main/solenv/bin/modules/SourceConfig.pm @@ -556,7 +556,7 @@ SourceConfig - Perl extension for parsing general info databases =head1 DESCRIPTION -SourceConfig is a perl extension to load and parse General Info Databses. +SourceConfig is a perl extension to load and parse General Info Databases. It uses a simple object oriented interface to retrieve the information stored in the database. diff --git a/main/starmath/source/rect.cxx b/main/starmath/source/rect.cxx index 223bcab7c36..866195356f1 100644 --- a/main/starmath/source/rect.cxx +++ b/main/starmath/source/rect.cxx @@ -722,7 +722,7 @@ sal_Bool SmGetGlyphBoundRect(const OutputDevice &rDev, // use scale factor when calling GetTextBoundRect to counter // negative effects from antialiasing which may otherwise result - // in significant incorrect bounding rectangles for some charcters. + // in significant incorrect bounding rectangles for some characters. Size aFntSize = aFnt.GetSize(); // HDU: workaround to avoid HUGE font sizes and resulting problems (#112783#) diff --git a/main/svgio/source/svgreader/svgdocumenthandler.cxx b/main/svgio/source/svgreader/svgdocumenthandler.cxx index 0b703000d6f..3c57ff3f794 100644 --- a/main/svgio/source/svgreader/svgdocumenthandler.cxx +++ b/main/svgio/source/svgreader/svgdocumenthandler.cxx @@ -111,7 +111,7 @@ namespace } } - // remember new last corected character node + // remember new last corrected character node pLast = pCharNode; } break; diff --git a/main/svl/inc/svl/zforlist.hxx b/main/svl/inc/svl/zforlist.hxx index d99a2f05f35..a53a28d084a 100644 --- a/main/svl/inc/svl/zforlist.hxx +++ b/main/svl/inc/svl/zforlist.hxx @@ -742,7 +742,7 @@ public: value. Tries to match a rSymbol with rExtension first, then with eFormatLanguage, then rSymbol only. This is because a currency entry might have been constructed using I18N locale data where a used locale - of a currrency format code must not necessarily match the locale of + of a currency format code must not necessarily match the locale of the locale data itself, e.g. [$HK$-40C] (being "zh_HK" locale) in zh_CN locale data. Here the rExtension would have the value 0x40c but eFormatLanguage of the number format would have the value of zh_CN diff --git a/main/svl/source/items/nranges.cxx b/main/svl/source/items/nranges.cxx index a8bd3843b34..ac7ae99966b 100644 --- a/main/svl/source/items/nranges.cxx +++ b/main/svl/source/items/nranges.cxx @@ -212,7 +212,7 @@ SfxNumRanges::SfxNumRanges( const NUMTYPE* pArr ) /**

    Description

    - Constcurts an SfxNumRanges-instance from an sorted ranges of NUMTYPEs, + Constructs an SfxNumRanges-instance from an sorted ranges of NUMTYPEs, terminates with on 0. precondition: for each n >= 0 && n < (sizeof(pArr)-1) diff --git a/main/svtools/inc/svtools/table/tablerenderer.hxx b/main/svtools/inc/svtools/table/tablerenderer.hxx index 417201e6fbe..65f9fd92d1b 100644 --- a/main/svtools/inc/svtools/table/tablerenderer.hxx +++ b/main/svtools/inc/svtools/table/tablerenderer.hxx @@ -156,14 +156,14 @@ namespace svt { namespace table if and only if the table control currently has the focus
    Note that this flag is equal to the respective flag in the - previous ->PrepareRow call, it's passed here for convinience + previous ->PrepareRow call, it's passed here for convenience only. @param _bSelected if and only if the row whose header cell is to be painted is selected currently.
    Note that this flag is equal to the respective flag in the - previous ->PrepareRow call, it's passed here for convinience + previous ->PrepareRow call, it's passed here for convenience only. @param _rDevice denotes the device to paint onto @@ -187,13 +187,13 @@ namespace svt { namespace table the row or the column of the cell is currently selected.
    Note that this flag is equal to the respective flag in the - previous ->PrepareRow call, it's passed here for convinience + previous ->PrepareRow call, it's passed here for convenience only. @param i_hasControlFocus if and only if the table control currently has the focus
    Note that this flag is equal to the respective flag in the - previous ->PrepareRow call, it's passed here for convinience + previous ->PrepareRow call, it's passed here for convenience only. @param _rDevice denotes the device to paint onto diff --git a/main/svtools/source/config/menuoptions.cxx b/main/svtools/source/config/menuoptions.cxx index 6aebb7eba84..3f527bc9bc2 100644 --- a/main/svtools/source/config/menuoptions.cxx +++ b/main/svtools/source/config/menuoptions.cxx @@ -321,7 +321,7 @@ void SvtMenuOptions_Impl::Notify( const Sequence< OUString >& seqPropertyNames ) bMenuIcons = m_nMenuIcons ? sal_True : sal_False; } - // Step over list of property names and get right value from coreesponding value list to set it on internal members! + // Step over list of property names and get right value from corresponding value list to set it on internal members! sal_Int32 nCount = seqPropertyNames.getLength(); for( sal_Int32 nProperty=0; nProperty>= aProductName ) ) { - OSL_ENSURE( sal_False, "Coudn't get PRODUCTNAME variable!\n" ); + OSL_ENSURE( sal_False, "Couldn't get PRODUCTNAME variable!\n" ); aProductName = ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "StarOffice" ) ); } aProperty = ::utl::ConfigManager::GetDirectConfigProperty( ::utl::ConfigManager::PRODUCTVERSION ); if ( !( aProperty >>= aProductVersion ) ) { - OSL_ENSURE( sal_False, "Coudn't get PRODUCTVERSION variable!\n" ); + OSL_ENSURE( sal_False, "Couldn't get PRODUCTVERSION variable!\n" ); } for( nInd = 0; nInd < seqNames.getLength(); nInd++ ) diff --git a/main/svtools/source/svrtf/svparser.cxx b/main/svtools/source/svrtf/svparser.cxx index 4357468410f..a35fed5a966 100644 --- a/main/svtools/source/svrtf/svparser.cxx +++ b/main/svtools/source/svrtf/svparser.cxx @@ -266,7 +266,7 @@ sal_Unicode SvParser::GetNextChar() RTL_TEXTENCODING_SYMBOL == eSrcEnc ) { - // no convserion shall take place + // no conversion shall take place c = (sal_Unicode)c1; nChars = 1; } diff --git a/main/svtools/source/table/tablecontrol_impl.hxx b/main/svtools/source/table/tablecontrol_impl.hxx index 2d4555e1460..54c14b2955a 100644 --- a/main/svtools/source/table/tablecontrol_impl.hxx +++ b/main/svtools/source/table/tablecontrol_impl.hxx @@ -212,7 +212,7 @@ namespace svt { namespace table the row position which should be visibleMust be non-negative, and smaller than the row count. @param _bAcceptPartialVisibility - if it's okay that the given cooordinate is only partially visible + if it's okay that the given coordinate is only partially visible */ void ensureVisible( ColPos _nColumn, RowPos _nRow, bool _bAcceptPartialVisibility ); diff --git a/main/svtools/source/toolpanel/tabbargeometry.hxx b/main/svtools/source/toolpanel/tabbargeometry.hxx index 6d678ab115a..8ef28513915 100644 --- a/main/svtools/source/toolpanel/tabbargeometry.hxx +++ b/main/svtools/source/toolpanel/tabbargeometry.hxx @@ -41,7 +41,7 @@ namespace svt //================================================================================================================== /** a rectangle which automatically translates between unrotated and rotated geometry. - It can be operated as if it were an unrotated area, but is able to provide corrdinates of rotated objects, + It can be operated as if it were an unrotated area, but is able to provide coordinates of rotated objects, relative to its playground. */ class NormalizedArea diff --git a/main/svx/inc/svx/DescriptionGenerator.hxx b/main/svx/inc/svx/DescriptionGenerator.hxx index b0a0ab94cf5..085348169e6 100644 --- a/main/svx/inc/svx/DescriptionGenerator.hxx +++ b/main/svx/inc/svx/DescriptionGenerator.hxx @@ -136,7 +136,7 @@ public: */ void AppendString (const ::rtl::OUString& sString); - /** This method adds for debuging and development the list of all known + /** This method adds for debugging and development the list of all known properties to the description. Don't use in production code. */ void AddPropertyNames (void); diff --git a/main/svx/source/form/fmsrcimp.cxx b/main/svx/source/form/fmsrcimp.cxx index 61ca3a7fc60..f1c18dd4c8d 100644 --- a/main/svx/source/form/fmsrcimp.cxx +++ b/main/svx/source/form/fmsrcimp.cxx @@ -843,7 +843,7 @@ void FmSearchEngine::Init(const ::rtl::OUString& sVisibleFields) // important: The case of the columns does not need to be exact - for instance: // - a user created a form which works on a table, for which the driver returns a column name "COLUMN" - // - the driver itself works case-insensitve with column names + // - the driver itself works case-insensitive with column names // - a control in the form is bound to "column" - not the different case // In such a scenario, the form and the field would work okay, but we here need to case for the different case // explicitly diff --git a/main/svx/source/inc/fmshimp.hxx b/main/svx/source/inc/fmshimp.hxx index ff60fb337f1..7e0444a147a 100644 --- a/main/svx/source/inc/fmshimp.hxx +++ b/main/svx/source/inc/fmshimp.hxx @@ -82,7 +82,7 @@ SV_DECL_PTRARR(SdrObjArray, SdrObject*, 32, 16) // SV_DECL_OBJARR(FmFormArray, ::com::sun::star::uno::Reference< ::com::sun::star::form::XForm>, 32, 16); DECLARE_STL_VECTOR( ::com::sun::star::uno::Reference< ::com::sun::star::form::XForm > ,FmFormArray); -// catch databse exceptions if occur +// catch database exceptions if occur #define DO_SAFE(statement) try { statement; } catch( const Exception& ) { DBG_ERROR("unhandled exception (I tried to move a cursor (or something like that).)"); } #define GA_DISABLE_SYNC 1 diff --git a/main/svx/source/sdr/contact/viewcontactofsdrpathobj.cxx b/main/svx/source/sdr/contact/viewcontactofsdrpathobj.cxx index 7554771715d..ac570ed0e3c 100644 --- a/main/svx/source/sdr/contact/viewcontactofsdrpathobj.cxx +++ b/main/svx/source/sdr/contact/viewcontactofsdrpathobj.cxx @@ -119,7 +119,7 @@ namespace sdr rGeoStat.nDrehWink ? (36000 - rGeoStat.nDrehWink) * F_PI18000 : 0.0, aObjectRange.getMinX(), aObjectRange.getMinY()); - // ceate unit polygon from object's absolute path + // create unit polygon from object's absolute path basegfx::B2DHomMatrix aInverse(aObjectMatrix); aInverse.invert(); aUnitPolyPolygon.transform(aInverse); diff --git a/main/svx/source/sdr/properties/defaultproperties.cxx b/main/svx/source/sdr/properties/defaultproperties.cxx index 7a9e743d850..29a36eb6bf0 100644 --- a/main/svx/source/sdr/properties/defaultproperties.cxx +++ b/main/svx/source/sdr/properties/defaultproperties.cxx @@ -60,7 +60,7 @@ namespace sdr { mpItemSet = rProps.mpItemSet->Clone(sal_True); - // do not keep parent info, this may be changed by later construrtors. + // do not keep parent info, this may be changed by later constructors. // This class just copies the ItemSet, ignore parent. if(mpItemSet && mpItemSet->GetParent()) { diff --git a/main/svx/source/svdraw/svdmrkv.cxx b/main/svx/source/svdraw/svdmrkv.cxx index fd2afbabf25..c63bf369869 100644 --- a/main/svx/source/svdraw/svdmrkv.cxx +++ b/main/svx/source/svdraw/svdmrkv.cxx @@ -70,7 +70,7 @@ class ImplMarkingOverlay // The OverlayObjects ::sdr::overlay::OverlayObjectList maObjects; - // The remembered second position in logical coodinates + // The remembered second position in logical coordinates basegfx::B2DPoint maSecondPosition; // bitfield diff --git a/main/svx/source/svdraw/svdpntv.cxx b/main/svx/source/svdraw/svdpntv.cxx index 04e0e92cd3a..18a134ca08f 100644 --- a/main/svx/source/svdraw/svdpntv.cxx +++ b/main/svx/source/svdraw/svdpntv.cxx @@ -85,7 +85,7 @@ class ImplEncirclementOverlay // The OverlayObjects ::sdr::overlay::OverlayObjectList maObjects; - // The remembered second position in logical coodinates + // The remembered second position in logical coordinates basegfx::B2DPoint maSecondPosition; public: diff --git a/main/svx/source/svdraw/svdsnpv.cxx b/main/svx/source/svdraw/svdsnpv.cxx index d60b757dcca..7e199675f5b 100644 --- a/main/svx/source/svdraw/svdsnpv.cxx +++ b/main/svx/source/svdraw/svdsnpv.cxx @@ -46,7 +46,7 @@ class ImplPageOriginOverlay // The OverlayObjects ::sdr::overlay::OverlayObjectList maObjects; - // The current position in logical coodinates + // The current position in logical coordinates basegfx::B2DPoint maPosition; public: @@ -109,7 +109,7 @@ class ImplHelpLineOverlay // The OverlayObjects ::sdr::overlay::OverlayObjectList maObjects; - // The current position in logical coodinates + // The current position in logical coordinates basegfx::B2DPoint maPosition; // HelpLine specific stuff diff --git a/main/svx/source/xoutdev/xtabdash.cxx b/main/svx/source/xoutdev/xtabdash.cxx index 13085452a11..5772f63d314 100644 --- a/main/svx/source/xoutdev/xtabdash.cxx +++ b/main/svx/source/xoutdev/xtabdash.cxx @@ -189,7 +189,7 @@ Bitmap XDashList::ImpCreateBitmapForXDash(const XDash* pDash) aDotDashArray, fFullDotDashLen); - // cerate LinePrimitive + // create LinePrimitive const drawinglayer::primitive2d::Primitive2DReference aLinePrimitive( new drawinglayer::primitive2d::PolygonStrokePrimitive2D( aLine, diff --git a/main/sw/inc/doc.hxx b/main/sw/inc/doc.hxx index 7c1f9d87ab2..91f6e49c01c 100644 --- a/main/sw/inc/doc.hxx +++ b/main/sw/inc/doc.hxx @@ -245,7 +245,7 @@ namespace sfx2 { typedef SwPageDesc* SwPageDescPtr; SV_DECL_PTRARR_DEL( SwPageDescs, SwPageDescPtr, 4, 4 ) -// forward declartion +// forward declaration void SetAllScriptItem( SfxItemSet& rSet, const SfxPoolItem& rItem ); // global function to start grammar checking in the document diff --git a/main/sw/source/core/inc/rolbck.hxx b/main/sw/source/core/inc/rolbck.hxx index a49ae92eba6..ae33722fef0 100644 --- a/main/sw/source/core/inc/rolbck.hxx +++ b/main/sw/source/core/inc/rolbck.hxx @@ -146,7 +146,7 @@ public: class SwHistorySetTxtFld : public SwHistoryHint { - //!! beware of the order for the declation of the auto_ptrs. + //!! beware of the order for the declaration of the auto_ptrs. //!! If they get destroyed in the wrong order sw may crash (namely mail-merge as well) ::std::auto_ptr m_pFldType; const ::std::auto_ptr m_pFld; diff --git a/main/sw/source/core/unocore/unofield.cxx b/main/sw/source/core/unocore/unofield.cxx index 69258591af8..4946d354a35 100644 --- a/main/sw/source/core/unocore/unofield.cxx +++ b/main/sw/source/core/unocore/unofield.cxx @@ -2415,7 +2415,7 @@ sal_Bool SwXTextField::supportsService(const OUString& rServiceName) throw( uno: { OUString sServiceName = SwXServiceProvider::GetProviderName(m_nServiceId); - // case-corected version of service-name (see #i67811) + // case-corrected version of service-name (see #i67811) // (need to supply both because of compatibility to older versions) OUString sServiceNameCC( OldNameToNewName_Impl( sServiceName ) ); @@ -2428,7 +2428,7 @@ uno::Sequence< OUString > SwXTextField::getSupportedServiceNames(void) throw( un { OUString sServiceName = SwXServiceProvider::GetProviderName(m_nServiceId); - // case-corected version of service-name (see #i67811) + // case-corrected version of service-name (see #i67811) // (need to supply both because of compatibility to older versions) OUString sServiceNameCC( OldNameToNewName_Impl( sServiceName ) ); sal_Int32 nLen = sServiceName == sServiceNameCC ? 2 : 3; diff --git a/main/sw/source/core/view/viewsh.cxx b/main/sw/source/core/view/viewsh.cxx index 9595248b1ae..4ae5afb1807 100644 --- a/main/sw/source/core/view/viewsh.cxx +++ b/main/sw/source/core/view/viewsh.cxx @@ -1581,8 +1581,8 @@ sal_Bool ViewShell::SmoothScroll( long lXDiff, long lYDiff, const Rectangle *pRe mpTargetPaintWindow->GetTargetOutputDevice().DrawOutDev(aUpdateTopLeft, aUpdateSize, aUpdateTopLeft, aUpdateSize, *pVout); - // #i75172# Corret repaint end - // Note: This also correcty creates the overlay, thus smooth scroll will + // #i75172# Correct repaint end + // Note: This also correctly creates the overlay, thus smooth scroll will // also be allowed now wth selection (see big IF above) DLPostPaint2(true); } diff --git a/main/sw/source/filter/inc/msfilter.hxx b/main/sw/source/filter/inc/msfilter.hxx index 05a44eefed1..5abb97b62a1 100644 --- a/main/sw/source/filter/inc/msfilter.hxx +++ b/main/sw/source/filter/inc/msfilter.hxx @@ -235,7 +235,7 @@ namespace sw for this word style. It will only return a failure in the pathological case of - catastropic failure elsewhere of there exist already styles + catastrophic failure elsewhere of there exist already styles rName and WW-rName[0..SAL_MAX_INT32], which is both unlikely and impossible. */ @@ -295,7 +295,7 @@ namespace sw for this word style. It will only return a failure in the pathological case of - catastropic failure elsewhere of there exist already styles + catastrophic failure elsewhere of there exist already styles rName and WW-rName[0..SAL_MAX_INT32], which is both unlikely and impossible. */ diff --git a/main/sw/source/filter/ww8/wrtw8nds.cxx b/main/sw/source/filter/ww8/wrtw8nds.cxx index a0fd1c1f305..62819df4650 100644 --- a/main/sw/source/filter/ww8/wrtw8nds.cxx +++ b/main/sw/source/filter/ww8/wrtw8nds.cxx @@ -730,7 +730,7 @@ void WW8AttributeOutput::StartRuby( const SwTxtNode& rNode, const SwFmtRuby& rRu /* MS needs to know the name and size of the font used in the ruby item, - but we coud have written it in a mixture of asian and western + but we could have written it in a mixture of asian and western scripts, and each of these can be a different font and size than the other, so we make a guess based upon the first character of the text, defaulting to asian. diff --git a/main/sw/source/ui/lingu/hhcwrp.cxx b/main/sw/source/ui/lingu/hhcwrp.cxx index bf5cf2416c1..e4b38351aba 100644 --- a/main/sw/source/ui/lingu/hhcwrp.cxx +++ b/main/sw/source/ui/lingu/hhcwrp.cxx @@ -642,7 +642,7 @@ void SwHHCWrapper::Convert() // of them are words on their own!) using the word boundary here does // not work. Thus since chinese conversion is not interactive we start // at the begin of the paragraph to solve the problem, i.e. have the - // TextConversion service get those charcters together in the same call. + // TextConversion service get those characters together in the same call. xub_StrLen nStartIdx = STRING_MAXLEN; if (editeng::HangulHanjaConversion::IsChinese( GetSourceLanguage() ) ) nStartIdx = 0; diff --git a/main/tools/inc/tools/stream.hxx b/main/tools/inc/tools/stream.hxx index 6f91567c439..09030bb988c 100644 --- a/main/tools/inc/tools/stream.hxx +++ b/main/tools/inc/tools/stream.hxx @@ -439,7 +439,7 @@ public: sal_Bool SetStreamSize( sal_Size nSize ); /// Read in the stream to a zero character and put all - /// read chracters in the Bytestring. The String interface + /// read characters in the Bytestring. The String interface /// convert the BytString with the given encoding to a String sal_Bool ReadCString( ByteString& rStr ); sal_Bool ReadCString( String& rStr, rtl_TextEncoding eToEncode ); diff --git a/main/ucbhelper/inc/ucbhelper/providerhelper.hxx b/main/ucbhelper/inc/ucbhelper/providerhelper.hxx index 8c9b189f35a..6693141ebd0 100644 --- a/main/ucbhelper/inc/ucbhelper/providerhelper.hxx +++ b/main/ucbhelper/inc/ucbhelper/providerhelper.hxx @@ -139,7 +139,7 @@ protected: public: ////////////////////////////////////////////////////////////////////// - // Contsruction/Destruction + // Construction/Destruction ////////////////////////////////////////////////////////////////////// ContentProviderImplHelper( diff --git a/main/ucbhelper/inc/ucbhelper/simpleauthenticationrequest.hxx b/main/ucbhelper/inc/ucbhelper/simpleauthenticationrequest.hxx index 451ed518524..bd4b9cc1644 100644 --- a/main/ucbhelper/inc/ucbhelper/simpleauthenticationrequest.hxx +++ b/main/ucbhelper/inc/ucbhelper/simpleauthenticationrequest.hxx @@ -40,7 +40,7 @@ namespace ucbhelper { * instance contains an AuthenticationRequest and three interaction * continuations: "Abort", "Retry" and "SupplyAuthentication". The parameters * for the AuthenticationRequest and the InteractionSupplyAuthentication - * objects are partly taken from contructors parameters and partly defaulted + * objects are partly taken from constructors parameters and partly defaulted * as follows: * * Read-only values : servername, realm diff --git a/main/udkapi/com/sun/star/reflection/XConstantsTypeDescription.idl b/main/udkapi/com/sun/star/reflection/XConstantsTypeDescription.idl index a3628fd8ed4..070d7fc4af3 100644 --- a/main/udkapi/com/sun/star/reflection/XConstantsTypeDescription.idl +++ b/main/udkapi/com/sun/star/reflection/XConstantsTypeDescription.idl @@ -47,7 +47,7 @@ */ published interface XConstantsTypeDescription : com::sun::star::reflection::XTypeDescription { - /** Returns the contstants defined for this constants group. + /** Returns the constants defined for this constants group. @return a sequence containing constants descriptions. */ diff --git a/main/udkapi/com/sun/star/uno/XReference.idl b/main/udkapi/com/sun/star/uno/XReference.idl index 372c794d70a..8baab03afb8 100644 --- a/main/udkapi/com/sun/star/uno/XReference.idl +++ b/main/udkapi/com/sun/star/uno/XReference.idl @@ -36,7 +36,7 @@ // DocMerge from xml: interface com::sun::star::uno::XReference /** must be implemented by anyone who holds the adapter on the client side.@see XWeak - for decription af concepts. + for description af concepts. */ published interface XReference: com::sun::star::uno::XInterface { diff --git a/main/unotools/inc/unotools/digitgroupingiterator.hxx b/main/unotools/inc/unotools/digitgroupingiterator.hxx index 1ccf100bddf..f51008db4f1 100644 --- a/main/unotools/inc/unotools/digitgroupingiterator.hxx +++ b/main/unotools/inc/unotools/digitgroupingiterator.hxx @@ -44,7 +44,7 @@ namespace utl { count single characters but hunks of groups instead using the get() method, this is just for illustrating usage. Anyway, for double values it is highly more efficient to use ::rtl::math::doubleToString() and pass the grouping - sequence, instead of using this iterator and inserting charcters into + sequence, instead of using this iterator and inserting characters into strings. DigitGroupingIterator aGrouping(...) diff --git a/main/unotools/source/config/fontoptions.cxx b/main/unotools/source/config/fontoptions.cxx index b6d09a276b4..bda0d1c6d62 100644 --- a/main/unotools/source/config/fontoptions.cxx +++ b/main/unotools/source/config/fontoptions.cxx @@ -255,7 +255,7 @@ void SvtFontOptions_Impl::Notify( const Sequence< OUString >& seqPropertyNames ) // Safe impossible cases. // We need values from ALL notified configuration keys. DBG_ASSERT( !(seqPropertyNames.getLength()!=seqValues.getLength()), "SvtFontOptions_Impl::Notify()\nI miss some values of configuration keys!\n" ); - // Step over list of property names and get right value from coreesponding value list to set it on internal members! + // Step over list of property names and get right value from corresponding value list to set it on internal members! sal_Int32 nCount = seqPropertyNames.getLength(); for( sal_Int32 nProperty=0; nProperty& seqPropert // Safe impossible cases. // We need values from ALL notified configuration keys. DBG_ASSERT( !(seqPropertyNames.getLength()!=seqValues.getLength()), "SvtLocalisationOptions_Impl::Notify()\nI miss some values of configuration keys!\n" ); - // Step over list of property names and get right value from coreesponding value list to set it on internal members! + // Step over list of property names and get right value from corresponding value list to set it on internal members! sal_Int32 nCount = seqPropertyNames.getLength(); for( sal_Int32 nProperty=0; nProperty& seqPropertyNam // Safe impossible cases. // We need values from ALL notified configuration keys. DBG_ASSERT( !(seqPropertyNames.getLength()!=seqValues.getLength()), "SvtSecurityOptions_Impl::Notify()\nI miss some values of configuration keys!\n" ); - // Step over list of property names and get right value from coreesponding value list to set it on internal members! + // Step over list of property names and get right value from corresponding value list to set it on internal members! sal_Int32 nCount = seqPropertyNames.getLength(); for( sal_Int32 nProperty = 0 ; nProperty < nCount ; ++nProperty ) SetProperty( GetHandle( seqPropertyNames[ nProperty ] ), seqValues[ nProperty ], seqRO[ nProperty ] ); diff --git a/main/unotools/source/config/startoptions.cxx b/main/unotools/source/config/startoptions.cxx index 0c223060e6f..57c9b780ef6 100644 --- a/main/unotools/source/config/startoptions.cxx +++ b/main/unotools/source/config/startoptions.cxx @@ -246,7 +246,7 @@ void SvtStartOptions_Impl::Notify( const Sequence< OUString >& seqPropertyNames // Safe impossible cases. // We need values from ALL notified configuration keys. DBG_ASSERT( !(seqPropertyNames.getLength()!=seqValues.getLength()), "SvtStartOptions_Impl::Notify()\nI miss some values of configuration keys!\n" ); - // Step over list of property names and get right value from coreesponding value list to set it on internal members! + // Step over list of property names and get right value from corresponding value list to set it on internal members! sal_Int32 nCount = seqPropertyNames.getLength(); for( sal_Int32 nProperty=0; nProperty& seqPropertyN // Safe impossible cases. // We need values from ALL notified configuration keys. DBG_ASSERT( !(seqPropertyNames.getLength()!=seqValues.getLength()), "SvtWorkingSetOptions_Impl::Notify()\nI miss some values of configuration keys!\n" ); - // Step over list of property names and get right value from coreesponding value list to set it on internal members! + // Step over list of property names and get right value from corresponding value list to set it on internal members! sal_Int32 nCount = seqPropertyNames.getLength(); for( sal_Int32 nProperty=0; nProperty LocaleDataWrapper::getInstalledLan // and default for Language found. if ( areChecksEnabled() && !aDebugLocale.EqualsAscii( "ar_SD" ) // Sudan/ar - && !aDebugLocale.EqualsAscii( "en_CB" ) // Carribean is not a country + && !aDebugLocale.EqualsAscii( "en_CB" ) // Caribbean is not a country // && !aDebugLocale.EqualsAscii( "en_BG" ) // ?!? Bulgaria/en // && !aDebugLocale.EqualsAscii( "es_BR" ) // ?!? Brazil/es ) diff --git a/main/unoxml/source/events/eventdispatcher.cxx b/main/unoxml/source/events/eventdispatcher.cxx index 5dbc0109ac7..7c1465cba36 100644 --- a/main/unoxml/source/events/eventdispatcher.cxx +++ b/main/unoxml/source/events/eventdispatcher.cxx @@ -192,10 +192,10 @@ namespace DOM { namespace events { targetListeners = m_TargetListeners; } - // the caputre vector now holds the node path from target to root - // first we must search for capture listernes in order root to + // the capture vector now holds the node path from target to root + // first we must search for capture listeners in order root to // to target. after that, any target listeners have to be called - // then bubbeling phase listeners are called in target to root + // then bubbling phase listeners are called in target to root // order // start at the root NodeVector_t::const_reverse_iterator rinode = diff --git a/main/unoxml/source/xpath/xpathapi.cxx b/main/unoxml/source/xpath/xpathapi.cxx index 32b4b6394c5..ce547264951 100644 --- a/main/unoxml/source/xpath/xpathapi.cxx +++ b/main/unoxml/source/xpath/xpathapi.cxx @@ -228,7 +228,7 @@ namespace XPath } /** - * same as selectNodeList but registers all name space decalratiosn found on namespaceNode + * same as selectNodeList but registers all name space decelerations found on namespaceNode */ Reference< XNodeList > SAL_CALL CXPathAPI::selectNodeListNS( const Reference< XNode >& contextNode, diff --git a/main/vbahelper/source/vbahelper/vbadocumentsbase.cxx b/main/vbahelper/source/vbahelper/vbadocumentsbase.cxx index b0538996078..461ce628443 100644 --- a/main/vbahelper/source/vbahelper/vbadocumentsbase.cxx +++ b/main/vbahelper/source/vbahelper/vbadocumentsbase.cxx @@ -266,7 +266,7 @@ uno::Any VbaDocumentsBase::createDocument() throw (uno::RuntimeException) aMediaDesc[ ::comphelper::MediaDescriptor::PROP_MACROEXECUTIONMODE() ] <<= document::MacroExecMode::USE_CONFIG; aMediaDesc.setComponentDataEntry( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "ApplyFormDesignMode" ) ), uno::Any( false ) ); - // craete the new document + // create the new document uno::Reference< lang::XComponent > xComponent = xLoader->loadComponentFromURL( sURL , rtl::OUString( RTL_CONSTASCII_USTRINGPARAM("_blank") ), 0, diff --git a/main/vcl/aqua/source/gdi/salnativewidgets.cxx b/main/vcl/aqua/source/gdi/salnativewidgets.cxx index df0f75fbaba..cbfe0a3eaef 100644 --- a/main/vcl/aqua/source/gdi/salnativewidgets.cxx +++ b/main/vcl/aqua/source/gdi/salnativewidgets.cxx @@ -611,7 +611,7 @@ sal_Bool AquaSalGraphics::drawNativeControl(ControlType nType, case CTRL_PUSHBUTTON: { - // [ FIXME] : instead of use a value, vcl can retrieve corect values on the fly (to be implemented) + // [ FIXME] : instead of use a value, vcl can retrieve correct values on the fly (to be implemented) const int PB_Mini_Height = 15; const int PB_Norm_Height = 21; diff --git a/main/vcl/inc/aqua/salgdi.h b/main/vcl/inc/aqua/salgdi.h index a278b6990c2..9c7ae5ff8c2 100644 --- a/main/vcl/inc/aqua/salgdi.h +++ b/main/vcl/inc/aqua/salgdi.h @@ -342,14 +342,14 @@ class AquaSalGraphics : public SalGraphics // OutputDevice for all its device specific preferred font substitutions virtual void GetDevFontSubstList( OutputDevice* ); virtual bool AddTempDevFont( ImplDevFontList*, const String& rFileURL, const String& rFontName ); - // CreateFontSubset: a method to get a subset of glyhps of a font + // CreateFontSubset: a method to get a subset of glyphs of a font // inside a new valid font file // returns TRUE if creation of subset was successful // parameters: rToFile: contains a osl file URL to write the subset to // pFont: describes from which font to create a subset // pGlyphIDs: the glyph ids to be extracted // pEncoding: the character code corresponding to each glyph - // pWidths: the advance widths of the correspoding glyphs (in PS font units) + // pWidths: the advance widths of the corresponding glyphs (in PS font units) // nGlyphs: the number of glyphs // rInfo: additional outgoing information // implementation note: encoding 0 with glyph id 0 should be added implicitly diff --git a/main/vcl/inc/ilstbox.hxx b/main/vcl/inc/ilstbox.hxx index 594559e040e..32547cb9aa9 100644 --- a/main/vcl/inc/ilstbox.hxx +++ b/main/vcl/inc/ilstbox.hxx @@ -307,7 +307,7 @@ public: void SetTopEntry( sal_uInt16 nTop ); sal_uInt16 GetTopEntry() const { return mnTop; } - // ShowProminentEntry will set the entry correspoding to nEntryPos + // ShowProminentEntry will set the entry corresponding to nEntryPos // either at top or in the middle depending on the chosen style void ShowProminentEntry( sal_uInt16 nEntryPos ); void SetProminentEntryType( ProminentEntry eType ) { meProminentType = eType; } diff --git a/main/vcl/inc/os2/salgdi.h b/main/vcl/inc/os2/salgdi.h index 9fa4c580021..79359b1a6c9 100644 --- a/main/vcl/inc/os2/salgdi.h +++ b/main/vcl/inc/os2/salgdi.h @@ -281,7 +281,7 @@ class Os2SalGraphics : public SalGraphics // pFont: describes from which font to create a subset // pGlyphIDs: the glyph ids to be extracted // pEncoding: the character code corresponding to each glyph - // pWidths: the advance widths of the correspoding glyphs (in PS font units) + // pWidths: the advance widths of the corresponding glyphs (in PS font units) // nGlyphs: the number of glyphs // rInfo: additional outgoing information // implementation note: encoding 0 with glyph id 0 should be added implicitly diff --git a/main/vcl/inc/salgdi.hxx b/main/vcl/inc/salgdi.hxx index 04be3908a66..de0d4de2129 100644 --- a/main/vcl/inc/salgdi.hxx +++ b/main/vcl/inc/salgdi.hxx @@ -251,14 +251,14 @@ public: // OutputDevice for all its device specific preferred font substitutions virtual void GetDevFontSubstList( OutputDevice* ) = 0; virtual bool AddTempDevFont( ImplDevFontList*, const String& rFileURL, const String& rFontName ) = 0; - // CreateFontSubset: a method to get a subset of glyhps of a font + // CreateFontSubset: a method to get a subset of glyphs of a font // inside a new valid font file // returns sal_True if creation of subset was successful // parameters: rToFile: contains a osl file URL to write the subset to // pFont: describes from which font to create a subset // pGlyphIDs: the glyph ids to be extracted // pEncoding: the character code corresponding to each glyph - // pWidths: the advance widths of the correspoding glyphs (in PS font units) + // pWidths: the advance widths of the corresponding glyphs (in PS font units) // nGlyphs: the number of glyphs // rInfo: additional outgoing information // implementation note: encoding 0 with glyph id 0 should be added implicitly diff --git a/main/vcl/inc/vcl/dialog.hxx b/main/vcl/inc/vcl/dialog.hxx index 08df40f7ab6..c897904756b 100644 --- a/main/vcl/inc/vcl/dialog.hxx +++ b/main/vcl/inc/vcl/dialog.hxx @@ -29,7 +29,7 @@ #include // parameter to pass to the dialogue constructor if really no parent is wanted -// whereas NULL chooses the deafult dialogue parent +// whereas NULL chooses the default dialogue parent #define DIALOG_NO_PARENT ((Window*)0xffffffff) // ---------- diff --git a/main/vcl/inc/vcl/window.hxx b/main/vcl/inc/vcl/window.hxx index 4bba45a3e14..542ad8a73e4 100644 --- a/main/vcl/inc/vcl/window.hxx +++ b/main/vcl/inc/vcl/window.hxx @@ -875,7 +875,7 @@ public: Point OutputToAbsoluteScreenPixel( const Point& rPos ) const; Point AbsoluteScreenToOutputPixel( const Point& rPos ) const; Rectangle GetDesktopRectPixel() const; - // window extents including border and decoratrion + // window extents including border and decoration Rectangle GetWindowExtentsRelative( Window *pRelativeWindow ) const; // window extents of the client window, coordinates to be used in SetPosPixel Rectangle GetClientWindowExtentsRelative( Window *pRelativeWindow ) const; diff --git a/main/vcl/os2/source/app/sallang.cxx b/main/vcl/os2/source/app/sallang.cxx index 971fa998a10..da0214674d0 100644 --- a/main/vcl/os2/source/app/sallang.cxx +++ b/main/vcl/os2/source/app/sallang.cxx @@ -28,7 +28,7 @@ // ======================================================================= // ----------------------------------------------------------------------- -// English (US/UK/AUS/CAN/NZ/EIRE/SAFRICA/JAMAICA/CARRIBEAN) +// English (US/UK/AUS/CAN/NZ/EIRE/SAFRICA/JAMAICA/CARIBBEAN) static const wchar_t* aImplLangEnglishTab[LSTR_COUNT] = { L"Shift", // LSTR_KEY_SHIFT diff --git a/main/vcl/source/gdi/outdev.cxx b/main/vcl/source/gdi/outdev.cxx index 0b479a03ac9..2a8c45bc420 100644 --- a/main/vcl/source/gdi/outdev.cxx +++ b/main/vcl/source/gdi/outdev.cxx @@ -206,7 +206,7 @@ bool OutputDevice::ImplSelectClipRegion( const Region& rRegion, SalGraphics* pGr } bool bClipRegion = pGraphics->SetClipRegion( rRegion, this ); - OSL_ENSURE( bClipRegion, "OutputDevice::ImplSelectClipRegion() - can't cerate region" ); + OSL_ENSURE( bClipRegion, "OutputDevice::ImplSelectClipRegion() - can't create region" ); return bClipRegion; } diff --git a/main/winaccessibility/source/UAccCOM/AccTable.cpp b/main/winaccessibility/source/UAccCOM/AccTable.cpp index e0d4341230b..8ffd124134e 100644 --- a/main/winaccessibility/source/UAccCOM/AccTable.cpp +++ b/main/winaccessibility/source/UAccCOM/AccTable.cpp @@ -17,8 +17,8 @@ * specific language governing permissions and limitations * under the License. * - *************************************************************/ - + *************************************************************/ + /** * AccTable.cpp : Implementation of CAccTable. */ @@ -97,7 +97,7 @@ STDMETHODIMP CAccTable::get_accessibleAt(long row, long column, IUnknown * * acc /** * Gets accessible table caption. * - * @param accessible the accessible object of table cpation. + * @param accessible the accessible object of table caption. */ STDMETHODIMP CAccTable::get_caption(IUnknown * *) { diff --git a/main/wizards/com/sun/star/wizards/web/FTPDialog.java b/main/wizards/com/sun/star/wizards/web/FTPDialog.java index d2f85cca9df..04ff2f59c77 100644 --- a/main/wizards/com/sun/star/wizards/web/FTPDialog.java +++ b/main/wizards/com/sun/star/wizards/web/FTPDialog.java @@ -627,7 +627,7 @@ public void disconnect() } /** - * used for debuging. + * used for debugging. * @param args */ public static void main(String args[]) diff --git a/main/xmerge/java/pexcel/src/main/java/org/openoffice/xmerge/converter/xml/sxc/pexcel/records/Workbook.java b/main/xmerge/java/pexcel/src/main/java/org/openoffice/xmerge/converter/xml/sxc/pexcel/records/Workbook.java index 73e5316aac7..5f278d4c865 100644 --- a/main/xmerge/java/pexcel/src/main/java/org/openoffice/xmerge/converter/xml/sxc/pexcel/records/Workbook.java +++ b/main/xmerge/java/pexcel/src/main/java/org/openoffice/xmerge/converter/xml/sxc/pexcel/records/Workbook.java @@ -128,7 +128,7 @@ public void write(OutputStream os) throws IOException { } /** - * Reads a workbook from the InputStream and contructs a + * Reads a workbook from the InputStream and constructs a * workbook object from it * * @param is InputStream containing a Pocket Excel Data file. diff --git a/main/xmerge/source/palmtests/qa/lib/converterlib.pm b/main/xmerge/source/palmtests/qa/lib/converterlib.pm index e941ee269b3..60f07b67087 100644 --- a/main/xmerge/source/palmtests/qa/lib/converterlib.pm +++ b/main/xmerge/source/palmtests/qa/lib/converterlib.pm @@ -750,7 +750,7 @@ sub minicalc_enter_cell { if ($global_debug) { - &print_debug (" Typing carrage return to go down\n"); + &print_debug (" Typing carriage return to go down\n"); } enter_string("\n", 1); } @@ -942,7 +942,7 @@ sub enter_string } } - # Replace "\n" with real carrage returns. + # Replace "\n" with real carriage returns. # my $string_val = $in_string; $string_val =~ s#\\n#\n#g; diff --git a/main/xmloff/inc/txtflde.hxx b/main/xmloff/inc/txtflde.hxx index e32ca3b5419..24d6c35251c 100644 --- a/main/xmloff/inc/txtflde.hxx +++ b/main/xmloff/inc/txtflde.hxx @@ -198,7 +198,7 @@ public: ::com::sun::star::text::XText > & rText); /// export all field declarations, or only those that have been used? - /// Calling this method will reset the list of used field declataions. + /// Calling this method will reset the list of used field declarations. void SetExportOnlyUsedFieldDeclarations( sal_Bool bExportOnlyUsed = sal_True); diff --git a/main/xmloff/source/core/xmlexp.cxx b/main/xmloff/source/core/xmlexp.cxx index 888daa80d54..4fbb3d8b3e7 100644 --- a/main/xmloff/source/core/xmlexp.cxx +++ b/main/xmloff/source/core/xmlexp.cxx @@ -1535,7 +1535,7 @@ sal_uInt32 SvXMLExport::exportDoc( enum ::xmloff::token::XMLTokenEnum eClass ) if( mnExportFlags & EXPORT_SCRIPTS ) _ExportScripts(); - // font declerations + // font declarations if( mnExportFlags & EXPORT_FONTDECLS ) _ExportFontDecls(); diff --git a/main/xmloff/source/draw/ximpcustomshape.cxx b/main/xmloff/source/draw/ximpcustomshape.cxx index 27fda75ed6e..151faf4f5f8 100644 --- a/main/xmloff/source/draw/ximpcustomshape.cxx +++ b/main/xmloff/source/draw/ximpcustomshape.cxx @@ -1355,7 +1355,7 @@ SvXMLImportContext* XMLEnhancedCustomShapeContext::CreateChildContext( sal_uInt1 { rtl::OUString aLocalName; const rtl::OUString& rValue = xAttrList->getValueByIndex( nAttr ); - /* fixme sven, this needs to be chekced! sal_uInt16 nPrefix = */ GetImport().GetNamespaceMap().GetKeyByAttrName( xAttrList->getNameByIndex( nAttr ), &aLocalName ); + /* fixme sven, this needs to be checked! sal_uInt16 nPrefix = */ GetImport().GetNamespaceMap().GetKeyByAttrName( xAttrList->getNameByIndex( nAttr ), &aLocalName ); switch( EASGet( aLocalName ) ) { @@ -1384,7 +1384,7 @@ SvXMLImportContext* XMLEnhancedCustomShapeContext::CreateChildContext( sal_uInt1 { rtl::OUString aLocalName; const rtl::OUString& rValue = xAttrList->getValueByIndex( nAttr ); - /* fixme sven, this needs to be chekced! sal_uInt16 nPrefix = */ GetImport().GetNamespaceMap().GetKeyByAttrName( xAttrList->getNameByIndex( nAttr ), &aLocalName ); + /* fixme sven, this needs to be checked! sal_uInt16 nPrefix = */ GetImport().GetNamespaceMap().GetKeyByAttrName( xAttrList->getNameByIndex( nAttr ), &aLocalName ); switch( EASGet( aLocalName ) ) { case EAS_handle_mirror_vertical : diff --git a/main/xmloff/source/style/prstylei.cxx b/main/xmloff/source/style/prstylei.cxx index ac6b3330b20..814a0576065 100644 --- a/main/xmloff/source/style/prstylei.cxx +++ b/main/xmloff/source/style/prstylei.cxx @@ -447,7 +447,7 @@ void XMLPropStyleContext::Finish( sal_Bool bOverwrite ) { if( mxStyle.is() && (IsNew() || bOverwrite) ) { - // The families cintaner must exist + // The families container must exist Reference < XNameContainer > xFamilies = ((SvXMLStylesContext *)&mxStyles)->GetStylesContainer( GetFamily() ); DBG_ASSERT( xFamilies.is(), "Families lost" ); diff --git a/main/xmloff/source/transform/EventOASISTContext.cxx b/main/xmloff/source/transform/EventOASISTContext.cxx index 2df745d3567..1c0f15ca7b9 100644 --- a/main/xmloff/source/transform/EventOASISTContext.cxx +++ b/main/xmloff/source/transform/EventOASISTContext.cxx @@ -317,7 +317,7 @@ void XMLEventOASISTransformerContext::StartElement( case XML_ATACTION_EVENT_NAME: { // Check if the event belongs to a form or control by - // cehcking the 2nd ancestor element, f.i.: + // checking the 2nd ancestor element, f.i.: // const XMLTransformerContext *pObjContext = GetTransformer().GetAncestorContext( 1 ); diff --git a/main/xmlsecurity/source/xmlsec/mscrypt/securityenvironment_mscryptimpl.hxx b/main/xmlsecurity/source/xmlsec/mscrypt/securityenvironment_mscryptimpl.hxx index 598fd7f5bfe..a2bfc0479ef 100644 --- a/main/xmlsecurity/source/xmlsec/mscrypt/securityenvironment_mscryptimpl.hxx +++ b/main/xmlsecurity/source/xmlsec/mscrypt/securityenvironment_mscryptimpl.hxx @@ -73,7 +73,7 @@ class SecurityEnvironment_MSCryptImpl : public ::cppu::WeakImplHelper4< //Key store HCERTSTORE m_hKeyStore ; - //Certiticate store + //Certificate store HCERTSTORE m_hCertStore ; // i120675, save the store handles diff --git a/main/xmlsecurity/source/xmlsec/nss/nssinitializer.cxx b/main/xmlsecurity/source/xmlsec/nss/nssinitializer.cxx index bd5cce604e3..cdcc356dffc 100644 --- a/main/xmlsecurity/source/xmlsec/nss/nssinitializer.cxx +++ b/main/xmlsecurity/source/xmlsec/nss/nssinitializer.cxx @@ -144,7 +144,7 @@ void deleteRootsModule() { if (PK11_HasRootCerts(slot)) { - xmlsec_trace("The root certifificates module \"%s" + xmlsec_trace("The root certificates module \"%s" "\" is already loaded: \n%s", module->commonName, module->dllName); @@ -346,7 +346,7 @@ bool nsscrypto_initialize( const css::uno::Reference< css::lang::XMultiServiceFa } else { - xmlsec_trace("FAILED to add new root certifice module: " + xmlsec_trace("FAILED to add new root certificate module: " "\"" ROOT_CERTS "\" contained in \n%s", ospath.getStr()); return_value = false; diff --git a/main/xmlsecurity/tools/uno/XMLSecurityFrameworkController.java b/main/xmlsecurity/tools/uno/XMLSecurityFrameworkController.java index 780b51b8dc8..dc7978c55c7 100644 --- a/main/xmlsecurity/tools/uno/XMLSecurityFrameworkController.java +++ b/main/xmlsecurity/tools/uno/XMLSecurityFrameworkController.java @@ -40,7 +40,7 @@ import com.sun.star.xml.wrapper.*; /* - * the XMLSecurityFrameworkController class is used to controll the xml security framework. + * the XMLSecurityFrameworkController class is used to control the xml security framework. */ public class XMLSecurityFrameworkController implements XDocumentHandler, XSignatureCreationResultListener, XSignatureVerifyResultListener, diff --git a/test/testuno/source/fvt/uno/sw/field/CheckDateTimeField.java b/test/testuno/source/fvt/uno/sw/field/CheckDateTimeField.java index bc10dd44866..01ee2f1d246 100644 --- a/test/testuno/source/fvt/uno/sw/field/CheckDateTimeField.java +++ b/test/testuno/source/fvt/uno/sw/field/CheckDateTimeField.java @@ -133,10 +133,10 @@ private void createTimeFiled(XTextDocument document, String url, PropertyValue[] DateTime dateField = (DateTime) props.getPropertyValue("DateTimeValue"); String dateString = document.getText().getString(); - assertTrue("Verify time field is creatd, by verify it's hour", dateString.indexOf(String.valueOf(dateField.Hours).trim()) != -1); - assertTrue("Verify time field is creatd, by verify it's minutes", dateString.indexOf(String.valueOf(dateField.Minutes).trim()) != -1); + assertTrue("Verify time field is created, by verify it's hour", dateString.indexOf(String.valueOf(dateField.Hours).trim()) != -1); + assertTrue("Verify time field is created, by verify it's minutes", dateString.indexOf(String.valueOf(dateField.Minutes).trim()) != -1); int expectHour = Calendar.getInstance().get(Calendar.HOUR_OF_DAY); - assertEquals("Verify time field is creatd, value is right, by compare Hour", expectHour, dateField.Hours); + assertEquals("Verify time field is created, value is right, by compare Hour", expectHour, dateField.Hours); XStorable store = (XStorable) UnoRuntime.queryInterface(XStorable.class, document); store.storeAsURL(url, propsValue); app.closeDocument(document); @@ -148,7 +148,7 @@ private void createTimeFiled(XTextDocument document, String url, PropertyValue[] Object field = enumeration.nextElement(); XPropertySet props2 = (XPropertySet)UnoRuntime.queryInterface(XPropertySet.class, field); DateTime dateField2 = (DateTime) props2.getPropertyValue("DateTimeValue"); - assertEquals("Verify time field is creatd correct by save and reload.", expectHour, dateField2.Hours); + assertEquals("Verify time field is created correct by save and reload.", expectHour, dateField2.Hours); } @@ -201,10 +201,10 @@ private void createDateFiled(XTextDocument document, String url, PropertyValue[] DateTime dateField = (DateTime) props.getPropertyValue("DateTimeValue"); String dateString = document.getText().getString(); - assertTrue("Verify date field is creatd, by verify it's Month", dateString.indexOf(String.valueOf(dateField.Month).trim()) != -1); - assertTrue("Verify date field is creatd, by verify it's Day", dateString.indexOf(String.valueOf(dateField.Day).trim()) != -1); + assertTrue("Verify date field is created, by verify it's Month", dateString.indexOf(String.valueOf(dateField.Month).trim()) != -1); + assertTrue("Verify date field is created, by verify it's Day", dateString.indexOf(String.valueOf(dateField.Day).trim()) != -1); int expectDay = Calendar.getInstance().get(Calendar.DAY_OF_MONTH); - assertEquals("Verify date field is creatd, value is right, by compare Day", expectDay, dateField.Day); + assertEquals("Verify date field is created, value is right, by compare Day", expectDay, dateField.Day); XStorable store = (XStorable) UnoRuntime.queryInterface(XStorable.class, document); store.storeAsURL(url, propsValue); app.closeDocument(document); @@ -216,7 +216,7 @@ private void createDateFiled(XTextDocument document, String url, PropertyValue[] Object field = enumeration.nextElement(); XPropertySet props2 = (XPropertySet)UnoRuntime.queryInterface(XPropertySet.class, field); DateTime dateField2 = (DateTime) props2.getPropertyValue("DateTimeValue"); - assertEquals("Verify date field is creatd correct by save and reload.", expectDay, dateField2.Day); + assertEquals("Verify date field is created correct by save and reload.", expectDay, dateField2.Day); } }