Skip to content
Open
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
4 changes: 4 additions & 0 deletions .github/linters/codespell.txt
Original file line number Diff line number Diff line change
Expand Up @@ -350,6 +350,7 @@ calcualte
calculat
caleed
caler
calid
calle
callef
calles
Expand Down Expand Up @@ -2082,6 +2083,7 @@ releant
releas
releated
releation
relevante
rellocates
relly
relys
Expand Down Expand Up @@ -2338,6 +2340,7 @@ similary
similiary
simlified
simly
simpe
simplies
simpliest
simpy
Expand Down Expand Up @@ -2631,6 +2634,7 @@ trough
tru
truns
trys
ttest
tung
tupel
ture
Expand Down
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ repos:
- id: identity
- id: check-hooks-apply
- repo: https://github.com/gitleaks/gitleaks
rev: v8.30.0
rev: 83d9cd684c87d95d656c1458ef04895a7f1cbd8e # frozen: v8.30.1
hooks:
- id: gitleaks
name: run gitleaks
description: check for secrets with gitleaks
- repo: https://github.com/Lucas-C/pre-commit-hooks
rev: v1.5.5
rev: ad1b27d73581aa16cca06fc4a0761fc563ffe8e8 # frozen: v1.5.6
hooks:
- id: insert-license
name: add license for all Markdown files
Expand All @@ -44,7 +44,7 @@ repos:
- .github/workflows/license-templates/LICENSE.txt
- --fuzzy-match-generates-todo
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
rev: 3e8a8703264a2f4a69428a0aa4dcb512790b2c8c # frozen: v6.0.0
hooks:
- id: check-case-conflict
description: check for files with names that would conflict on a case-insensitive filesystem like MacOS HFS+ or Windows FAT
Expand All @@ -67,15 +67,15 @@ repos:
files: (m|M)akefile$|\.(asm|asp|bas|bat|c|cl|cmd|common|component|cpp|cs|cxx|dtd|dxp|el|h|hrc|hxx|idl|in|ini|java|js|lst|m|m4|map|md|mk|mm|mod|old|pas|php|pl|pm|pmk|properties|props|py|rc|rdf|rng|s|sdi|sh|src|template|ulf|vbs|xba|xcs|xcu|xdl|xhp|xlb|xmi|xml|xsd|xslt?|ya?ml)$
args: [--markdown-linebreak-ext=md]
- repo: https://github.com/codespell-project/codespell
rev: v2.4.1
rev: 57b21406f092110c18776e39b0bda50d37c945c8 # frozen: v2.4.3
hooks:
- id: codespell
name: run codespell
description: check spelling with codespell
args: [--ignore-words=.github/linters/codespell.txt]
exclude: ^extras/
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.47.0
rev: 5b5dddc4fb0f83c3ea1fc5616fa63e115dce83e0 # frozen: v0.49.1
hooks:
- id: markdownlint
name: run markdownlint
Expand Down
2 changes: 1 addition & 1 deletion main/filter/source/config/tools/split/Splitter.java
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ private void createDirectoryStructures()

// delete simple files only; no directories!
// Because this tool may run inside
// a cvs environment its not a godd idea to do so.
// a cvs environment its not a good idea to do so.
boolean bFilesOnly = false;
FileHelper.makeDirectoryEmpty(m_aDataSet.m_aOutDir, bFilesOnly);

