From c45edc22e2536a416ef5d0d7a50feffed0dbe61e Mon Sep 17 00:00:00 2001 From: John Bampton Date: Wed, 14 Oct 2026 21:10:17 +1000 Subject: [PATCH] [CI] Ran prek autoupdate --freeze; supply chain security The new version of codespell found a bunch of spelling mistakes --- .github/linters/codespell.txt | 4 ++++ .pre-commit-config.yaml | 10 +++++----- main/filter/source/config/tools/split/Splitter.java | 2 +- main/filter/source/msfilter/eschesdo.cxx | 2 +- main/framework/source/helper/ocomponentenumeration.cxx | 2 +- main/framework/source/helper/oframes.cxx | 4 ++-- .../OfficeDev/DesktopEnvironment/FunctionHelper.java | 2 +- .../sun/star/security/XDocumentDigitalSignatures.idl | 4 ++-- main/offapi/com/sun/star/table/AccessibleTableView.idl | 4 ++-- main/sc/source/core/data/validat.cxx | 2 +- main/sc/source/ui/unoobj/scdetect.cxx | 4 ++-- main/sc/source/ui/view/select.cxx | 2 +- .../office/filesystem/OpenOfficeDocFileSystem.java | 2 +- main/sd/source/filter/eppt/epptso.cxx | 2 +- main/sd/source/filter/sddetect.cxx | 4 ++-- main/sfx2/source/doc/guisaveas.cxx | 2 +- main/solenv/inc/pstrules.mk | 2 +- main/starmath/source/smdetect.cxx | 4 ++-- main/svtools/source/dialogs/addresstemplate.cxx | 2 +- main/sw/source/ui/dbui/mmoutputpage.cxx | 2 +- main/sw/source/ui/uno/swdetect.cxx | 4 ++-- main/ucb/source/ucp/webdav/ContentProperties.hxx | 2 +- 22 files changed, 36 insertions(+), 32 deletions(-) diff --git a/.github/linters/codespell.txt b/.github/linters/codespell.txt index f58fa4b0066..a456282fd56 100644 --- a/.github/linters/codespell.txt +++ b/.github/linters/codespell.txt @@ -350,6 +350,7 @@ calcualte calculat caleed caler +calid calle callef calles @@ -2082,6 +2083,7 @@ releant releas releated releation +relevante rellocates relly relys @@ -2338,6 +2340,7 @@ similary similiary simlified simly +simpe simplies simpliest simpy @@ -2631,6 +2634,7 @@ trough tru truns trys +ttest tung tupel ture diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 49d540ce981..8608f721455 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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 @@ -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 @@ -67,7 +67,7 @@ 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 @@ -75,7 +75,7 @@ repos: 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 diff --git a/main/filter/source/config/tools/split/Splitter.java b/main/filter/source/config/tools/split/Splitter.java index 09fd9afc544..285e8469f06 100644 --- a/main/filter/source/config/tools/split/Splitter.java +++ b/main/filter/source/config/tools/split/Splitter.java @@ -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); diff --git a/main/filter/source/msfilter/eschesdo.cxx b/main/filter/source/msfilter/eschesdo.cxx index d49d30b0611..144608ecf8e 100644 --- a/main/filter/source/msfilter/eschesdo.cxx +++ b/main/filter/source/msfilter/eschesdo.cxx @@ -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 ) ) diff --git a/main/framework/source/helper/ocomponentenumeration.cxx b/main/framework/source/helper/ocomponentenumeration.cxx index d54d6e2777c..d0d4f3aa361 100644 --- a/main/framework/source/helper/ocomponentenumeration.cxx +++ b/main/framework/source/helper/ocomponentenumeration.cxx @@ -157,7 +157,7 @@ Any SAL_CALL OComponentEnumeration::nextElement() } //***************************************************************************************************************** -// proteced method +// protected method //***************************************************************************************************************** void OComponentEnumeration::impl_resetObject() { diff --git a/main/framework/source/helper/oframes.cxx b/main/framework/source/helper/oframes.cxx index ac23c35ec58..ef039507be7 100644 --- a/main/framework/source/helper/oframes.cxx +++ b/main/framework/source/helper/oframes.cxx @@ -92,7 +92,7 @@ OFrames::OFrames( const css::uno::Reference< XMultiServiceFactory >& xFactory , } //***************************************************************************************************************** -// (proteced!) destructor +// (protected!) destructor //***************************************************************************************************************** OFrames::~OFrames() { @@ -353,7 +353,7 @@ sal_Bool SAL_CALL OFrames::hasElements() } //***************************************************************************************************************** -// proteced method +// protected method //***************************************************************************************************************** void OFrames::impl_resetObject() { diff --git a/main/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/FunctionHelper.java b/main/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/FunctionHelper.java index 7deaf436223..65b4c9dab9a 100644 --- a/main/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/FunctionHelper.java +++ b/main/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/FunctionHelper.java @@ -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) diff --git a/main/offapi/com/sun/star/security/XDocumentDigitalSignatures.idl b/main/offapi/com/sun/star/security/XDocumentDigitalSignatures.idl index 30c377b5c45..26b2d59c62f 100644 --- a/main/offapi/com/sun/star/security/XDocumentDigitalSignatures.idl +++ b/main/offapi/com/sun/star/security/XDocumentDigitalSignatures.idl @@ -40,7 +40,7 @@ module com { module sun { module star { module security { /** interface for signing and verifying digital signatures in office documents

- 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.

