Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix spelling #259

Merged
merged 2 commits into from
Jan 26, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions .github/linters/codespell.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3404,7 +3404,6 @@ stil
sting
stip
stipped
stirng
stoped
storag
stoream
Expand Down Expand Up @@ -3455,11 +3454,9 @@ succesfull
succesfully
successfule
successfull
successfuly
successs
succseeded
suficcient
suiteable
sumed-up
supercede
supercedes
Expand Down
2 changes: 1 addition & 1 deletion main/chart2/source/view/charttypes/BarChart.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion main/offapi/com/sun/star/chart/Dim3DDiagram.idl
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
6 changes: 3 additions & 3 deletions main/offapi/com/sun/star/chart/X3DDefaultSetter.idl
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand All @@ -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();
Expand Down
2 changes: 1 addition & 1 deletion main/offapi/com/sun/star/chart2/Diagram.idl
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
2 changes: 1 addition & 1 deletion main/sd/inc/OutlinerIterator.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ enum IteratorType {SELECTION,SINGLE_VIEW,DOCUMENT};
<code>Iterator(pDocument,pViewShell,true,BEGIN)</code> for some document
and view shell. This iterator can then be compared against
<code>Iterator(pDocument,pViewShell,true,END)</code>. 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.</p>
*/
class Iterator
Expand Down
4 changes: 2 additions & 2 deletions main/sd/source/filter/ppt/ppt97animations.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand All @@ -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;
}

Expand Down
4 changes: 2 additions & 2 deletions main/slideshow/source/inc/eventmultiplexer.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions main/svl/inc/svl/poolitem.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand All @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion main/sw/source/filter/ww8/wrtww8.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -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 );
}

Expand Down
2 changes: 1 addition & 1 deletion main/tools/inc/tools/inetmime.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/
Expand Down
8 changes: 4 additions & 4 deletions main/vcl/aqua/source/dtrans/DataFlavorMapping.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -66,29 +66,29 @@ typedef std::auto_ptr<DataProvider> 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();
~DataFlavorMapper();


/* 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.
*/
com::sun::star::datatransfer::DataFlavor systemToOpenOfficeFlavor( const NSString* systemDataFlavor) const;


/* 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;
Expand Down
8 changes: 4 additions & 4 deletions main/vos/inc/vos/security.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
4 changes: 2 additions & 2 deletions main/xmloff/source/meta/xmlversion.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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();

Expand Down