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
The following commit(s) were added to refs/heads/AOO42X by this push:
new 3a4108e5ce Fix spelling (#220)
3a4108e5ce is described below
commit 3a4108e5ce1045ebbbc5aa1b1e2d91115160df6c
Author: John Bampton <[email protected]>
AuthorDate: Sat Jul 6 01:49:57 2024 +1000
Fix spelling (#220)
(cherry picked from commit 97073f9464f9893686b81544ed4c1f5e9f765220)
---
main/drawinglayer/source/primitive2d/polypolygonprimitive2d.cxx | 4 ++--
main/extensions/source/propctrlr/pushbuttonnavigation.hxx | 2 +-
main/offapi/com/sun/star/inspection/XStringRepresentation.idl | 2 +-
main/rdbmaker/source/rdbmaker/rdboptions.cxx | 2 +-
main/sfx2/qa/complex/sfx2/undo/DrawingOrPresentationDocumentTest.java | 2 +-
main/svtools/inc/svtools/table/tablecontrolinterface.hxx | 4 ++--
main/svtools/source/dialogs/filedlg2.cxx | 4 ++--
main/sw/inc/editsh.hxx | 2 +-
main/sw/source/core/edit/edattr.cxx | 2 +-
main/vcl/aqua/source/gdi/salgdi.cxx | 4 ++--
10 files changed, 14 insertions(+), 14 deletions(-)
diff --git a/main/drawinglayer/source/primitive2d/polypolygonprimitive2d.cxx
b/main/drawinglayer/source/primitive2d/polypolygonprimitive2d.cxx
index 391382c806..2add6bafa1 100644
--- a/main/drawinglayer/source/primitive2d/polypolygonprimitive2d.cxx
+++ b/main/drawinglayer/source/primitive2d/polypolygonprimitive2d.cxx
@@ -582,12 +582,12 @@ namespace drawinglayer
if(aOutRange != getDefinitionRange())
{
// we want to paint (tiled) content which is
defined relative to DefinitionRange
- // with the same tiling and offset(s) in the
traget range of the geometry (the
+ // with the same tiling and offset(s) in the
target range of the geometry (the
// polygon). The range given in the local
FillGraphicAttribute defines the position
// of the graphic in unit coordinates relative to
the DefinitionRange. Transform
// this using DefinitionRange to get to the global
definition and then with the
// inverse transformation from the target range to
go to unit coordinates relative
- // to that traget coordinate system.
+ // to that target coordinate system.
basegfx::B2DRange
aAdaptedRange(getFillGraphic().getGraphicRange());
const basegfx::B2DHomMatrix
aFromDefinitionRangeToGlobal(
diff --git a/main/extensions/source/propctrlr/pushbuttonnavigation.hxx
b/main/extensions/source/propctrlr/pushbuttonnavigation.hxx
index d7f1d0ec30..5331ec8feb 100644
--- a/main/extensions/source/propctrlr/pushbuttonnavigation.hxx
+++ b/main/extensions/source/propctrlr/pushbuttonnavigation.hxx
@@ -85,7 +85,7 @@ namespace pcr
::com::sun::star::beans::PropertyState
getCurrentTargetURLState( ) const SAL_THROW(());
- /** determines whether the current button tpye is FormButtonType_URL
+ /** determines whether the current button type is FormButtonType_URL
*/
bool currentButtonTypeIsOpenURL() const;
diff --git a/main/offapi/com/sun/star/inspection/XStringRepresentation.idl
b/main/offapi/com/sun/star/inspection/XStringRepresentation.idl
index fcdebf068a..49497886a1 100644
--- a/main/offapi/com/sun/star/inspection/XStringRepresentation.idl
+++ b/main/offapi/com/sun/star/inspection/XStringRepresentation.idl
@@ -46,7 +46,7 @@ published interface XStringRepresentation
*/
string convertToControlValue([in]any PropertyValue) raises(
com::sun::star::uno::Exception );
- /** converts a string into an any with the type defined by the target tpye.
+ /** converts a string into an any with the type defined by the target type.
@param ControlValue
The to-be-converted control value.
@param ControlValueType
diff --git a/main/rdbmaker/source/rdbmaker/rdboptions.cxx
b/main/rdbmaker/source/rdbmaker/rdboptions.cxx
index 61e0ff59b5..54901716b4 100644
--- a/main/rdbmaker/source/rdbmaker/rdboptions.cxx
+++ b/main/rdbmaker/source/rdbmaker/rdboptions.cxx
@@ -334,7 +334,7 @@ OString RdbOptions::prepareHelp()
help += " 1. using the internal UNO type description manager -> use
-R<regname>\n"
" where regname specifies the type library used by the UNO type
description manager\n"
" after UNO is bootstrapped. This option disables the use of
any other type libraries.\n"
- " The tpye library must be a valid product type library which
means that all types are\n"
+ " The type library must be a valid product type library which
means that all types are\n"
" stored under the global base node UCR (Uno Core Reflection
data).\n";
help += " 2. using one or more type library files -> use file_1 ...
file_n\n"
" file_1 .. file_n specifies one or more valid type library
files which are used to\n"
diff --git
a/main/sfx2/qa/complex/sfx2/undo/DrawingOrPresentationDocumentTest.java
b/main/sfx2/qa/complex/sfx2/undo/DrawingOrPresentationDocumentTest.java
index fde86a29e3..785bb0d72e 100644
--- a/main/sfx2/qa/complex/sfx2/undo/DrawingOrPresentationDocumentTest.java
+++ b/main/sfx2/qa/complex/sfx2/undo/DrawingOrPresentationDocumentTest.java
@@ -88,7 +88,7 @@ public abstract class DrawingOrPresentationDocumentTest
extends DocumentTestBase
final Object shape = firstPageShapes.getByIndex(0);
verifyShapeGeometry( shape, BIG_CIRCLE_SIZE, BIG_CIRCLE_SIZE );
final XPropertySet shapeProps = UnoRuntime.queryInterface(
XPropertySet.class, shape );
- assertEquals( "wrong circle tpye", CIRCLE_TYPE.getValue(),
((CircleKind)shapeProps.getPropertyValue( "CircleKind" )).getValue() );
+ assertEquals( "wrong circle type", CIRCLE_TYPE.getValue(),
((CircleKind)shapeProps.getPropertyValue( "CircleKind" )).getValue() );
//assertEquals( "wrong circle fill color", FILL_COLOR,
((Integer)shapeProps.getPropertyValue( "FillColor" )).intValue() );
// disable this particular check: A bug in the drawing layer API
restores the FillColor to its
// default value upon re-insertion. This is issue #i115080#
diff --git a/main/svtools/inc/svtools/table/tablecontrolinterface.hxx
b/main/svtools/inc/svtools/table/tablecontrolinterface.hxx
index f4ac91a960..a35774cd85 100644
--- a/main/svtools/inc/svtools/table/tablecontrolinterface.hxx
+++ b/main/svtools/inc/svtools/table/tablecontrolinterface.hxx
@@ -226,10 +226,10 @@ namespace svt { namespace table
/// calculates a width, given in pixels, into a AppFont-based width
virtual long pixelWidthToAppFont( long const i_pixels ) const = 0;
- /// shows a trackign rectangle
+ /// shows a tracking rectangle
virtual void showTracking( Rectangle const & i_location, sal_uInt16
const i_flags ) = 0;
- /// hides a prviously shown tracking rectangle
+ /// hides a previously shown tracking rectangle
virtual void hideTracking() = 0;
/// does a hit test for the given pixel coordinates
diff --git a/main/svtools/source/dialogs/filedlg2.cxx
b/main/svtools/source/dialogs/filedlg2.cxx
index d912bceea9..dbc9ba33e5 100644
--- a/main/svtools/source/dialogs/filedlg2.cxx
+++ b/main/svtools/source/dialogs/filedlg2.cxx
@@ -279,7 +279,7 @@ IMPL_LINK( ImpPathDialog, SelectHdl, ListBox *, p )
if( p == pDirList )
{
// isolate the pure name of the entry
- // removing trainling stuff and leading spaces
+ // removing trailing stuff and leading spaces
UniString aEntry( pDirList->GetSelectEntry() );
aEntry.EraseLeadingChars( ' ' );
@@ -372,7 +372,7 @@ IMPL_LINK( ImpPathDialog, ClickHdl, Button*, pBtn )
IMPL_LINK( ImpPathDialog, DblClickHdl, ListBox*, pBox )
{
// isolate the pure name of the entry
- // removing trainling stuff and leading spaces
+ // removing trailing stuff and leading spaces
UniString aEntry( pBox->GetSelectEntry() );
aEntry.EraseLeadingChars( ' ' );
diff --git a/main/sw/inc/editsh.hxx b/main/sw/inc/editsh.hxx
index 3fe086d1ca..6689ddc73d 100644
--- a/main/sw/inc/editsh.hxx
+++ b/main/sw/inc/editsh.hxx
@@ -268,7 +268,7 @@ public:
void ResetAttr( const SvUShortsSort* pAttrs = 0 );
void GCAttr();
- // returns the scripttpye of the selection
+ // returns the scripttype of the selection
sal_uInt16 GetScriptType() const;
// returns the language at current cursor position
diff --git a/main/sw/source/core/edit/edattr.cxx
b/main/sw/source/core/edit/edattr.cxx
index 49563717b4..a36fd7fcc4 100644
--- a/main/sw/source/core/edit/edattr.cxx
+++ b/main/sw/source/core/edit/edattr.cxx
@@ -493,7 +493,7 @@ sal_Bool lcl_IsNoEndTxtAttrAtPos( const SwTxtNode& rTNd,
xub_StrLen nPos,
}
-// returns the scripttpye of the selection
+// returns the scripttype of the selection
sal_uInt16 SwEditShell::GetScriptType() const
{
sal_uInt16 nRet = 0;
diff --git a/main/vcl/aqua/source/gdi/salgdi.cxx
b/main/vcl/aqua/source/gdi/salgdi.cxx
index 20b148394e..cf2ce069db 100644
--- a/main/vcl/aqua/source/gdi/salgdi.cxx
+++ b/main/vcl/aqua/source/gdi/salgdi.cxx
@@ -1471,7 +1471,7 @@ sal_Bool AquaSalGraphics::drawEPS( long nX, long nY, long
nWidth, long nHeight,
// create new context
NSGraphicsContext* pDrawNSCtx = [NSGraphicsContext
graphicsContextWithGraphicsPort: mrContext flipped: IsFlipped()];
- // set it, setCurrentContext also releases the prviously set one
+ // set it, setCurrentContext also releases the previously set one
[NSGraphicsContext setCurrentContext: pDrawNSCtx];
// draw the EPS
@@ -2494,7 +2494,7 @@ void XorEmulation::SetTarget( int nWidth, int nHeight,
int nTargetDepth,
CGContextSetStrokeColorSpace( mxMaskContext, aCGColorSpace );
CGContextSetShouldAntialias( mxMaskContext, false );
- // improve the XorMask's XOR emulation a litte
+ // improve the XorMask's XOR emulation a little
// NOTE: currently only enabled for monochrome contexts
if( aCGColorSpace == GetSalData()->mxGraySpace )
CGContextSetBlendMode( mxMaskContext, kCGBlendModeDifference );