Expand Down
2 changes: 1 addition & 1 deletion main/filter/source/msfilter/eschesdo.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -607,7 +607,7 @@ sal_uInt32 ImplEESdrWriter::ImplWriteShape( ImplEESdrObject& rObj,
if( rObj.ImplGetText() )
{
/* SJ #i34951#: because M. documents are not allowing GraphicObjects containing text, we
have to create a simpe Rectangle with fill bitmap instead (while not allowing BitmapMode_Repeat).
have to create a simple Rectangle with fill bitmap instead (while not allowing BitmapMode_Repeat).
*/
ADD_SHAPE( ESCHER_ShpInst_Rectangle, 0xa00 ); // Flags: Connector | HasSpt
if ( aPropOpt.CreateGraphicProperties( rObj.mXPropSet, String( RTL_CONSTASCII_USTRINGPARAM( "GraphicURL" ) ), sal_True, sal_True, sal_False ) )
Expand Down
2 changes: 1 addition & 1 deletion main/framework/source/helper/ocomponentenumeration.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ Any SAL_CALL OComponentEnumeration::nextElement()
}

//*****************************************************************************************************************
// proteced method
// protected method
//*****************************************************************************************************************
void OComponentEnumeration::impl_resetObject()
{
Expand Down
4 changes: 2 additions & 2 deletions main/framework/source/helper/oframes.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ OFrames::OFrames( const css::uno::Reference< XMultiServiceFactory >& xFactory ,
}

//*****************************************************************************************************************
// (proteced!) destructor
// (protected!) destructor
//*****************************************************************************************************************
OFrames::~OFrames()
{
Expand Down Expand Up @@ -353,7 +353,7 @@ sal_Bool SAL_CALL OFrames::hasElements()
}

//*****************************************************************************************************************
// proteced method
// protected method
//*****************************************************************************************************************
void OFrames::impl_resetObject()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -984,7 +984,7 @@ public static String getUniqueFrameName()
*
* @param aParent parent window of this dialog
* @param bOpen If it is set to true =>
* dialog is opend in "file open" mode -
* dialog is opened in "file open" mode -
* otherwise in "file save" mode.
*/
public static String askUserForFileURL(Component aParent,boolean bOpen)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ module com { module sun { module star { module security {
/** interface for signing and verifying digital signatures in office documents

<p>
This interface can be used to digitaly sign different content in a office document.
This interface can be used to digitally sign different content in a office document.
It can also be used to verify digital signatures.
</p>
*/
Expand Down Expand Up @@ -99,7 +99,7 @@ interface XDocumentDigitalSignatures : com::sun::star::uno::XInterface
*/
string getScriptingContentSignatureDefaultStreamName();

/** signs the full Package, which means everything in the storage excecpt the content of META-INF
/** signs the full Package, which means everything in the storage except the content of META-INF
*/
boolean signPackage( [in] ::com::sun::star::embed::XStorage Storage,
[in] ::com::sun::star::io::XStream xSignStream);
Expand Down
4 changes: 2 additions & 2 deletions main/offapi/com/sun/star/table/AccessibleTableView.idl
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ published service AccessibleTableView
<method scope="::com::sun::star::accessibility"
>XAccessibleContext::getAccessibleParent</method>
is the accessible text document view, a page of the accessible
text documenent page preview, or the accessible spreadsheet
text document page preview, or the accessible spreadsheet
page preview.</li>
<li>The children returned by
<method scope="::com::sun::star::accessibility"
Expand Down Expand Up @@ -103,7 +103,7 @@ published service AccessibleTableView
>AccessibleStateType::DEFUNC</const> is always false if the
table is not deleted, the document is open. Also it is
false if the table was showed in a page preview and the
page preview is already opend, otherwise it is true.</li>
page preview is already opened, otherwise it is true.</li>
<li><const scope="::com::sun::star::accessibility"
>AccessibleStateType::EDITABLE</const> is false if the
table is showed in a page preview or the table is
Expand Down
2 changes: 1 addition & 1 deletion main/sc/source/core/data/validat.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -684,7 +684,7 @@ bool ScValidationData::GetSelectionFromFormula( TypedScStrCollection* pStrings,
pValues = xMatRef;
}

// which index matched. We will want it eventually to pre-select that item.
// which index matched. We will want it eventually to preselect that item.
rMatch = -1;

SvNumberFormatter* pFormatter = GetDocument()->GetFormatTable();
Expand Down
4 changes: 2 additions & 2 deletions main/sc/source/ui/unoobj/scdetect.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -804,7 +804,7 @@ ::rtl::OUString SAL_CALL ScFilterDetect::detect( ::com::sun::star::uno::Sequence

if ( nIndexOfInputStream == -1 && xStream.is() )
{
// if input stream wasn't part of the descriptor, now it should be, otherwise the content would be opend twice
// if input stream wasn't part of the descriptor, now it should be, otherwise the content would be opened twice
lDescriptor.realloc( nPropertyCount + 1 );
lDescriptor[nPropertyCount].Name = ::rtl::OUString::createFromAscii("InputStream");
lDescriptor[nPropertyCount].Value <<= xStream;
Expand All @@ -813,7 +813,7 @@ ::rtl::OUString SAL_CALL ScFilterDetect::detect( ::com::sun::star::uno::Sequence

if ( nIndexOfContent == -1 && xContent.is() )
{
// if input stream wasn't part of the descriptor, now it should be, otherwise the content would be opend twice
// if input stream wasn't part of the descriptor, now it should be, otherwise the content would be opened twice
lDescriptor.realloc( nPropertyCount + 1 );
lDescriptor[nPropertyCount].Name = ::rtl::OUString::createFromAscii("UCBContent");
lDescriptor[nPropertyCount].Value <<= xContent;
Expand Down
2 changes: 1 addition & 1 deletion main/sc/source/ui/view/select.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -594,7 +594,7 @@ sal_Bool ScViewFunctionSet::SetCursorAtCell( SCsCOL nPosX, SCsROW nPosY, sal_Boo
aAnchorPos.Set( nPosX, nPosY, nTab );
bStarted = sal_True;
}
// #i3875# *Hack* When a new cell is Ctrl-clicked with no pre-selected cells,
// #i3875# *Hack* When a new cell is Ctrl-clicked with no preselected cells,
// it highlights that new cell as well as the old cell where the cursor is
// positioned prior to the click. A selection mode via Shift-F8 should also
// follow the same behavior.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -946,7 +946,7 @@ public void close()
}

/* -----------------------------------------------------------
* Cleans each entiry in the filesystem cache.
* Cleans each entry in the filesystem cache.
*/
private class CleanStrategy
implements Strategy
Expand Down
2 changes: 1 addition & 1 deletion main/sd/source/filter/eppt/epptso.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -4844,7 +4844,7 @@ void PPTWriter::ImplWritePage( const PHLayout& rLayout, EscherSolverContainer& a
if ( mnTextSize ) // graphic object oder Flachenfuellung
{
/* SJ #i34951#: because M. documents are not allowing GraphicObjects containing text, we
have to create a simpe Rectangle with fill bitmap instead (while not allowing BitmapMode_Repeat).
have to create a simple Rectangle with fill bitmap instead (while not allowing BitmapMode_Repeat).
*/
ImplCreateShape( ESCHER_ShpInst_Rectangle, 0xa00, aSolverContainer ); // Flags: Connector | HasSpt
if ( aPropOpt.CreateGraphicProperties( mXPropSet, String( RTL_CONSTASCII_USTRINGPARAM( "GraphicURL" ) ), sal_True, sal_True, sal_False ) )
Expand Down
4 changes: 2 additions & 2 deletions main/sd/source/filter/sddetect.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ OUString SAL_CALL SdFilterDetect::detect( Sequence< PropertyValue >& lDescriptor

if ( nIndexOfInputStream == -1 && xStream.is() )
{
// if input stream wasn't part of the descriptor, now it should be, otherwise the content would be opend twice
// if input stream wasn't part of the descriptor, now it should be, otherwise the content would be opened twice
lDescriptor.realloc( nPropertyCount + 1 );
lDescriptor[nPropertyCount].Name = OUString::createFromAscii("InputStream");
lDescriptor[nPropertyCount].Value <<= xStream;
Expand All @@ -434,7 +434,7 @@ OUString SAL_CALL SdFilterDetect::detect( Sequence< PropertyValue >& lDescriptor

if ( nIndexOfContent == -1 && xContent.is() )
{
// if input stream wasn't part of the descriptor, now it should be, otherwise the content would be opend twice
// if input stream wasn't part of the descriptor, now it should be, otherwise the content would be opened twice
lDescriptor.realloc( nPropertyCount + 1 );
lDescriptor[nPropertyCount].Name = OUString::createFromAscii("UCBContent");
lDescriptor[nPropertyCount].Value <<= xContent;
Expand Down
2 changes: 1 addition & 1 deletion main/sfx2/source/doc/guisaveas.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -1498,7 +1498,7 @@ sal_Bool SfxStoringHelper::GUIStoreModel( const uno::Reference< frame::XModel >&
{
bUseFilterOptions = aModelData.OutputFileDialog( nStoreMode, aFilterProps, bSetStandardName, aSuggestedName, bPreselectPassword, aSuggestedDir, nDialog, sStandardDir, aBlackList );

// in case the dialog is opend a second time the folder should be the same as before, not what was handed over by parameters
// in case the dialog is opened a second time the folder should be the same as before, not what was handed over by parameters
aSuggestedDir = ::rtl::OUString();
if ( nStoreMode == SAVEAS_REQUESTED )
{
Expand Down
2 changes: 1 addition & 1 deletion main/solenv/inc/pstrules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ $(SLO)/$(SECOND_BUILD)_%.obj : %.c
.ENDIF # "$(SECOND_BUILD)"!=""

#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
#+++++++++++ srcipting rules ++++++++++++++++++++++++++++++++++++++++
#+++++++++++ scripting rules ++++++++++++++++++++++++++++++++++++++++
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

.IF "$(PARFILES)"!=""
Expand Down
4 changes: 2 additions & 2 deletions main/starmath/source/smdetect.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ ::rtl::OUString SAL_CALL SmFilterDetect::detect( ::com::sun::star::uno::Sequence

if ( nIndexOfInputStream == -1 && xStream.is() )
{
// if input stream wasn't part of the descriptor, now it should be, otherwise the content would be opend twice
// if input stream wasn't part of the descriptor, now it should be, otherwise the content would be opened twice
lDescriptor.realloc( nPropertyCount + 1 );
lDescriptor[nPropertyCount].Name = ::rtl::OUString::createFromAscii("InputStream");
lDescriptor[nPropertyCount].Value <<= xStream;
Expand All @@ -439,7 +439,7 @@ ::rtl::OUString SAL_CALL SmFilterDetect::detect( ::com::sun::star::uno::Sequence

if ( nIndexOfContent == -1 && xContent.is() )
{
// if input stream wasn't part of the descriptor, now it should be, otherwise the content would be opend twice
// if input stream wasn't part of the descriptor, now it should be, otherwise the content would be opened twice
lDescriptor.realloc( nPropertyCount + 1 );
lDescriptor[nPropertyCount].Name = ::rtl::OUString::createFromAscii("UCBContent");
lDescriptor[nPropertyCount].Value <<= xContent;
Expand Down
2 changes: 1 addition & 1 deletion main/svtools/source/dialogs/addresstemplate.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ namespace svt
String selectedDataSource = _dataSourceCombo.GetText();
if ( _dataSourceCombo.GetEntryPos( selectedDataSource ) == LISTBOX_ENTRY_NOTFOUND )
{
// none of the pre-selected entries -> assume a path to a database document
// none of the preselected entries -> assume a path to a database document
OFileNotation aFileNotation( selectedDataSource, OFileNotation::N_SYSTEM );
selectedDataSource = aFileNotation.get( OFileNotation::N_URL );
}
Expand Down
2 changes: 1 addition & 1 deletion main/sw/source/ui/dbui/mmoutputpage.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -628,7 +628,7 @@ IMPL_LINK(SwMailMergeOutputPage, OutputTypeHdl_Impl, RadioButton*, pButton)
if(aAssignment.getLength() > MM_PART_E_MAIL && aAssignment[MM_PART_E_MAIL].getLength())
sEMailColumn = aAssignment[MM_PART_E_MAIL];
m_aMailToLB.SelectEntry(sEMailColumn);
// HTML format pre-selected
// HTML format preselected
m_aSendAsLB.SelectEntryPos(3);
SendTypeHdl_Impl(&m_aSendAsLB);
}
Expand Down
4 changes: 2 additions & 2 deletions main/sw/source/ui/uno/swdetect.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ ::rtl::OUString SAL_CALL SwFilterDetect::detect( uno::Sequence< beans::PropertyV

if ( nIndexOfInputStream == -1 && xStream.is() )
{
// if input stream wasn't part of the descriptor, now it should be, otherwise the content would be opend twice
// if input stream wasn't part of the descriptor, now it should be, otherwise the content would be opened twice
lDescriptor.realloc( nPropertyCount + 1 );
lDescriptor[nPropertyCount].Name = ::rtl::OUString::createFromAscii("InputStream");
lDescriptor[nPropertyCount].Value <<= xStream;
Expand All @@ -369,7 +369,7 @@ ::rtl::OUString SAL_CALL SwFilterDetect::detect( uno::Sequence< beans::PropertyV

if ( nIndexOfContent == -1 && xContent.is() )
{
// if input stream wasn't part of the descriptor, now it should be, otherwise the content would be opend twice
// if input stream wasn't part of the descriptor, now it should be, otherwise the content would be opened twice
lDescriptor.realloc( nPropertyCount + 1 );
lDescriptor[nPropertyCount].Name = ::rtl::OUString::createFromAscii("UCBContent");
lDescriptor[nPropertyCount].Value <<= xContent;
Expand Down
2 changes: 1 addition & 1 deletion main/ucb/source/ucp/webdav/ContentProperties.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ public:
bool bIncludeUnmatched = true );

// return true, if all properties contained in rProps are contained in
// this ContentProperties instance. Otherwiese, false will be returned.
// this ContentProperties instance. Otherwise, false will be returned.
// rNamesNotContained contain the missing names.
bool containsAllNames(
const com::sun::star::uno::Sequence<
Expand Down