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 c809b0d380 Fix spelling in code comments (#210) c809b0d380 is described below commit c809b0d38055f2551e1d74a528bd818a9857f3c8 Author: John Bampton <jbamp...@users.noreply.github.com> AuthorDate: Tue Apr 2 05:31:41 2024 +1000 Fix spelling in code comments (#210) * Fix spelling in code comments * Update wordml2ooo_field.xsl * Update ooo2wordml_border.xsl --------- Co-authored-by: Matthias Seidel <msei...@apache.org> --- main/canvas/source/cairo/cairo_spritecanvashelper.cxx | 2 +- main/canvas/source/directx/dx_spritecanvashelper.cxx | 2 +- main/canvas/source/vcl/spritecanvashelper.cxx | 2 +- main/filter/source/xslt/export/wordml/ooo2wordml_border.xsl | 4 ++-- main/filter/source/xslt/import/wordml/wordml2ooo_field.xsl | 2 +- main/fpicker/source/win32/filepicker/VistaFilePicker.hxx | 2 +- main/sc/addin/datefunc/dfa.cl | 6 +++--- main/sd/source/ui/view/ToolBarManager.cxx | 2 +- 8 files changed, 11 insertions(+), 11 deletions(-) diff --git a/main/canvas/source/cairo/cairo_spritecanvashelper.cxx b/main/canvas/source/cairo/cairo_spritecanvashelper.cxx index 573263b445..d7763ac426 100644 --- a/main/canvas/source/cairo/cairo_spritecanvashelper.cxx +++ b/main/canvas/source/cairo/cairo_spritecanvashelper.cxx @@ -218,7 +218,7 @@ namespace cairocanvas CairoSharedPtr pCompositingCairo = pCompositingSurface->getCairo(); CairoSharedPtr pWindowCairo = pWindowSurface->getCairo(); - // TODO(P1): Might be worthwile to track areas of background + // TODO(P1): Might be worthwhile to track areas of background // changes, too. if( !bUpdateAll && !io_bSurfaceDirty ) { diff --git a/main/canvas/source/directx/dx_spritecanvashelper.cxx b/main/canvas/source/directx/dx_spritecanvashelper.cxx index 7105411bea..4b6976c915 100644 --- a/main/canvas/source/directx/dx_spritecanvashelper.cxx +++ b/main/canvas/source/directx/dx_spritecanvashelper.cxx @@ -202,7 +202,7 @@ namespace dxcanvas // clear area that needs to be blitted to screen beforehand maUpdateRect.reset(); - // TODO(P1): Might be worthwile to track areas of background + // TODO(P1): Might be worthwhile to track areas of background // changes, too. // TODO(P2): Might be worthwhile to use page-flipping only if diff --git a/main/canvas/source/vcl/spritecanvashelper.cxx b/main/canvas/source/vcl/spritecanvashelper.cxx index 3b1b75d158..ec6d1ab22f 100644 --- a/main/canvas/source/vcl/spritecanvashelper.cxx +++ b/main/canvas/source/vcl/spritecanvashelper.cxx @@ -287,7 +287,7 @@ namespace vclcanvas pTargetWindow->ExpandPaintClipRegion(aFullWindowRegion); } - // TODO(P1): Might be worthwile to track areas of background + // TODO(P1): Might be worthwhile to track areas of background // changes, too. if( !bUpdateAll && !io_bSurfaceDirty ) { diff --git a/main/filter/source/xslt/export/wordml/ooo2wordml_border.xsl b/main/filter/source/xslt/export/wordml/ooo2wordml_border.xsl index 56e094af57..c7783ba6d1 100644 --- a/main/filter/source/xslt/export/wordml/ooo2wordml_border.xsl +++ b/main/filter/source/xslt/export/wordml/ooo2wordml_border.xsl @@ -43,8 +43,8 @@ <xsl:otherwise>none</xsl:otherwise> </xsl:choose> </xsl:variable> - <!-- MS word and SO wirter borders Mapping - MS word Borders SO borders + <!-- MS Word and AOO Writer borders mapping + MS Word borders AOO borders w:val="single" w:sz="0" 0.05pt(0.002cm);solid w:val="single" w:sz="12" 1.00pt(0.035cm);solid w:val="single" w:sz="18" 2.50pt(0.088cm);solid diff --git a/main/filter/source/xslt/import/wordml/wordml2ooo_field.xsl b/main/filter/source/xslt/import/wordml/wordml2ooo_field.xsl index faddd77c12..bd52941f10 100644 --- a/main/filter/source/xslt/import/wordml/wordml2ooo_field.xsl +++ b/main/filter/source/xslt/import/wordml/wordml2ooo_field.xsl @@ -1233,7 +1233,7 @@ <xsl:attribute name="office:string-value"><xsl:value-of select="$field_content"/></xsl:attribute> </text:user-field-decl> </xsl:template> - <!-- =========this following template to convert the ms number format to OOo wirter format === --> + <!-- =========this following template to convert the MS number format to AOO Writer format === --> <xsl:template name="get_field_num_format"> <xsl:param name="input_MS_num_format"/> <xsl:choose> diff --git a/main/fpicker/source/win32/filepicker/VistaFilePicker.hxx b/main/fpicker/source/win32/filepicker/VistaFilePicker.hxx index a7d939faf0..fe02d5052c 100644 --- a/main/fpicker/source/win32/filepicker/VistaFilePicker.hxx +++ b/main/fpicker/source/win32/filepicker/VistaFilePicker.hxx @@ -80,7 +80,7 @@ typedef ::cppu::WeakComponentImplHelper10< //----------------------------------------------------------------------------- /** Implements the XFilePicker & friends interface(s) - for Windos Vista and upcoming versions. + for Windows Vista and upcoming versions. Note: This will be an UNO wrapper for the real file picker implementation oly. The real implementation is done in class diff --git a/main/sc/addin/datefunc/dfa.cl b/main/sc/addin/datefunc/dfa.cl index 9a29676f07..6d0c8b2389 100644 --- a/main/sc/addin/datefunc/dfa.cl +++ b/main/sc/addin/datefunc/dfa.cl @@ -51,9 +51,9 @@ void CALLTYPE SetLanguage( USHORT* nLanguage ) * Null Date, initialized in GetFunctionCount * * StarCalc uses a BaseDate 12/30/1899 - * If not specified otherwise in the Settings for the Spreedsheet Document. + * If not specified otherwise in the Settings for the Spreadsheet Document. * - * There's no way to get the Spreadsheet settings from whithin a simple addin, + * There's no way to get the Spreadsheet settings from within a simple addin, * so this Addin can only be used by documents using the default BaseDate setting. * * The functions in this Addin use a BaseDate 01/01/0001 @@ -492,7 +492,7 @@ void CALLTYPE ScDate_DaysInYear(double *r, double *d) * executed and is also used to initialize the NullDate here. * * StarCalc uses a Date Base 12/30/1899 - * If not specified otherwise in the Options for the Spreedsheet Document + * If not specified otherwise in the Options for the Spreadsheet Document * * * @param *nCount - returns the number of functions which are exported to StarCalc diff --git a/main/sd/source/ui/view/ToolBarManager.cxx b/main/sd/source/ui/view/ToolBarManager.cxx index 9c61ba9172..17d7623917 100644 --- a/main/sd/source/ui/view/ToolBarManager.cxx +++ b/main/sd/source/ui/view/ToolBarManager.cxx @@ -283,7 +283,7 @@ public: /** Release all tool bar shells and the associated framework tool bars. Typically called when the main view shell is being replaced by another, all tool bar shells are released. In that process the - shells are destroyed anyway and whithout calling this method they + shells are destroyed anyway and without calling this method they would still be referenced. */ void ReleaseAllToolBarShells (void);