This is an automated email from the ASF dual-hosted git repository. mseidel pushed a commit to branch AOO42X in repository https://gitbox.apache.org/repos/asf/openoffice.git
commit 4e18f706734808f6dfcf689356e31a1c36fd5693 Author: John Bampton <[email protected]> AuthorDate: Sat Apr 26 02:34:30 2025 +1000 misc: fix spelling (#361) * misc: fix spelling * Update ignored words list (cherry picked from commit 51754c86ae54ce24647e9e2ed4e99214a5406e58) --- ext_libraries/gtest/makefile.mk | 2 +- main/UnoControls/inc/basecontrol.hxx | 2 +- main/cli_ure/source/climaker/climaker_emit.cxx | 2 +- main/comphelper/source/misc/mimeconfighelper.cxx | 6 +++--- main/connectivity/source/drivers/macab/MacabRecords.cxx | 2 +- main/dbaccess/source/core/dataaccess/databasedocument.hxx | 2 +- main/desktop/source/deployment/manager/dp_extensionmanager.cxx | 4 ++-- .../inc/drawinglayer/primitive2d/graphicprimitive2d.hxx | 2 +- .../inc/drawinglayer/primitive2d/markerarrayprimitive2d.hxx | 2 +- .../inc/drawinglayer/primitive2d/shadowprimitive2d.hxx | 2 +- .../inc/drawinglayer/primitive2d/wallpaperprimitive2d.hxx | 2 +- main/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx | 8 ++++---- main/editeng/inc/editeng/hangulhanja.hxx | 2 +- main/editeng/source/editeng/impedit4.cxx | 2 +- main/filter/source/xslt/export/wordml/ooo2wordml_path.xsl | 2 +- main/filter/source/xslt/import/wordml/wordml2ooo_path.xsl | 2 +- main/forms/source/component/FormComponent.cxx | 2 +- main/framework/source/dispatch/servicehandler.cxx | 2 +- main/framework/test/typecfg/cfgview.cxx | 2 +- main/l10ntools/source/filter/utils/XMLHelper.java | 2 +- .../OfficeDev/DesktopEnvironment/ViewContainer.java | 2 +- main/offapi/com/sun/star/chart/ChartStatistics.idl | 2 +- main/offapi/com/sun/star/installation/InstallationCheck.idl | 2 +- main/offapi/com/sun/star/logging/XLogHandler.idl | 2 +- main/oox/source/export/preset-definitions-to-shape-types.pl | 2 +- main/qadevOOo/runner/helper/CfgParser.java | 2 +- .../tests/java/ifc/datatransfer/clipboard/_XClipboard.java | 2 +- main/qadevOOo/tests/java/ifc/frame/_XDispatchRecorder.java | 2 +- main/reportdesign/source/ui/report/ScrollHelper.cxx | 2 +- main/rsc/source/rscpp/cpp3.c | 2 +- main/sal/osl/w32/file_dirvol.cxx | 2 +- main/scripting/examples/java/Newsgroup/PostNewsgroup.java | 2 +- main/solenv/inc/templates/extension_tmpl.mk | 2 +- main/svgio/inc/svgio/svgreader/svgnode.hxx | 4 ++-- main/svtools/inc/svtools/table/tablemodel.hxx | 4 ++-- main/svtools/source/control/scrwin.cxx | 2 +- main/svtools/source/dialogs/addresstemplate.cxx | 2 +- main/svtools/source/edit/texteng.cxx | 2 +- main/svx/inc/svx/fmgridcl.hxx | 2 +- main/svx/source/table/viewcontactoftableobj.cxx | 2 +- main/sw/source/core/crsr/crsrsh.cxx | 2 +- main/sw/source/core/edit/edlingu.cxx | 2 +- main/sw/source/core/txtnode/txtedt.cxx | 2 +- main/sw/source/filter/ww8/dump/ww8scan.cxx | 4 ++-- main/sw/source/filter/ww8/dump/ww8struc.hxx | 2 +- main/sw/source/filter/ww8/ww8scan.cxx | 4 ++-- main/sw/source/filter/ww8/ww8struc.hxx | 2 +- main/tools/inc/tools/geninfo.hxx | 2 +- main/tools/source/generic/poly.cxx | 2 +- main/vcl/inc/unx/salgdi.h | 2 +- main/vcl/inc/vcl/fontmanager.hxx | 4 ++-- main/vcl/unx/generic/printergfx/common_gfx.cxx | 2 +- main/writerfilter/source/dmapper/GraphicImport.cxx | 4 ++-- main/xmloff/source/draw/XMLImageMapExport.cxx | 2 +- main/xmlsecurity/source/framework/buffernode.cxx | 2 +- 55 files changed, 67 insertions(+), 67 deletions(-) diff --git a/ext_libraries/gtest/makefile.mk b/ext_libraries/gtest/makefile.mk index 4c0b1c40a2..d22ea61135 100644 --- a/ext_libraries/gtest/makefile.mk +++ b/ext_libraries/gtest/makefile.mk @@ -51,7 +51,7 @@ PATCH_FILES= use-own-tuple.patch gtest-python3.patch .IF "$(OS)"=="WNT" CONFIGURE_DIR= -# dirty hack for gbuild whihc relies on .cxx extension for C++ files +# dirty hack for gbuild which relies on .cxx extension for C++ files CONFIGURE_ACTION=cp src/gtest-all.cc src/gtest-all.cxx CONFIGURE_FLAGS= diff --git a/main/UnoControls/inc/basecontrol.hxx b/main/UnoControls/inc/basecontrol.hxx index 6dd96ae9ef..d411d74719 100644 --- a/main/UnoControls/inc/basecontrol.hxx +++ b/main/UnoControls/inc/basecontrol.hxx @@ -149,7 +149,7 @@ namespace unocontrols{ struct IMPL_MutexContainer { - // Is necassery to initialize "BaseControl" and make this class thread-safe. + // Is necessary to initialize "BaseControl" and make this class thread-safe. UNO3_MUTEX m_aMutex ; }; diff --git a/main/cli_ure/source/climaker/climaker_emit.cxx b/main/cli_ure/source/climaker/climaker_emit.cxx index bf6aab5896..cf597d748c 100644 --- a/main/cli_ure/source/climaker/climaker_emit.cxx +++ b/main/cli_ure/source/climaker/climaker_emit.cxx @@ -658,7 +658,7 @@ Assembly * TypeEmitter::type_resolve( } } ::System::String * cts_name = to_cts_name( uno_name ); - // if the struct is an instantiated polymorpic struct then we create the simple struct name + // if the struct is an instantiated polymorphic struct then we create the simple struct name // For example: // void func ([in] PolyStruct<boolean> arg); //PolyStruct<boolean> will be converted to PolyStruct diff --git a/main/comphelper/source/misc/mimeconfighelper.cxx b/main/comphelper/source/misc/mimeconfighelper.cxx index 4ee5e8b4ff..eb24d8facf 100644 --- a/main/comphelper/source/misc/mimeconfighelper.cxx +++ b/main/comphelper/source/misc/mimeconfighelper.cxx @@ -755,13 +755,13 @@ sal_Bool MimeConfigurationHelper::AddFilterNameCheckOwnFile( sal_Int32 nRequired = ( SFX_FILTER_OWN | SFX_FILTER_EXPORT | SFX_FILTER_IMPORT ); if ( ( ( nFlags & nRequired ) == nRequired ) && !( nFlags & SFX_FILTER_TEMPLATEPATH ) ) { - // if there are more than one filter the preffered one should be used - // if there is no preffered filter the first one will be used + // if there are more than one filter the preferred one should be used + // if there is no preferred filter the first one will be used if ( aResult.isEmpty() || ( nFlags & SFX_FILTER_PREFERED ) ) aResult = aPropsHM.getUnpackedValueOrDefault( ::rtl::OUString::createFromAscii( "Name" ), ::rtl::OUString() ); if ( nFlags & SFX_FILTER_PREFERED ) - break; // the preffered filter was found + break; // the preferred filter was found } } } diff --git a/main/connectivity/source/drivers/macab/MacabRecords.cxx b/main/connectivity/source/drivers/macab/MacabRecords.cxx index 17752d482a..5e07ded69b 100644 --- a/main/connectivity/source/drivers/macab/MacabRecords.cxx +++ b/main/connectivity/source/drivers/macab/MacabRecords.cxx @@ -420,7 +420,7 @@ MacabHeader *MacabRecords::createHeaderForRecordType(const CFArrayRef _records, { /* The order of these matters (we want all address properties * before any phone properties, or else things will look weird), - * so we get all possibilitities for each property, going through + * so we get all possibilities for each property, going through * each record, and then go onto the next property. * (Note: the reason that we have to go through all records * in the first place is that properties like address, phone, and diff --git a/main/dbaccess/source/core/dataaccess/databasedocument.hxx b/main/dbaccess/source/core/dataaccess/databasedocument.hxx index 99f3054159..493b8116ed 100644 --- a/main/dbaccess/source/core/dataaccess/databasedocument.hxx +++ b/main/dbaccess/source/core/dataaccess/databasedocument.hxx @@ -535,7 +535,7 @@ private: /** resets everything @precond - m_pImpl is not <NULLL/> + m_pImpl is not <NULL/> */ void impl_reset_nothrow(); diff --git a/main/desktop/source/deployment/manager/dp_extensionmanager.cxx b/main/desktop/source/deployment/manager/dp_extensionmanager.cxx index 8de93195c5..c099894aec 100644 --- a/main/desktop/source/deployment/manager/dp_extensionmanager.cxx +++ b/main/desktop/source/deployment/manager/dp_extensionmanager.cxx @@ -738,9 +738,9 @@ Reference<deploy::XPackage> ExtensionManager::addExtension( xOldExtension ); { - // In this garded section (getMutex) we must not use the argument xCmdEnv + // In this guarded section (getMutex) we must not use the argument xCmdEnv // because it may bring up dialogs (XInteractionHandler::handle) this - //may potententially deadlock. See issue + //may potentially deadlock. See issue //http://qa.openoffice.org/issues/show_bug.cgi?id=114933 //By not providing xCmdEnv the underlying APIs will throw an exception if //the XInteractionRequest cannot be handled diff --git a/main/drawinglayer/inc/drawinglayer/primitive2d/graphicprimitive2d.hxx b/main/drawinglayer/inc/drawinglayer/primitive2d/graphicprimitive2d.hxx index 9aa7c2c238..450e1da81c 100644 --- a/main/drawinglayer/inc/drawinglayer/primitive2d/graphicprimitive2d.hxx +++ b/main/drawinglayer/inc/drawinglayer/primitive2d/graphicprimitive2d.hxx @@ -42,7 +42,7 @@ namespace drawinglayer formats. It even includes animated GIFs, Croppings and other changes defined in GraphicAttr. - This makes the decomposition contain a wide variety of possibilites, + This makes the decomposition contain a wide variety of possibilities, too. From a simple BitmapPrimitive over AnimatedSwitchPrimitive2D, MetafilePrimitive2D (with and without embedding in a masking when e.g. the Metafile is bigger than the geometry) and embeddings in diff --git a/main/drawinglayer/inc/drawinglayer/primitive2d/markerarrayprimitive2d.hxx b/main/drawinglayer/inc/drawinglayer/primitive2d/markerarrayprimitive2d.hxx index 63c9276888..2eb8ab8045 100644 --- a/main/drawinglayer/inc/drawinglayer/primitive2d/markerarrayprimitive2d.hxx +++ b/main/drawinglayer/inc/drawinglayer/primitive2d/markerarrayprimitive2d.hxx @@ -38,7 +38,7 @@ namespace drawinglayer { /** MarkerArrayPrimitive2D class - This primtive defines an array of markers. Their size is defined + This primitive defines an array of markers. Their size is defined in pixels and independent from the view transformation which makes this primitive highly view-dependent. It is also transformation invariant, so that the bitmap is always visualized unscaled and diff --git a/main/drawinglayer/inc/drawinglayer/primitive2d/shadowprimitive2d.hxx b/main/drawinglayer/inc/drawinglayer/primitive2d/shadowprimitive2d.hxx index 33d9d6b0fe..8e9f54b655 100644 --- a/main/drawinglayer/inc/drawinglayer/primitive2d/shadowprimitive2d.hxx +++ b/main/drawinglayer/inc/drawinglayer/primitive2d/shadowprimitive2d.hxx @@ -41,7 +41,7 @@ namespace drawinglayer for 2D objects. It decomposes to a TransformPrimitive2D embedded into a ModifiedColorPrimitive2D. - It's for primtive usage convenience, so that not everyone has + It's for primitive usage convenience, so that not everyone has to implement the generic shadow construction by himself. The same geometry as sequence of primitives is used as geometry and diff --git a/main/drawinglayer/inc/drawinglayer/primitive2d/wallpaperprimitive2d.hxx b/main/drawinglayer/inc/drawinglayer/primitive2d/wallpaperprimitive2d.hxx index a804cbe676..7175859856 100644 --- a/main/drawinglayer/inc/drawinglayer/primitive2d/wallpaperprimitive2d.hxx +++ b/main/drawinglayer/inc/drawinglayer/primitive2d/wallpaperprimitive2d.hxx @@ -37,7 +37,7 @@ namespace drawinglayer { /** WallpaperBitmapPrimitive2D class - This is a specialized primtive for the Wallpaper definitions included in + This is a specialized primitive for the Wallpaper definitions included in VCL and Metafiles. The extraordinary about the bitmap definition part of the Wallpaper is that it uses PIXEL size of the given Bitmap and not the logic and/or discrete size derived by PrefMapMode/PrefSize methods. diff --git a/main/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx b/main/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx index 6a1f1b9be1..4fc75f3d3f 100644 --- a/main/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx +++ b/main/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx @@ -1789,7 +1789,7 @@ namespace drawinglayer } case PRIMITIVE2D_ID_MODIFIEDCOLORPRIMITIVE2D : { - // modified color group. Force output to unified color. Use default pocessing. + // modified color group. Force output to unified color. Use default processing. RenderModifiedColorPrimitive2D(static_cast< const primitive2d::ModifiedColorPrimitive2D& >(rCandidate)); break; } @@ -2100,7 +2100,7 @@ namespace drawinglayer } case PRIMITIVE2D_ID_TRANSFORMPRIMITIVE2D : { - // use default transform group pocessing + // use default transform group processing RenderTransformPrimitive2D(static_cast< const primitive2d::TransformPrimitive2D& >(rCandidate)); break; } @@ -2112,13 +2112,13 @@ namespace drawinglayer } case PRIMITIVE2D_ID_MARKERARRAYPRIMITIVE2D : { - // use default marker array pocessing + // use default marker array processing RenderMarkerArrayPrimitive2D(static_cast< const primitive2d::MarkerArrayPrimitive2D& >(rCandidate)); break; } case PRIMITIVE2D_ID_POINTARRAYPRIMITIVE2D : { - // use default point array pocessing + // use default point array processing RenderPointArrayPrimitive2D(static_cast< const primitive2d::PointArrayPrimitive2D& >(rCandidate)); break; } diff --git a/main/editeng/inc/editeng/hangulhanja.hxx b/main/editeng/inc/editeng/hangulhanja.hxx index 42e40d5c3b..c6c1d84323 100644 --- a/main/editeng/inc/editeng/hangulhanja.hxx +++ b/main/editeng/inc/editeng/hangulhanja.hxx @@ -224,7 +224,7 @@ namespace editeng @param _rOrigText the original text to be replaced (as returned by GetNextPortion). Since in Chinese conversion the original text is needed as well - in order to only do the minimal necassry text changes and to keep + in order to only do the minimal necessary text changes and to keep as much attributes as possible this is supplied here as well. @param _rReplaceWith diff --git a/main/editeng/source/editeng/impedit4.cxx b/main/editeng/source/editeng/impedit4.cxx index 2929425979..e20d758e62 100644 --- a/main/editeng/source/editeng/impedit4.cxx +++ b/main/editeng/source/editeng/impedit4.cxx @@ -2866,7 +2866,7 @@ EditSelection ImpEditEngine::TransliterateText( const EditSelection& rSelection, // since we don't use Hiragana/Katakana or half-width/full-width transliterations here // it is fine to use ANYWORD_IGNOREWHITESPACES. (ANY_WORD btw is broken and will - // occasionaly miss words in consecutive sentences). Also with ANYWORD_IGNOREWHITESPACES + // occasionally miss words in consecutive sentences). Also with ANYWORD_IGNOREWHITESPACES // text like 'just-in-time' will be converted to 'Just-In-Time' which seems to be the // proper thing to do. const sal_Int16 nWordType = i18n::WordType::ANYWORD_IGNOREWHITESPACES; diff --git a/main/filter/source/xslt/export/wordml/ooo2wordml_path.xsl b/main/filter/source/xslt/export/wordml/ooo2wordml_path.xsl index 14ac44bbe2..c52f73e14e 100644 --- a/main/filter/source/xslt/export/wordml/ooo2wordml_path.xsl +++ b/main/filter/source/xslt/export/wordml/ooo2wordml_path.xsl @@ -648,7 +648,7 @@ <xsl:variable name="curr-char" select="substring($svg-path, $position , 1)"/> <xsl:choose> <xsl:when test="string-length(translate($curr-char , 'MmZzLlHhVvCcSsQqTtAa' ,'')) = 0 "> - <!-- "MmZzLlHhVvCcSsQqTtAa" are all possiable command chars --> + <!-- "MmZzLlHhVvCcSsQqTtAa" are all possible command chars --> <xsl:value-of select="concat( $curr-char , ':' , $position +1)"/> </xsl:when> <xsl:when test="string-length(translate($curr-char , '+-.0123456789' ,'')) = 0 "> diff --git a/main/filter/source/xslt/import/wordml/wordml2ooo_path.xsl b/main/filter/source/xslt/import/wordml/wordml2ooo_path.xsl index b386291c4b..cbb19a7e7e 100644 --- a/main/filter/source/xslt/import/wordml/wordml2ooo_path.xsl +++ b/main/filter/source/xslt/import/wordml/wordml2ooo_path.xsl @@ -1465,7 +1465,7 @@ <xsl:variable name="curr-char" select="substring($vml-path, $position , 1)"/> <xsl:choose> <xsl:when test="string-length(translate($curr-char , 'mlcxetrvnfsawqyb' ,'')) = 0 "> - <!-- "MmZzLlHhVvCcSsQqTtAa" are all possiable command chars --> + <!-- "MmZzLlHhVvCcSsQqTtAa" are all possible command chars --> <xsl:value-of select="concat( $curr-char , ':' , $position +1)"/> </xsl:when> <xsl:when test="string-length(translate($curr-char , '+-.0123456789@' ,'')) = 0 "> diff --git a/main/forms/source/component/FormComponent.cxx b/main/forms/source/component/FormComponent.cxx index a503e5ca10..9f3f57bfed 100644 --- a/main/forms/source/component/FormComponent.cxx +++ b/main/forms/source/component/FormComponent.cxx @@ -2182,7 +2182,7 @@ sal_Bool OBoundControlModel::connectToField(const Reference<XRowSet>& rForm) //------------------------------------------------------------------------------ void OBoundControlModel::initFromField( const Reference< XRowSet >& _rxRowSet ) { - // but only if the rowset if posisitioned on a valid record + // but only if the rowset if positioned on a valid record if ( hasField() && _rxRowSet.is() ) { if ( !_rxRowSet->isBeforeFirst() && !_rxRowSet->isAfterLast() ) diff --git a/main/framework/source/dispatch/servicehandler.cxx b/main/framework/source/dispatch/servicehandler.cxx index 857983cbf1..2c8020d7cb 100644 --- a/main/framework/source/dispatch/servicehandler.cxx +++ b/main/framework/source/dispatch/servicehandler.cxx @@ -307,7 +307,7 @@ css::uno::Reference< css::uno::XInterface > ServiceHandler::implts_dispatch( con xExecuteable->trigger(sArguments); } // ignore all errors - inclusive runtime errors! - // E.g. a script based service (written in phyton) could not be executed + // E.g. a script based service (written in python) could not be executed // because it contains syntax errors, which was detected at runtime ... catch(const css::uno::Exception&) { xService.clear(); } diff --git a/main/framework/test/typecfg/cfgview.cxx b/main/framework/test/typecfg/cfgview.cxx index 95755003d3..e789937b99 100644 --- a/main/framework/test/typecfg/cfgview.cxx +++ b/main/framework/test/typecfg/cfgview.cxx @@ -222,7 +222,7 @@ void CFGView::impl_printCopyright() void CFGView::impl_printSyntax() { fprintf( stderr, "\nusing: xml2xcd -fi=<outputfile> -vi=<version input> -vo=<version output> [-wr=<true|false>]\n\n" ); - fprintf( stderr, "\tneccessary parameters:\n" ); + fprintf( stderr, "\tnecessary parameters:\n" ); fprintf( stderr, "\t\t-fi=<outputfile>\tname of output file in system notation\n" ); fprintf( stderr, "\t\t-vi=<version input>\tformat version of input xml file\n" ); fprintf( stderr, "\t\t-vo=<version output>\tformat version of generated xcd file\n\n" ); diff --git a/main/l10ntools/source/filter/utils/XMLHelper.java b/main/l10ntools/source/filter/utils/XMLHelper.java index e6fa1727f1..76304d5dab 100644 --- a/main/l10ntools/source/filter/utils/XMLHelper.java +++ b/main/l10ntools/source/filter/utils/XMLHelper.java @@ -727,7 +727,7 @@ public class XMLHelper public static java.util.Vector extractChildNodesByType(org.w3c.dom.Node aNode, short nType) { - // get list of all possibe childs and reserve enough space for our return list + // get list of all possible childs and reserve enough space for our return list // Attention: A null pointer is not allowed for return! (means lExtractedChilds) org.w3c.dom.NodeList lChilds = aNode.getChildNodes(); int c = lChilds.getLength(); diff --git a/main/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/ViewContainer.java b/main/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/ViewContainer.java index 672c3b42d8..7bfb959b01 100644 --- a/main/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/ViewContainer.java +++ b/main/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/ViewContainer.java @@ -155,7 +155,7 @@ public class ViewContainer extends Thread // ____________________ /** - * add/remove listener for possibe shutdown events + * add/remove listener for possible shutdown events */ public void addListener( IShutdownListener rListener ) { diff --git a/main/offapi/com/sun/star/chart/ChartStatistics.idl b/main/offapi/com/sun/star/chart/ChartStatistics.idl index bc9bfe1c17..7b3e3351a2 100644 --- a/main/offapi/com/sun/star/chart/ChartStatistics.idl +++ b/main/offapi/com/sun/star/chart/ChartStatistics.idl @@ -159,7 +159,7 @@ published service ChartStatistics */ [property] com::sun::star::chart::ChartRegressionCurveType RegressionCurves; - /** contains a cell range string for positve error bars. This + /** contains a cell range string for positive error bars. This property is used when the <type>ErrorBarCategory</type> is set to <member>ErrorBarCategory::FROM_DATA</member>. */ diff --git a/main/offapi/com/sun/star/installation/InstallationCheck.idl b/main/offapi/com/sun/star/installation/InstallationCheck.idl index b3b7e43d33..a0ec9aa287 100644 --- a/main/offapi/com/sun/star/installation/InstallationCheck.idl +++ b/main/offapi/com/sun/star/installation/InstallationCheck.idl @@ -41,7 +41,7 @@ <p> When running under Win32 the methods check and checkWithDialog will try to fix any missing RegistryKey of fonts which still reside in the font directory. </p> - <p>If it is possbile to fix, the method returns <TRUE/>. + <p>If it is possible to fix, the method returns <TRUE/>. </p> @see XInstallationCheck diff --git a/main/offapi/com/sun/star/logging/XLogHandler.idl b/main/offapi/com/sun/star/logging/XLogHandler.idl index a191ffaf67..49dc00fad8 100644 --- a/main/offapi/com/sun/star/logging/XLogHandler.idl +++ b/main/offapi/com/sun/star/logging/XLogHandler.idl @@ -42,7 +42,7 @@ module com { module sun { module star { module logging { //============================================================================= -/** provides possibilites to send <type>LogRecord</type>s to an arbitrary output +/** provides possibilities to send <type>LogRecord</type>s to an arbitrary output channel. @see XLogger diff --git a/main/oox/source/export/preset-definitions-to-shape-types.pl b/main/oox/source/export/preset-definitions-to-shape-types.pl index ee2bb07e53..47ecf03d2a 100644 --- a/main/oox/source/export/preset-definitions-to-shape-types.pl +++ b/main/oox/source/export/preset-definitions-to-shape-types.pl @@ -379,7 +379,7 @@ sub setup_variables() ); } -# Convert the (predefiend) value to a number +# Convert the (predefined) value to a number sub value( $ ) { my ( $val ) = @_; diff --git a/main/qadevOOo/runner/helper/CfgParser.java b/main/qadevOOo/runner/helper/CfgParser.java index 4d08facd5b..2becd47bc5 100644 --- a/main/qadevOOo/runner/helper/CfgParser.java +++ b/main/qadevOOo/runner/helper/CfgParser.java @@ -105,7 +105,7 @@ public class CfgParser if (os != null && os.length() > 1) { - //found something that could be a prefex + //found something that could be a prefix //check all parameters for this Enumeration keys = param.keys(); while (keys.hasMoreElements()) diff --git a/main/qadevOOo/tests/java/ifc/datatransfer/clipboard/_XClipboard.java b/main/qadevOOo/tests/java/ifc/datatransfer/clipboard/_XClipboard.java index f021c5d3ed..700bfb8953 100644 --- a/main/qadevOOo/tests/java/ifc/datatransfer/clipboard/_XClipboard.java +++ b/main/qadevOOo/tests/java/ifc/datatransfer/clipboard/_XClipboard.java @@ -112,7 +112,7 @@ public class _XClipboard extends MultiMethodTest { /** * Sets new contents for the clipboard. Then checks if it was set, - * and if <code>lostOwnerShip()</code> notification of the prevoius + * and if <code>lostOwnerShip()</code> notification of the previous * contents was called with appropriate parameters.<p> * Has <b> OK </b> status if <code>getContents</code> returns the same * object which is set, and notification was received. diff --git a/main/qadevOOo/tests/java/ifc/frame/_XDispatchRecorder.java b/main/qadevOOo/tests/java/ifc/frame/_XDispatchRecorder.java index 579f001d18..90f3daf7f1 100644 --- a/main/qadevOOo/tests/java/ifc/frame/_XDispatchRecorder.java +++ b/main/qadevOOo/tests/java/ifc/frame/_XDispatchRecorder.java @@ -129,7 +129,7 @@ public class _XDispatchRecorder extends MultiMethodTest { oObj.startRecording(xFrame); - // positve test + // positive test dispURL = utils.parseURL((XMultiServiceFactory)tParam.getMSF(), ".uno:InsertText"); PropertyValue prop = new PropertyValue(); diff --git a/main/reportdesign/source/ui/report/ScrollHelper.cxx b/main/reportdesign/source/ui/report/ScrollHelper.cxx index 64e840a553..1ffb8884a8 100644 --- a/main/reportdesign/source/ui/report/ScrollHelper.cxx +++ b/main/reportdesign/source/ui/report/ScrollHelper.cxx @@ -129,7 +129,7 @@ Size OScrollWindowHelper::ResizeScrollBars() const long nScrSize = GetSettings().GetStyleSettings().GetScrollBarSize(); bool bVVisible = false; // by default no vertical-ScrollBar bool bHVisible = false; // by default no horizontal-ScrollBar - bool bChanged; // determines if a visiblility was changed + bool bChanged; // determines if a visibility was changed do { bChanged = false; diff --git a/main/rsc/source/rscpp/cpp3.c b/main/rsc/source/rscpp/cpp3.c index 64cb1de952..804a2abf40 100644 --- a/main/rsc/source/rscpp/cpp3.c +++ b/main/rsc/source/rscpp/cpp3.c @@ -275,7 +275,7 @@ dooptions(int argc, char** argv) AddInclude( ap ); /* BP, 11.09.91 */ break; - case 'N': /* No predefineds */ + case 'N': /* No predefines */ nflag++; /* Repeat to undefine */ break; /* __LINE__, etc. */ diff --git a/main/sal/osl/w32/file_dirvol.cxx b/main/sal/osl/w32/file_dirvol.cxx index dfc56662b8..8db86569fe 100644 --- a/main/sal/osl/w32/file_dirvol.cxx +++ b/main/sal/osl/w32/file_dirvol.cxx @@ -685,7 +685,7 @@ static int path_make_parent(sal_Unicode* path) get the parent only, e.g. 'c:\dir\subdir' -> 'c:\dir' or '\\share\sub\dir' -> '\\share\sub' @return The position where the path has been cut - off (this is the posistion of the last backslash). + off (this is the position of the last backslash). If there are no more parents 0 will be returned, e.g. 'c:\' or '\\Share' have no more parents */ diff --git a/main/scripting/examples/java/Newsgroup/PostNewsgroup.java b/main/scripting/examples/java/Newsgroup/PostNewsgroup.java index 192ff78c15..b913100336 100644 --- a/main/scripting/examples/java/Newsgroup/PostNewsgroup.java +++ b/main/scripting/examples/java/Newsgroup/PostNewsgroup.java @@ -614,7 +614,7 @@ public class PostNewsgroup extends JFrame // replyTextField must have <string>@<string>.<string> // (string at least 2 chars long) - // consider <s>.<s>@<s>.<s>.<s> format? (array of dot positons?) + // consider <s>.<s>@<s>.<s>.<s> format? (array of dot positions?) String replyString = replyTextField.getText(); int atPos = replyString.indexOf( "@" ); int dotPos = replyString.lastIndexOf( "." ); diff --git a/main/solenv/inc/templates/extension_tmpl.mk b/main/solenv/inc/templates/extension_tmpl.mk index 8f2c5bb968..0c9085e19f 100644 --- a/main/solenv/inc/templates/extension_tmpl.mk +++ b/main/solenv/inc/templates/extension_tmpl.mk @@ -77,7 +77,7 @@ COMPONENT_MANIFEST_GENERIC:=TRUE COMPONENT_MANIFEST_SEARCHDIR:=registry -# variables to trigger predifined targets +# variables to trigger predefined targets # just copy: COMPONENT_FILES= \ $(EXTENSIONDIR)$/xMyExtension$(EXECPOST) \ diff --git a/main/svgio/inc/svgio/svgreader/svgnode.hxx b/main/svgio/inc/svgio/svgreader/svgnode.hxx index 44c40c453f..3a44951355 100644 --- a/main/svgio/inc/svgio/svgreader/svgnode.hxx +++ b/main/svgio/inc/svgio/svgreader/svgnode.hxx @@ -112,11 +112,11 @@ namespace svgio Display maDisplay; // CSS style vector chain, used in decompose phase and built up once per node. - // It contains the StyleHierarchy for the local node. INdependent from the + // It contains the StyleHierarchy for the local node. Independent from the // node hierarchy itself which also needs to be used in style entry solving SvgStyleAttributeVector maCssStyleVector; - /// possibbe local CssStyle, e.g. style="fill:red; stroke:red;" + /// possible local CssStyle, e.g. style="fill:red; stroke:red;" SvgStyleAttributes* mpLocalCssStyle; /// bitfield diff --git a/main/svtools/inc/svtools/table/tablemodel.hxx b/main/svtools/inc/svtools/table/tablemodel.hxx index 0698b113ae..4e9eb2f946 100644 --- a/main/svtools/inc/svtools/table/tablemodel.hxx +++ b/main/svtools/inc/svtools/table/tablemodel.hxx @@ -410,11 +410,11 @@ namespace svt { namespace table */ virtual TableMetrics getRowHeaderWidth() const = 0; - /** returns the visibilit mode of the vertical scrollbar + /** returns the visibility mode of the vertical scrollbar */ virtual ScrollbarVisibility getVerticalScrollbarVisibility() const = 0; - /** returns the visibilit mode of the horizontal scrollbar + /** returns the visibility mode of the horizontal scrollbar */ virtual ScrollbarVisibility getHorizontalScrollbarVisibility() const = 0; diff --git a/main/svtools/source/control/scrwin.cxx b/main/svtools/source/control/scrwin.cxx index 9b410a63eb..58f6a10109 100644 --- a/main/svtools/source/control/scrwin.cxx +++ b/main/svtools/source/control/scrwin.cxx @@ -187,7 +187,7 @@ void __EXPORT ScrollableWindow::Resize() const long nScrSize = GetSettings().GetStyleSettings().GetScrollBarSize(); sal_Bool bVVisible = sal_False; // by default no vertical-ScrollBar sal_Bool bHVisible = sal_False; // by default no horizontal-ScrollBar - sal_Bool bChanged; // determines if a visiblility was changed + sal_Bool bChanged; // determines if a visibility was changed do { bChanged = sal_False; diff --git a/main/svtools/source/dialogs/addresstemplate.cxx b/main/svtools/source/dialogs/addresstemplate.cxx index 3fa3ec5c2e..db858fe819 100644 --- a/main/svtools/source/dialogs/addresstemplate.cxx +++ b/main/svtools/source/dialogs/addresstemplate.cxx @@ -1305,7 +1305,7 @@ void AssignmentPersistentData::Commit() { // we can still scroll up // -> scroll up implScrollFields(m_pImpl->nFieldScrollPos - 1, sal_False, sal_True); - // give the right control in the "prebious" line the focus + // give the right control in the "previous" line the focus m_pImpl->pFields[0 - 1 + 2]->GrabFocus(); // return saying "have handled this" return 1; diff --git a/main/svtools/source/edit/texteng.cxx b/main/svtools/source/edit/texteng.cxx index 3c0a414f8d..82366e0920 100644 --- a/main/svtools/source/edit/texteng.cxx +++ b/main/svtools/source/edit/texteng.cxx @@ -3270,7 +3270,7 @@ long TextEngine::ImpGetOutputOffset( sal_uLong nPara, TextLine* pLine, sal_uInt1 if ( ( nIndex == nPortionStart ) && ( nIndex == nIndex2 ) ) { // Output of full portion, so we need portion x offset. - // Use ImpGetPortionXOffset, because GetXPos may deliver left or right position from portioon, depending on R2L, L2R + // Use ImpGetPortionXOffset, because GetXPos may deliver left or right position from portion, depending on R2L, L2R nX = ImpGetPortionXOffset( nPara, pLine, nPortion ); if ( IsRightToLeft() ) { diff --git a/main/svx/inc/svx/fmgridcl.hxx b/main/svx/inc/svx/fmgridcl.hxx index a313be9c8d..4b7016ba6d 100644 --- a/main/svx/inc/svx/fmgridcl.hxx +++ b/main/svx/inc/svx/fmgridcl.hxx @@ -102,7 +102,7 @@ class SVX_DLLPUBLIC FmGridControl : public DbGridControl friend class FmXGridPeer; FmXGridPeer* m_pPeer; - sal_Int32 m_nCurrentSelectedColumn; // this is the column model (not the view) posisition ... + sal_Int32 m_nCurrentSelectedColumn; // this is the column model (not the view) position ... sal_uInt16 m_nMarkedColumnId; sal_Bool m_bSelecting; sal_Bool m_bInColumnMove : 1; diff --git a/main/svx/source/table/viewcontactoftableobj.cxx b/main/svx/source/table/viewcontactoftableobj.cxx index bf9d36a8f5..2489ee7409 100644 --- a/main/svx/source/table/viewcontactoftableobj.cxx +++ b/main/svx/source/table/viewcontactoftableobj.cxx @@ -651,7 +651,7 @@ namespace sdr impGetLine(aRightLine, rTableLayouter, nXRight, nY, false, nColCount, nRowCount, bIsRTL); impGetLine(aTopLine, rTableLayouter, nX, nY, true, nColCount, nRowCount, bIsRTL); - // create the primtive containing all data for one cell with borders + // create the primitive containing all data for one cell with borders xBorderSequence[nBorderInsert++] = drawinglayer::primitive2d::Primitive2DReference( new drawinglayer::primitive2d::SdrBorderlinePrimitive2D( aCellMatrix, diff --git a/main/sw/source/core/crsr/crsrsh.cxx b/main/sw/source/core/crsr/crsrsh.cxx index 606e32ec04..11a203e475 100644 --- a/main/sw/source/core/crsr/crsrsh.cxx +++ b/main/sw/source/core/crsr/crsrsh.cxx @@ -3515,7 +3515,7 @@ void SwCrsrShell::GetSmartTagTerm( const Point& rPt, SwRect& rSelectRect, // get smarttag word String aText( pNode->GetTxt().Copy( nBegin, nLen ) ); - //save the start and end positons of the line and the starting point + //save the start and end positions of the line and the starting point Push(); LeftMargin(); xub_StrLen nLineStart = GetCrsr()->GetPoint()->nContent.GetIndex(); diff --git a/main/sw/source/core/edit/edlingu.cxx b/main/sw/source/core/edit/edlingu.cxx index 810266baf4..055cb6c9a5 100644 --- a/main/sw/source/core/edit/edlingu.cxx +++ b/main/sw/source/core/edit/edlingu.cxx @@ -1052,7 +1052,7 @@ uno::Reference< XSpellAlternatives > if ( xSpellAlt.is() ) // error found? { - //save the start and end positons of the line and the starting point + //save the start and end positions of the line and the starting point Push(); LeftMargin(); xub_StrLen nLineStart = GetCrsr()->GetPoint()->nContent.GetIndex(); diff --git a/main/sw/source/core/txtnode/txtedt.cxx b/main/sw/source/core/txtnode/txtedt.cxx index ce914056bd..6937ad60d9 100644 --- a/main/sw/source/core/txtnode/txtedt.cxx +++ b/main/sw/source/core/txtnode/txtedt.cxx @@ -1666,7 +1666,7 @@ void SwTxtNode::TransliterateText( { // since we don't use Hiragana/Katakana or half-width/full-width transliterations here // it is fine to use ANYWORD_IGNOREWHITESPACES. (ANY_WORD btw is broken and will - // occasionaly miss words in consecutive sentences). Also with ANYWORD_IGNOREWHITESPACES + // occasionally miss words in consecutive sentences). Also with ANYWORD_IGNOREWHITESPACES // text like 'just-in-time' will be converted to 'Just-In-Time' which seems to be the // proper thing to do. const sal_Int16 nWordType = WordType::ANYWORD_IGNOREWHITESPACES; diff --git a/main/sw/source/filter/ww8/dump/ww8scan.cxx b/main/sw/source/filter/ww8/dump/ww8scan.cxx index 4d860e5b1a..c2e424d2d8 100644 --- a/main/sw/source/filter/ww8/dump/ww8scan.cxx +++ b/main/sw/source/filter/ww8/dump/ww8scan.cxx @@ -1369,7 +1369,7 @@ short WW8_BRC::DetermineBorderProperties(bool bVer67, short *pSpace, case 20: /* wave, the dimensions appear to be created by the drawing of - the wave, so we have only two possibilites in the menus, 3/4 + the wave, so we have only two possibilities in the menus, 3/4 point is equal to solid 3 point. This calculation seems to match well to results. */ @@ -1378,7 +1378,7 @@ short WW8_BRC::DetermineBorderProperties(bool bVer67, short *pSpace, case 21: /* double wave, the dimensions appear to be created by the - drawing of the wave, so we have only one possibilites in the + drawing of the wave, so we have only one possibilities in the menus, that of 3/4 point is equal to solid 3 point. This calculation seems to match well to results. */ diff --git a/main/sw/source/filter/ww8/dump/ww8struc.hxx b/main/sw/source/filter/ww8/dump/ww8struc.hxx index 936ceec108..45c776a25d 100644 --- a/main/sw/source/filter/ww8/dump/ww8struc.hxx +++ b/main/sw/source/filter/ww8/dump/ww8struc.hxx @@ -583,7 +583,7 @@ struct WW8_DPHEAD SVBT16 dpk; // 0 Drawn Primitive Kind REVIEW davebu // 0=start of grouping, 1=line, 2=textbox, 3=rectangle, // 4=arc, 5=elipse, 6=polyline, 7=callout textbox, - // 8=end of grouping, 9=sample primitve holding default values + // 8=end of grouping, 9=sample primitive holding default values SVBT16 cb; // 2 size (count of bytes) of this DP SVBT16 xa; // 4 These 2 points describe the rectangle SVBT16 ya; // 6 enclosing this DP relative to the origin of diff --git a/main/sw/source/filter/ww8/ww8scan.cxx b/main/sw/source/filter/ww8/ww8scan.cxx index 600a7f355b..bd68d8fe53 100644 --- a/main/sw/source/filter/ww8/ww8scan.cxx +++ b/main/sw/source/filter/ww8/ww8scan.cxx @@ -1460,7 +1460,7 @@ short WW8_BRC::DetermineBorderProperties(bool bVer67, short *pSpace, case 20: /* wave, the dimensions appear to be created by the drawing of - the wave, so we have only two possibilites in the menus, 3/4 + the wave, so we have only two possibilities in the menus, 3/4 point is equal to solid 3 point. This calculation seems to match well to results. */ @@ -1469,7 +1469,7 @@ short WW8_BRC::DetermineBorderProperties(bool bVer67, short *pSpace, case 21: /* double wave, the dimensions appear to be created by the - drawing of the wave, so we have only one possibilites in the + drawing of the wave, so we have only one possibilities in the menus, that of 3/4 point is equal to solid 3 point. This calculation seems to match well to results. */ diff --git a/main/sw/source/filter/ww8/ww8struc.hxx b/main/sw/source/filter/ww8/ww8struc.hxx index c3a1155099..7cb8d97b3d 100644 --- a/main/sw/source/filter/ww8/ww8struc.hxx +++ b/main/sw/source/filter/ww8/ww8struc.hxx @@ -675,7 +675,7 @@ struct WW8_DPHEAD SVBT16 dpk; // 0 Drawn Primitive Kind REVIEW davebu // 0=start of grouping, 1=line, 2=textbox, 3=rectangle, // 4=arc, 5=elipse, 6=polyline, 7=callout textbox, - // 8=end of grouping, 9=sample primitve holding default values + // 8=end of grouping, 9=sample primitive holding default values SVBT16 cb; // 2 size (count of bytes) of this DP SVBT16 xa; // 4 These 2 points describe the rectangle SVBT16 ya; // 6 enclosing this DP relative to the origin of diff --git a/main/tools/inc/tools/geninfo.hxx b/main/tools/inc/tools/geninfo.hxx index 491a89c0fe..618e04b1e7 100644 --- a/main/tools/inc/tools/geninfo.hxx +++ b/main/tools/inc/tools/geninfo.hxx @@ -207,7 +207,7 @@ public: GenericInformation *GetInfo( ByteString &rKey, sal_Bool bSearchByPath = sal_False, sal_Bool bCreatePath = sal_False ); /* path can be something like this: src370/drives/o: - * bCreatePath will create the neccecary paths to the GI */ + * bCreatePath will create the necessary paths to the GI */ sal_Bool InsertInfo( GenericInformation *pInfo, sal_Bool bOverwrite = sal_True ); /* legt eine GenericInformation im Baum an mit Key-Value diff --git a/main/tools/source/generic/poly.cxx b/main/tools/source/generic/poly.cxx index 7d064cc784..107874ce0d 100644 --- a/main/tools/source/generic/poly.cxx +++ b/main/tools/source/generic/poly.cxx @@ -2129,7 +2129,7 @@ void impCorrectContinuity(basegfx::B2DPolygon& roPolygon, sal_uInt32 nIndex, sal { if(roPolygon.isPrevControlPointUsed(nIndex) && roPolygon.isNextControlPointUsed(nIndex)) { - // #115917# Patch from osnola (modified, thanks for showing the porblem) + // #115917# Patch from osnola (modified, thanks for showing the problem) // // The correction is needed because an integer polygon with control points // is converted to double precision. When C1 or C2 is used the involved vectors diff --git a/main/vcl/inc/unx/salgdi.h b/main/vcl/inc/unx/salgdi.h index 64b5675aeb..decd6e2ecf 100644 --- a/main/vcl/inc/unx/salgdi.h +++ b/main/vcl/inc/unx/salgdi.h @@ -292,7 +292,7 @@ public: com::sun::star::drawing::LineCap); virtual bool drawFilledTrapezoids( const ::basegfx::B2DTrapezoid*, int nTrapCount, double fTransparency ); -#if 1 // TODO: remove these obselete methods +#if 1 // TODO: remove these obsolete methods virtual sal_Bool drawPolyLineBezier( sal_uInt32 nPoints, const SalPoint* pPtAry, const sal_uInt8* pFlgAry ); diff --git a/main/vcl/inc/vcl/fontmanager.hxx b/main/vcl/inc/vcl/fontmanager.hxx index 659d486a12..ccd0b8c658 100644 --- a/main/vcl/inc/vcl/fontmanager.hxx +++ b/main/vcl/inc/vcl/fontmanager.hxx @@ -694,11 +694,11 @@ public: // returns false if there were not any bool getAlternativeFamilyNames( fontID nFont, std::list< rtl::OUString >& rNames ) const; - /* system dependendent font matching + /* system dependent font matching <p> <code>matchFont</code> matches a pattern of font characteristics - and returns the closest match if possibe. If a match was found + and returns the closest match if possible. If a match was found the <code>FastPrintFontInfo</code> passed in as parameter will be update to the found matching font. </p> diff --git a/main/vcl/unx/generic/printergfx/common_gfx.cxx b/main/vcl/unx/generic/printergfx/common_gfx.cxx index 53274e4ce0..ab9816ecd0 100644 --- a/main/vcl/unx/generic/printergfx/common_gfx.cxx +++ b/main/vcl/unx/generic/printergfx/common_gfx.cxx @@ -595,7 +595,7 @@ PrinterGfx::DrawPolygonBezier (sal_uInt32 nPoints, const Point* pPath, const sal else { if (i+2 >= nPoints) - return; //Error: wrong sequence of contol/normal points somehow + return; //Error: wrong sequence of control/normal points somehow if ((pFlgAry[i] == POLY_CONTROL) && (pFlgAry[i+1] == POLY_CONTROL) && (pFlgAry[i+2] != POLY_CONTROL)) { diff --git a/main/writerfilter/source/dmapper/GraphicImport.cxx b/main/writerfilter/source/dmapper/GraphicImport.cxx index 6fa4ed8a02..c3b27a6479 100644 --- a/main/writerfilter/source/dmapper/GraphicImport.cxx +++ b/main/writerfilter/source/dmapper/GraphicImport.cxx @@ -1431,7 +1431,7 @@ void GraphicImport::lcl_sprm(Sprm & rSprm) break; case NS_ooxml::LN_CT_Anchor_positionH: // 90976; { - // Use a special handler for the positionning + // Use a special handler for the positioning PositionHandlerPtr pHandler( new PositionHandler ); writerfilter::Reference<Properties>::Pointer_t pProperties = rSprm.getProps(); if( pProperties.get( ) ) @@ -1446,7 +1446,7 @@ void GraphicImport::lcl_sprm(Sprm & rSprm) break; case NS_ooxml::LN_CT_Anchor_positionV: // 90977; { - // Use a special handler for the positionning + // Use a special handler for the positioning PositionHandlerPtr pHandler( new PositionHandler ); writerfilter::Reference<Properties>::Pointer_t pProperties = rSprm.getProps(); if( pProperties.get( ) ) diff --git a/main/xmloff/source/draw/XMLImageMapExport.cxx b/main/xmloff/source/draw/XMLImageMapExport.cxx index 180196a98a..be87f91679 100644 --- a/main/xmloff/source/draw/XMLImageMapExport.cxx +++ b/main/xmloff/source/draw/XMLImageMapExport.cxx @@ -130,7 +130,7 @@ void XMLImageMapExport::Export( } // else: container is empty -> nothing to do } - // else: no container -> nothign to do + // else: no container -> nothing to do } diff --git a/main/xmlsecurity/source/framework/buffernode.cxx b/main/xmlsecurity/source/framework/buffernode.cxx index 1d96bed9b9..c05161ec79 100644 --- a/main/xmlsecurity/source/framework/buffernode.cxx +++ b/main/xmlsecurity/source/framework/buffernode.cxx @@ -583,7 +583,7 @@ const BufferNode* BufferNode::childAt(sal_Int32 nIndex) const /****** BufferNode/childAt *************************************************** * * NAME - * childAt -- retrieves the child BufferNode at specific possition. + * childAt -- retrieves the child BufferNode at specific position. * * SYNOPSIS * child = childAt(nIndex);
