Skip to content

Commit

Permalink
Fix spelling in code comments (#210)
Browse files Browse the repository at this point in the history
* Fix spelling in code comments

* Update wordml2ooo_field.xsl

* Update ooo2wordml_border.xsl

---------

Co-authored-by: Matthias Seidel <mseidel@apache.org>
  • Loading branch information
jbampton and Pilot-Pirx committed Apr 1, 2024
1 parent 95939a2 commit c809b0d
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion main/canvas/source/cairo/cairo_spritecanvashelper.cxx
Expand Up @@ -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 )
{
Expand Down
2 changes: 1 addition & 1 deletion main/canvas/source/directx/dx_spritecanvashelper.cxx
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion main/canvas/source/vcl/spritecanvashelper.cxx
Expand Up @@ -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 )
{
Expand Down
4 changes: 2 additions & 2 deletions main/filter/source/xslt/export/wordml/ooo2wordml_border.xsl
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion main/filter/source/xslt/import/wordml/wordml2ooo_field.xsl
Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion main/fpicker/source/win32/filepicker/VistaFilePicker.hxx
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions main/sc/addin/datefunc/dfa.cl
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion main/sd/source/ui/view/ToolBarManager.cxx
Expand Up @@ -283,7 +283,7 @@ class ToolBarManager::Implementation
/** 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);
Expand Down

0 comments on commit c809b0d

Please sign in to comment.