*/ @@ -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); diff --git a/main/offapi/com/sun/star/table/AccessibleTableView.idl b/main/offapi/com/sun/star/table/AccessibleTableView.idl index 41ccf999330..3cb32ae33a6 100644 --- a/main/offapi/com/sun/star/table/AccessibleTableView.idl +++ b/main/offapi/com/sun/star/table/AccessibleTableView.idl @@ -67,7 +67,7 @@ published service AccessibleTableView XAccessibleContext::getAccessibleParent 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.
  • The children returned by AccessibleStateType::DEFUNC 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.
  • + page preview is already opened, otherwise it is true.
  • AccessibleStateType::EDITABLE is false if the table is showed in a page preview or the table is diff --git a/main/sc/source/core/data/validat.cxx b/main/sc/source/core/data/validat.cxx index 645f889363c..bfaa2de5096 100644 --- a/main/sc/source/core/data/validat.cxx +++ b/main/sc/source/core/data/validat.cxx @@ -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(); diff --git a/main/sc/source/ui/unoobj/scdetect.cxx b/main/sc/source/ui/unoobj/scdetect.cxx index 905ba35c033..9faa7bb4982 100644 --- a/main/sc/source/ui/unoobj/scdetect.cxx +++ b/main/sc/source/ui/unoobj/scdetect.cxx @@ -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; @@ -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; diff --git a/main/sc/source/ui/view/select.cxx b/main/sc/source/ui/view/select.cxx index 86e6aa731de..1df0364792a 100644 --- a/main/sc/source/ui/view/select.cxx +++ b/main/sc/source/ui/view/select.cxx @@ -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. diff --git a/main/scripting/java/org/openoffice/netbeans/modules/office/filesystem/OpenOfficeDocFileSystem.java b/main/scripting/java/org/openoffice/netbeans/modules/office/filesystem/OpenOfficeDocFileSystem.java index ceec2dd1f5e..3ac23e56903 100644 --- a/main/scripting/java/org/openoffice/netbeans/modules/office/filesystem/OpenOfficeDocFileSystem.java +++ b/main/scripting/java/org/openoffice/netbeans/modules/office/filesystem/OpenOfficeDocFileSystem.java @@ -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 diff --git a/main/sd/source/filter/eppt/epptso.cxx b/main/sd/source/filter/eppt/epptso.cxx index 19ab85efa23..a095a24d2ea 100644 --- a/main/sd/source/filter/eppt/epptso.cxx +++ b/main/sd/source/filter/eppt/epptso.cxx @@ -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 ) ) diff --git a/main/sd/source/filter/sddetect.cxx b/main/sd/source/filter/sddetect.cxx index e25fe3aac33..f4ab81fcab6 100644 --- a/main/sd/source/filter/sddetect.cxx +++ b/main/sd/source/filter/sddetect.cxx @@ -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; @@ -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; diff --git a/main/sfx2/source/doc/guisaveas.cxx b/main/sfx2/source/doc/guisaveas.cxx index 3f378d2feae..6f8af3cfde0 100644 --- a/main/sfx2/source/doc/guisaveas.cxx +++ b/main/sfx2/source/doc/guisaveas.cxx @@ -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 ) { diff --git a/main/solenv/inc/pstrules.mk b/main/solenv/inc/pstrules.mk index 2093b723d0c..28c0d5c8f86 100644 --- a/main/solenv/inc/pstrules.mk +++ b/main/solenv/inc/pstrules.mk @@ -111,7 +111,7 @@ $(SLO)/$(SECOND_BUILD)_%.obj : %.c .ENDIF # "$(SECOND_BUILD)"!="" #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -#+++++++++++ srcipting rules ++++++++++++++++++++++++++++++++++++++++ +#+++++++++++ scripting rules ++++++++++++++++++++++++++++++++++++++++ #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ .IF "$(PARFILES)"!="" diff --git a/main/starmath/source/smdetect.cxx b/main/starmath/source/smdetect.cxx index adb1acd45e8..c44f4afa9e9 100644 --- a/main/starmath/source/smdetect.cxx +++ b/main/starmath/source/smdetect.cxx @@ -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; @@ -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; diff --git a/main/svtools/source/dialogs/addresstemplate.cxx b/main/svtools/source/dialogs/addresstemplate.cxx index 247ab817e21..e49c9d85539 100644 --- a/main/svtools/source/dialogs/addresstemplate.cxx +++ b/main/svtools/source/dialogs/addresstemplate.cxx @@ -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 ); } diff --git a/main/sw/source/ui/dbui/mmoutputpage.cxx b/main/sw/source/ui/dbui/mmoutputpage.cxx index f1cf8af2718..a667f654446 100644 --- a/main/sw/source/ui/dbui/mmoutputpage.cxx +++ b/main/sw/source/ui/dbui/mmoutputpage.cxx @@ -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); } diff --git a/main/sw/source/ui/uno/swdetect.cxx b/main/sw/source/ui/uno/swdetect.cxx index cd848ec6203..cdc07753747 100644 --- a/main/sw/source/ui/uno/swdetect.cxx +++ b/main/sw/source/ui/uno/swdetect.cxx @@ -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; @@ -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; diff --git a/main/ucb/source/ucp/webdav/ContentProperties.hxx b/main/ucb/source/ucp/webdav/ContentProperties.hxx index 0185a127527..311d52a02ca 100644 --- a/main/ucb/source/ucp/webdav/ContentProperties.hxx +++ b/main/ucb/source/ucp/webdav/ContentProperties.hxx @@ -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<