diff --git a/.github/linters/codespell.txt b/.github/linters/codespell.txt index 82f0756a26f..3b7b46e9ab4 100644 --- a/.github/linters/codespell.txt +++ b/.github/linters/codespell.txt @@ -3404,7 +3404,6 @@ stil sting stip stipped -stirng stoped storag stoream @@ -3455,11 +3454,9 @@ succesfull succesfully successfule successfull -successfuly successs succseeded suficcient -suiteable sumed-up supercede supercedes diff --git a/main/chart2/source/view/charttypes/BarChart.cxx b/main/chart2/source/view/charttypes/BarChart.cxx index d1fe0dd3441..4d92493a6a4 100644 --- a/main/chart2/source/view/charttypes/BarChart.cxx +++ b/main/chart2/source/view/charttypes/BarChart.cxx @@ -664,7 +664,7 @@ void BarChart::createShapes() //@todo iterate through all subsystems to create partial points { - //@todo select a suiteable PositionHelper for this subsystem + //@todo select a suitable PositionHelper for this subsystem BarPositionHelper* pSubPosHelper = pPosHelper; double fUnclippedUpperYValue = fUpperYValue; diff --git a/main/i18npool/source/indexentry/indexentrysupplier_asian.cxx b/main/i18npool/source/indexentry/indexentrysupplier_asian.cxx index 8737016f563..e160d0c2d54 100644 --- a/main/i18npool/source/indexentry/indexentrysupplier_asian.cxx +++ b/main/i18npool/source/indexentry/indexentrysupplier_asian.cxx @@ -79,7 +79,7 @@ IndexEntrySupplier_asian::getIndexCharacter( const OUString& rIndexEntry, } } } - // using alphanumeric index for non-define stirng + // using alphanumeric index for non-define string return OUString(&idxStr[(ch & 0xFFFFFF00) ? 0 : ch], 1); } diff --git a/main/i18npool/source/indexentry/indexentrysupplier_ja_phonetic.cxx b/main/i18npool/source/indexentry/indexentrysupplier_ja_phonetic.cxx index 55d4badb294..7dfd0e5d1c7 100644 --- a/main/i18npool/source/indexentry/indexentrysupplier_ja_phonetic.cxx +++ b/main/i18npool/source/indexentry/indexentrysupplier_ja_phonetic.cxx @@ -40,7 +40,7 @@ OUString SAL_CALL IndexEntrySupplier_ja_phonetic::getIndexCharacter( const OUStr sal_Unicode ch=rIndexEntry.toChar(); sal_uInt16 first = idx[ ch >> 8 ]; if (first == 0xFFFF) { - // using alphanumeric index for non-define stirng + // using alphanumeric index for non-define string return OUString(&idxStr[(ch & 0xFF00) ? 0 : ch], 1); } else { sal_Unicode *idx2 = strstr(implementationName, "syllable") ? syllable : consonant; diff --git a/main/offapi/com/sun/star/chart/Dim3DDiagram.idl b/main/offapi/com/sun/star/chart/Dim3DDiagram.idl index d6ff3628a05..92d06fe481b 100644 --- a/main/offapi/com/sun/star/chart/Dim3DDiagram.idl +++ b/main/offapi/com/sun/star/chart/Dim3DDiagram.idl @@ -49,7 +49,7 @@ published service Dim3DDiagram */ interface com::sun::star::chart::X3DDisplay; - /** makes it easy to set suiteable defaults for illumination and rotation for 3D charts + /** makes it easy to set suitable defaults for illumination and rotation for 3D charts */ [optional] interface ::com::sun::star::chart::X3DDefaultSetter; diff --git a/main/offapi/com/sun/star/chart/X3DDefaultSetter.idl b/main/offapi/com/sun/star/chart/X3DDefaultSetter.idl index afeb40c0dc0..c7884383856 100644 --- a/main/offapi/com/sun/star/chart/X3DDefaultSetter.idl +++ b/main/offapi/com/sun/star/chart/X3DDefaultSetter.idl @@ -34,7 +34,7 @@ //============================================================================= -/** makes it easy to set suiteable defaults for illumination and rotation for 3D charts +/** makes it easy to set suitable defaults for illumination and rotation for 3D charts @see Dim3DDiagram */ @@ -44,12 +44,12 @@ published interface X3DDefaultSetter : com::sun::star::uno::XInterface */ void set3DSettingsToDefault(); - /** sets a suiteable default for the rotation of the current 3D chart. + /** sets a suitable default for the rotation of the current 3D chart. The result may depend on the current chart type. */ void setDefaultRotation(); - /** set suiteable defaults for the illumination of the current 3D chart. + /** set suitable defaults for the illumination of the current 3D chart. The result may dependent on other 3D settings as rotation or shade mode. It may depend on the current chart type also. */ void setDefaultIllumination(); diff --git a/main/offapi/com/sun/star/chart2/Diagram.idl b/main/offapi/com/sun/star/chart2/Diagram.idl index a35cdbf3376..9b664839899 100644 --- a/main/offapi/com/sun/star/chart2/Diagram.idl +++ b/main/offapi/com/sun/star/chart2/Diagram.idl @@ -58,7 +58,7 @@ service Diagram */ interface XTitled; - /** makes it easy to set suiteable defaults for illumination and rotation for 3D charts + /** makes it easy to set suitable defaults for illumination and rotation for 3D charts */ [optional] interface ::com::sun::star::chart::X3DDefaultSetter; diff --git a/main/sd/inc/OutlinerIterator.hxx b/main/sd/inc/OutlinerIterator.hxx index b8b7734ae89..c6dd333e015 100644 --- a/main/sd/inc/OutlinerIterator.hxx +++ b/main/sd/inc/OutlinerIterator.hxx @@ -85,7 +85,7 @@ enum IteratorType {SELECTION,SINGLE_VIEW,DOCUMENT}; Iterator(pDocument,pViewShell,true,BEGIN) for some document and view shell. This iterator can then be compared against Iterator(pDocument,pViewShell,true,END). On equality the - iteration should be stoped without evaluating the iterator: The position + iteration should be stopped without evaluating the iterator: The position of an end iterator is not valid.

