This is an automated email from the ASF dual-hosted git repository. mseidel pushed a commit to branch trunk in repository https://gitbox.apache.org/repos/asf/openoffice.git
The following commit(s) were added to refs/heads/trunk by this push: new de739a4566 Fix spelling (#222) de739a4566 is described below commit de739a45664e13ac6744efb02ae3ce7d6c95e7a9 Author: John Bampton <jbamp...@users.noreply.github.com> AuthorDate: Tue Jul 9 01:37:07 2024 +1000 Fix spelling (#222) * Fix spelling * Update unochart.cxx --------- Co-authored-by: Matthias Seidel <msei...@apache.org> --- .../com/sun/star/comp/helper/Bootstrap_Test.java | 2 +- .../comp/helper/RegistryServiceFactory_Test.java | 2 +- .../sun/star/comp/servicemanager/ServiceManager.java | 6 +++--- .../source/filter/xml/xmlExportDocumentHandler.cxx | 2 +- .../source/filter/xml/xmlImportDocumentHandler.cxx | 2 +- main/sc/source/ui/view/formatsh.cxx | 2 +- main/solenv/bin/build.pl | 6 +++--- main/svtools/source/table/tablecontrol_impl.cxx | 8 ++++---- main/svx/source/sdr/properties/measureproperties.cxx | 2 +- main/sw/source/core/text/txtftn.cxx | 2 +- main/sw/source/core/unocore/unochart.cxx | 20 ++++++++++---------- 11 files changed, 27 insertions(+), 27 deletions(-) diff --git a/main/javaunohelper/test/com/sun/star/comp/helper/Bootstrap_Test.java b/main/javaunohelper/test/com/sun/star/comp/helper/Bootstrap_Test.java index 0781bbf087..8360ed8c55 100644 --- a/main/javaunohelper/test/com/sun/star/comp/helper/Bootstrap_Test.java +++ b/main/javaunohelper/test/com/sun/star/comp/helper/Bootstrap_Test.java @@ -61,7 +61,7 @@ public class Bootstrap_Test { System.out.println("Available services are:"); System.err.println(); if (services.length == 0) - System.out.println("No services avialable!"); + System.out.println("No services available!"); else for ( int i=0; i<services.length; i++ ) diff --git a/main/javaunohelper/test/com/sun/star/comp/helper/RegistryServiceFactory_Test.java b/main/javaunohelper/test/com/sun/star/comp/helper/RegistryServiceFactory_Test.java index a9be323bb1..04e6e41067 100644 --- a/main/javaunohelper/test/com/sun/star/comp/helper/RegistryServiceFactory_Test.java +++ b/main/javaunohelper/test/com/sun/star/comp/helper/RegistryServiceFactory_Test.java @@ -60,7 +60,7 @@ public class RegistryServiceFactory_Test { System.out.println("Available services are:"); System.err.println(); if (services.length == 0) - System.out.println("No services avialable!"); + System.out.println("No services available!"); else for ( int i=0; i<services.length; i++ ) diff --git a/main/jurt/java/jurt/src/main/java/com/sun/star/comp/servicemanager/ServiceManager.java b/main/jurt/java/jurt/src/main/java/com/sun/star/comp/servicemanager/ServiceManager.java index f694bc0a7f..98074d8c8b 100644 --- a/main/jurt/java/jurt/src/main/java/com/sun/star/comp/servicemanager/ServiceManager.java +++ b/main/jurt/java/jurt/src/main/java/com/sun/star/comp/servicemanager/ServiceManager.java @@ -338,7 +338,7 @@ public class ServiceManager implements XMultiServiceFactory, } /** - * Supplies a list of all avialable services names. + * Supplies a list of all available services names. * <p> * @return list of Strings of all service names * @see com.sun.star.container.XContentEnumerationAccess @@ -634,9 +634,9 @@ public class ServiceManager implements XMultiServiceFactory, } /** - * Provides an enumeration of all registred services. + * Provides an enumeration of all registered services. * <p> - * @return an enumeration of all avialable services. + * @return an enumeration of all available services. * @see com.sun.star.conatiner.XEnumerationAccess */ public XEnumeration createEnumeration() diff --git a/main/reportdesign/source/filter/xml/xmlExportDocumentHandler.cxx b/main/reportdesign/source/filter/xml/xmlExportDocumentHandler.cxx index f8e50ada77..82f2bdcb08 100644 --- a/main/reportdesign/source/filter/xml/xmlExportDocumentHandler.cxx +++ b/main/reportdesign/source/filter/xml/xmlExportDocumentHandler.cxx @@ -317,7 +317,7 @@ void SAL_CALL ExportDocumentHandler::initialize( const uno::Sequence< uno::Any > m_xDelegatee = aArgs.getUnpackedValueOrDefault(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("DocumentHandler")),m_xDelegatee); m_xModel = aArgs.getUnpackedValueOrDefault(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("Model")),m_xModel); - OSL_ENSURE(m_xDelegatee.is(),"No document handler avialable!"); + OSL_ENSURE(m_xDelegatee.is(),"No document handler available!"); if ( !m_xDelegatee.is() || !m_xModel.is() ) throw uno::Exception(); diff --git a/main/reportdesign/source/filter/xml/xmlImportDocumentHandler.cxx b/main/reportdesign/source/filter/xml/xmlImportDocumentHandler.cxx index 21931d887b..3350b32659 100644 --- a/main/reportdesign/source/filter/xml/xmlImportDocumentHandler.cxx +++ b/main/reportdesign/source/filter/xml/xmlImportDocumentHandler.cxx @@ -336,7 +336,7 @@ void SAL_CALL ImportDocumentHandler::initialize( const uno::Sequence< uno::Any > m_xDelegatee = aArgs.getUnpackedValueOrDefault(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("DocumentHandler")),m_xDelegatee); m_xModel = aArgs.getUnpackedValueOrDefault(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("Model")),m_xModel); - OSL_ENSURE(m_xDelegatee.is(),"No document handler avialable!"); + OSL_ENSURE(m_xDelegatee.is(),"No document handler available!"); if ( !m_xDelegatee.is() || !m_xModel.is() ) throw uno::Exception(); diff --git a/main/sc/source/ui/view/formatsh.cxx b/main/sc/source/ui/view/formatsh.cxx index a7be33e243..9fca3de04b 100644 --- a/main/sc/source/ui/view/formatsh.cxx +++ b/main/sc/source/ui/view/formatsh.cxx @@ -2043,7 +2043,7 @@ void ScFormatShell::GetAttrState( SfxItemSet& rSet ) rSet.Put( aItem ); rSet.InvalidateItem(SID_FRAME_LINESTYLE); } - else // all the lines have same style or no line availavle, use initial value (0,0,0,0) + else // all the lines have same style or no line available, use initial value (0,0,0,0) { SvxLineItem aItem(SID_FRAME_LINESTYLE); aItem.SetLine(&aLine); diff --git a/main/solenv/bin/build.pl b/main/solenv/bin/build.pl index a39e4b105f..b3631c87b7 100755 --- a/main/solenv/bin/build.pl +++ b/main/solenv/bin/build.pl @@ -528,7 +528,7 @@ sub schedule_rebuild { initialize_html_info($_); foreach my $waiter (keys %{$reversed_dependencies{$_}}) { - # for rebuild_all_dependent - refacture "if" condition + # for rebuild_all_dependent - refactor "if" condition ${$global_deps_hash{$waiter}}{$_}++ if (!defined $build_is_finished{$waiter}); }; delete $projects_deps_hash{$_} if defined $projects_deps_hash{$_}; @@ -1435,7 +1435,7 @@ sub usage { print STDERR " --with_branches- the same as \"--from\" but with build all projects in neighbour branches\n"; print STDERR " --skip - do not build certain module(s)\n"; print STDERR " --since - build all projects beginning from the specified till current one (the same as \"--all:prj_name\", but skipping prj_name)\n"; - print STDERR " --checkmodules - check if all required parent projects are availlable\n"; + print STDERR " --checkmodules - check if all required parent projects are available\n"; print STDERR " --show - show what is going to be built\n"; print STDERR " --file - generate command file file_name\n"; print STDERR " --deliver - only deliver, no build (usable for \'-all\' and \'-from\' keys)\n"; @@ -2705,7 +2705,7 @@ sub do_exit { }; # -# Procedure sorts module in user-frendly order +# Procedure sorts module in user-friendly order # sub sort_modules_appearance { foreach (keys %dead_parents) { diff --git a/main/svtools/source/table/tablecontrol_impl.cxx b/main/svtools/source/table/tablecontrol_impl.cxx index 9d0818647a..597e500dbf 100644 --- a/main/svtools/source/table/tablecontrol_impl.cxx +++ b/main/svtools/source/table/tablecontrol_impl.cxx @@ -1092,7 +1092,7 @@ namespace svt { namespace table continue; OSL_ENSURE( o_newColWidthsPixel[i] <= effectiveColumnLimits[i].second, - "TableControl_Impl::impl_ni_calculateColumnWidths: inconsitency!" ); + "TableControl_Impl::impl_ni_calculateColumnWidths: inconsistency!" ); if ( o_newColWidthsPixel[i] >= effectiveColumnLimits[i].first ) { columnFlexibilities[i] = 0; @@ -1167,7 +1167,7 @@ namespace svt { namespace table continue; OSL_ENSURE( o_newColWidthsPixel[i] >= effectiveColumnLimits[i].first, - "TableControl_Impl::impl_ni_calculateColumnWidths: inconsitency!" ); + "TableControl_Impl::impl_ni_calculateColumnWidths: inconsistency!" ); if ( o_newColWidthsPixel[i] <= effectiveColumnLimits[i].first ) { columnFlexibilities[i] = 0; @@ -2361,7 +2361,7 @@ namespace svt { namespace table m_pVScroll->SetThumbPos( m_nTopRow ); } - // The scroll bar availaility might change when we scrolled. + // The scroll bar availability might change when we scrolled. // For instance, imagine a view with 10 rows, if which 5 fit into the window, numbered 1 to 10. // Now let // - the user scroll to row number 6, so the last 5 rows are visible @@ -2441,7 +2441,7 @@ namespace svt { namespace table m_pHScroll->SetThumbPos( m_nLeftColumn ); } - // The scroll bar availaility might change when we scrolled. This is because we do not hide + // The scroll bar availability might change when we scrolled. This is because we do not hide // the scrollbar when it is, in theory, unnecessary, but currently at a position > 0. In this case, it will // be auto-hidden when it's scrolled back to pos 0. if ( m_nLeftColumn == 0 ) diff --git a/main/svx/source/sdr/properties/measureproperties.cxx b/main/svx/source/sdr/properties/measureproperties.cxx index 9b2bd2ffa7..537fc72b9c 100644 --- a/main/svx/source/sdr/properties/measureproperties.cxx +++ b/main/svx/source/sdr/properties/measureproperties.cxx @@ -113,7 +113,7 @@ namespace sdr GetObjectItemSet(); //#71958# by default, the show units Bool-Item is set as hard - // attribute to sal_True to aviod confusion when copying SdrMeasureObj's + // attribute to sal_True to avoid confusion when copying SdrMeasureObj's // from one application to another mpItemSet->Put(SdrMeasureShowUnitItem(sal_True)); diff --git a/main/sw/source/core/text/txtftn.cxx b/main/sw/source/core/text/txtftn.cxx index 471c4dfd60..b293629cee 100644 --- a/main/sw/source/core/text/txtftn.cxx +++ b/main/sw/source/core/text/txtftn.cxx @@ -298,7 +298,7 @@ SwTwips SwTxtFrm::GetFtnLine( const SwTxtFtn *pFtn ) const if( !HasPara() ) { - // #109071# GetFormatted() does not work here, bacause most probably + // #109071# GetFormatted() does not work here, because most probably // the frame is currently locked. We return the previous value. return pThis->mnFtnLine > 0 ? pThis->mnFtnLine : diff --git a/main/sw/source/core/unocore/unochart.cxx b/main/sw/source/core/unocore/unochart.cxx index c9247e06ae..ffff5f0984 100644 --- a/main/sw/source/core/unocore/unochart.cxx +++ b/main/sw/source/core/unocore/unochart.cxx @@ -1125,7 +1125,7 @@ uno::Sequence< beans::PropertyValue > SAL_CALL SwChartDataProvider::detectArgume sal_Int32 nLabelSeqLen = -1; // used to see if labels are always used or not and have // the expected size of 1 (i.e. if FirstCellAsLabel can // be determined) - // -1: don't know yet, 0: not used, 1: always a single labe cell, ... + // -1: don't know yet, 0: not used, 1: always a single label cell, ... // -2: neither/failed // sal_Int32 nValuesSeqLen = -1; // used to see if all value sequences have the same size for (sal_Int32 nDS1 = 0; nDS1 < nNumDS_LDS; ++nDS1) @@ -1198,7 +1198,7 @@ uno::Sequence< beans::PropertyValue > SAL_CALL SwChartDataProvider::detectArgume "trying to determine 'DataRowSource': something's fishy... should have been a single cell"); nDirection = 0; // default direction for a single cell should be 'columns' } - else // more than one cell is availabale (in values and label together!) + else // more than one cell is available (in values and label together!) { if (nFirstCol == nLastCol && nFirstRow != nLastRow) nDirection = 1; @@ -1733,7 +1733,7 @@ void SwChartDataProvider::DisposeAllDataSequences( const SwTable *pTable ) // SwChartDataProvider::AddRowCols tries to notify charts of added columns // or rows and extends the value sequence respectively (if possible). // If those can be added to the end of existing value data-sequences those -// sequences get mofdified accordingly and will send a modification +// sequences get modified accordingly and will send a modification // notification (calling 'setModified'). // // Since this function is a work-around for non existent Writer core functionality @@ -1853,7 +1853,7 @@ rtl::OUString SAL_CALL SwChartDataProvider::convertRangeToXML( const rtl::OUStri String aRes; String aRangeRepresentation( rRangeRepresentation ); - // multiple ranges are delimeted by a ';' like in + // multiple ranges are delimited by a ';' like in // "Table1.A1:A4;Table1.C2:C5" the same table must be used in all ranges! xub_StrLen nNumRanges = aRangeRepresentation.GetTokenCount( ';' ); SwTable* pFirstFoundTable = 0; // to check that only one table will be used @@ -1908,7 +1908,7 @@ rtl::OUString SAL_CALL SwChartDataProvider::convertRangeToXML( const rtl::OUStri aCellRange.aLowerRight.bIsEmpty = false; } String aTmp( XMLRangeHelper::getXMLStringFromCellRange( aCellRange ) ); - if (aRes.Len()) // in case of multiple ranges add delimeter + if (aRes.Len()) // in case of multiple ranges add delimiter aRes.AppendAscii( " " ); aRes += aTmp; } @@ -1926,7 +1926,7 @@ rtl::OUString SAL_CALL SwChartDataProvider::convertRangeFromXML( const rtl::OUSt String aRes; String aXMLRange( rXMLRange ); - // multiple ranges are delimeted by a ' ' like in + // multiple ranges are delimited by a ' ' like in // "Table1.$A$1:.$A$4 Table1.$C$2:.$C$5" the same table must be used in all ranges! xub_StrLen nNumRanges = aXMLRange.GetTokenCount( ' ' ); rtl::OUString aFirstFoundTable; // to check that only one table will be used @@ -1956,7 +1956,7 @@ rtl::OUString SAL_CALL SwChartDataProvider::convertRangeFromXML( const rtl::OUSt aCellRange.aLowerRight.nRow ); } - if (aRes.Len()) // in case of multiple ranges add delimeter + if (aRes.Len()) // in case of multiple ranges add delimiter aRes.AppendAscii( ";" ); aRes += String(aTmp); } @@ -2220,7 +2220,7 @@ uno::Sequence< OUString > SAL_CALL SwChartDataSequence::generateLabel( String aCellRange( GetCellRangeName( *pTblFmt, *pTblCrsr ) ); DBG_ASSERT( aCellRange.Len() != 0, "failed to get cell range" ); bOk = FillRangeDescriptor( aDesc, aCellRange ); - DBG_ASSERT( bOk, "falied to get SwRangeDescriptor" ); + DBG_ASSERT( bOk, "failed to get SwRangeDescriptor" ); } if (bOk) { @@ -2720,8 +2720,8 @@ sal_Bool SwChartDataSequence::DeleteBox( const SwTableBox &rBox ) if (pNewBox) // set new position (cell range) to use { - // So erh�lt man den ersten Inhaltsnode in einer gegebenen Zelle: - // Zun�chst einen SwNodeIndex auf den Node hinter dem SwStartNode der Box... + // So erhält man den ersten Inhaltsnode in einer gegebenen Zelle: + // Zunächst einen SwNodeIndex auf den Node hinter dem SwStartNode der Box... SwNodeIndex aIdx( *pNewBox->GetSttNd(), +1 ); // Dies kann ein SwCntntNode sein, kann aber auch ein Tabellen oder Sectionnode sein, // deshalb das GoNext;