*/ class Iterator diff --git a/main/sd/source/filter/ppt/ppt97animations.cxx b/main/sd/source/filter/ppt/ppt97animations.cxx index 9e6c9c8ad0e..c417ad1ff46 100644 --- a/main/sd/source/filter/ppt/ppt97animations.cxx +++ b/main/sd/source/filter/ppt/ppt97animations.cxx @@ -677,7 +677,7 @@ void Ppt97Animation::createAndSetCustomAnimationEffect( SdrObject* pObj ) ::sd::CustomAnimationPresetPtr pPreset( rPresets.getEffectDescriptor( this->GetPresetId() ) ); if( !pPreset.get() ) { - DBG_ERROR("no suiteable preset found for ppt import"); + DBG_ERROR("no suitable preset found for ppt import"); return; } @@ -687,7 +687,7 @@ void Ppt97Animation::createAndSetCustomAnimationEffect( SdrObject* pObj ) ::sd::CustomAnimationEffectPtr pEffect( new ::sd::CustomAnimationEffect( pPreset->create( this->GetPresetSubType() ) ) ); if( !pEffect.get() ) { - DBG_ASSERT(pEffect.get(),"no suiteable effect found"); + DBG_ASSERT(pEffect.get(),"no suitable effect found"); return; } diff --git a/main/slideshow/source/inc/eventmultiplexer.hxx b/main/slideshow/source/inc/eventmultiplexer.hxx index c5970e3bb37..0f444f0e3c5 100644 --- a/main/slideshow/source/inc/eventmultiplexer.hxx +++ b/main/slideshow/source/inc/eventmultiplexer.hxx @@ -626,11 +626,11 @@ public: */ bool notifyPauseMode( bool bPauseShow ); - /** Notify that all audio has to be stoped. + /** Notify that all audio has to be stopped. This method is used by XCommand nodes and all sound playing nodes should listen for this command and - stop theire sounds when its fired. + stop their sounds when its fired. @return true, if this event was processed by anybody. If false is returned, no handler processed diff --git a/main/svl/inc/svl/poolitem.hxx b/main/svl/inc/svl/poolitem.hxx index 2c1cd3d108a..198538c32fc 100644 --- a/main/svl/inc/svl/poolitem.hxx +++ b/main/svl/inc/svl/poolitem.hxx @@ -245,7 +245,7 @@ public: @param rString On success, returns the reconstructed Unicode string. - @return True if the string was successfuly read and reconstructed. + @return True if the string was successfully read and reconstructed. */ static bool readByteString(SvStream & rStream, UniString & rString); @@ -270,7 +270,7 @@ public: @param bUnicode Whether to read in a stream Unicode (true) or byte string (false) representation. - @return True if the string was successfuly read and reconstructed. + @return True if the string was successfully read and reconstructed. */ static bool readUnicodeString(SvStream & rStream, UniString & rString, bool bUnicode); diff --git a/main/sw/source/filter/ww8/wrtww8.cxx b/main/sw/source/filter/ww8/wrtww8.cxx index d98d11cdaf1..e293f40af53 100644 --- a/main/sw/source/filter/ww8/wrtww8.cxx +++ b/main/sw/source/filter/ww8/wrtww8.cxx @@ -3214,7 +3214,7 @@ bool SwWW8Writer::InitStd97CodecUpdateMedium( ::msfilter::MSCodec_Std97& rCodec mpMedium->GetItemSet()->ClearItem( SID_PASSWORD ); } - // nonempty encryption data means hier that the codec was successfuly initialized + // nonempty encryption data means hier that the codec was successfully initialized return ( aEncryptionData.getLength() != 0 ); } diff --git a/main/tools/inc/tools/inetmime.hxx b/main/tools/inc/tools/inetmime.hxx index 0a9fa19af71..2f46c4dcd88 100644 --- a/main/tools/inc/tools/inetmime.hxx +++ b/main/tools/inc/tools/inetmime.hxx @@ -1383,7 +1383,7 @@ struct INetContentTypeParameter */ const UniString m_sValue; - /** This is true if the value is successfuly converted to Unicode, and + /** This is true if the value is successfully converted to Unicode, and false if the value is a special mixture of ISO-LATIN-1 characters and characters from Unicode's Private Use Area. */ diff --git a/main/vcl/aqua/source/dtrans/DataFlavorMapping.hxx b/main/vcl/aqua/source/dtrans/DataFlavorMapping.hxx index da98081a5b0..1158e40a42b 100644 --- a/main/vcl/aqua/source/dtrans/DataFlavorMapping.hxx +++ b/main/vcl/aqua/source/dtrans/DataFlavorMapping.hxx @@ -66,7 +66,7 @@ typedef std::auto_ptr DataProviderPtr_t; class DataFlavorMapper { public: - /* Initialialize a DataFavorMapper instance. Throws a RuntimeException in case the XMimeContentTypeFactory service + /* Initialize a DataFavorMapper instance. Throws a RuntimeException in case the XMimeContentTypeFactory service cannot be created. */ DataFlavorMapper(); @@ -74,7 +74,7 @@ public: /* Map a system data flavor to an OpenOffice data flavor. - Return an empty string if there is not suiteable + Return an empty string if there is not suitable mapping from a system data flavor to a OpenOffice data flavor. */ @@ -82,13 +82,13 @@ public: /* Map an OpenOffice data flavor to a system data flavor. - If there is no suiteable mapping available NULL will + If there is no suitable mapping available NULL will be returned. */ const NSString* openOfficeToSystemFlavor(const com::sun::star::datatransfer::DataFlavor& oooDataFlavor, bool& rbInternal) const; /* Select the best available image data type - If there is no suiteable mapping available NULL will + If there is no suitable mapping available NULL will be returned. */ NSString* openOfficeImageToSystemFlavor(NSPasteboard* pPasteboard) const; diff --git a/main/vos/inc/vos/security.hxx b/main/vos/inc/vos/security.hxx index 27512fb1f62..ae928796bbb 100644 --- a/main/vos/inc/vos/security.hxx +++ b/main/vos/inc/vos/security.hxx @@ -75,28 +75,28 @@ public: /** get the ident of the logged in user. @param strName [out] is the buffer which returns the name @param max [in] is the size of this buffer - @return True, if any user is successfuly logged in, otherwise False + @return True, if any user is successfully logged in, otherwise False */ sal_Bool SAL_CALL getUserIdent(::rtl::OUString& strIdent) const; /** get the name of the logged in user. @param strName [out] is the buffer which returns the name @param max [in] is the size of this buffer - @return True, if any user is successfuly logged in, otherwise False + @return True, if any user is successfully logged in, otherwise False */ sal_Bool SAL_CALL getUserName(::rtl::OUString& strName) const; /** get the home directory of the logged in user. @param strDirectory [out] is the buffer which returns the directory name @param max [in] is the size of this buffer - @return True, if any user is successfuly logged in, otherwise False + @return True, if any user is successfully logged in, otherwise False */ sal_Bool SAL_CALL getHomeDir(::rtl::OUString& strDirectory) const; /** get the directory for configuration data of the logged in user. @param strDirectory [out] is the buffer which returns the directory name @param max [in] is the size of this buffer - @return True, if any user is successfuly logged in, otherwise False + @return True, if any user is successfully logged in, otherwise False */ sal_Bool SAL_CALL getConfigDir(::rtl::OUString& strDirectory) const; diff --git a/main/xmloff/source/meta/xmlversion.cxx b/main/xmloff/source/meta/xmlversion.cxx index e151a471aa8..1562540cb13 100644 --- a/main/xmloff/source/meta/xmlversion.cxx +++ b/main/xmloff/source/meta/xmlversion.cxx @@ -394,7 +394,7 @@ void SAL_CALL XMLVersionListPersistence::store( const uno::Reference< embed::XSt Reference< io::XOutputStream > xOut = xVerStream->getOutputStream(); if ( !xOut.is() ) - throw uno::RuntimeException(); // the stream was successfuly opened for writing already + throw uno::RuntimeException(); // the stream was successfully opened for writing already Reference< io::XActiveDataSource > xSrc( xWriter, uno::UNO_QUERY ); xSrc->setOutputStream(xOut); @@ -457,7 +457,7 @@ uno::Sequence< util::RevisionTag > SAL_CALL XMLVersionListPersistence::load( con aParserInput.aInputStream = xDocStream->getInputStream(); OSL_ENSURE( aParserInput.aInputStream.is(), - "The stream was successfuly opened for reading, the input part must be accessible!\n" ); + "The stream was successfully opened for reading, the input part must be accessible!\n" ); if ( !aParserInput.aInputStream.is() ) throw uno::RuntimeException();