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 99ad85ff5d Fix spelling (#218)
99ad85ff5d is described below
commit 99ad85ff5d61cf2054d3df3b4503ee1b84f3f4d0
Author: John Bampton <[email protected]>
AuthorDate: Wed Jun 12 07:00:55 2024 +1000
Fix spelling (#218)
* Fix spelling
* Update spreadsheetml2ooo.xsl
---------
Co-authored-by: Matthias Seidel <[email protected]>
---
.../source/xslt/import/spreadsheetml/spreadsheetml2ooo.xsl | 10 +++++-----
main/sal/qa/libs2test.txt | 2 +-
main/sal/qa/osl/file/osl_File.cxx | 12 ++++++------
main/sal/qa/osl/module/osl_Module.cxx | 2 +-
main/sal/qa/osl/socket/osl_Socket.cxx | 10 +++++-----
main/sal/qa/osl/socket/osl_Socket2.cxx | 2 +-
6 files changed, 19 insertions(+), 19 deletions(-)
diff --git a/main/filter/source/xslt/import/spreadsheetml/spreadsheetml2ooo.xsl
b/main/filter/source/xslt/import/spreadsheetml/spreadsheetml2ooo.xsl
index a11a9a816c..d8954f148e 100644
--- a/main/filter/source/xslt/import/spreadsheetml/spreadsheetml2ooo.xsl
+++ b/main/filter/source/xslt/import/spreadsheetml/spreadsheetml2ooo.xsl
@@ -496,7 +496,7 @@
<!-- applying to ss:Data (but *, as also ss:Data nested
in ss:Comments -->
<xsl:apply-templates
select="/ss:Workbook/ss:Worksheet/ss:Table/ss:Row/ss:Cell/*[descendant-or-self::*[namespace-uri()='http://www.w3.org/TR/REC-html40']]"/>
<xsl:apply-templates
select="/ss:Workbook/ss:Worksheet/x:WorksheetOptions/x:PageSetup//@x:Data"/>
- <!-- if ConditionalFormatting exists,transforing the
styles -->
+ <!-- if ConditionalFormatting exists, transforming the
styles -->
<xsl:if
test="/ss:Workbook/ss:Worksheet/x:ConditionalFormatting">
<xsl:call-template
name="CondFormat_automatic_style"/>
</xsl:if>
@@ -1136,7 +1136,7 @@
</xsl:choose>
</xsl:element>
</xsl:if>
- <!-- the type of condition-pos:1,the
former third part of General; 2, the last General. the methods handling
diffirent -->
+ <!-- the type of condition-pos:1,the
former third part of General; 2, the last General. the methods handling
different -->
<xsl:call-template
name="create-number-format-content">
<xsl:with-param
name="style-type-name" select="$style-type-name"/>
<xsl:with-param
name="number-format-unit" select="$current-number-format-unit"/>
@@ -1155,7 +1155,7 @@
</xsl:choose>
</xsl:with-param>
</xsl:call-template>
- <!-- creat style:map for other sub
number formats -->
+ <!-- create style:map for other sub
number formats -->
<xsl:if test="$current-unit = 0 and
$total-unit > 1">
<xsl:variable
name="style-condition1">
<xsl:call-template
name="get-number-format-condition">
@@ -2712,7 +2712,7 @@
<xsl:with-param
name="condition-pos" select="$condition-pos"/>
<xsl:with-param
name="isNumberTextElementOpened" select="$isNumberTextElementOpened"/>
<xsl:with-param
name="posed-number-format-unit" select="substring($number-format-unit,$unit-pos
+ 2)"/>
- <!-- place '*'
temparily here, because now StarCalc doesn't support variable filling character
definition -->
+ <!-- place '*'
temporarily here, because now Calc doesn't support variable filling character
definition -->
<xsl:with-param
name="numberTextValue" select="substring($posed-number-format-unit,2,1)"/>
<xsl:with-param
name="finished" select="$finished"/>
</xsl:call-template>
@@ -5988,7 +5988,7 @@
</xsl:choose>
</xsl:variable>
<xsl:if test="@ss:Index - $expandedRowCountIndex > 0">
- <!-- create the precding missing rows -->
+ <!-- create the preceding missing rows -->
<xsl:element name="table:table-row">
<!-- fill the preceding gap with rows without a
cell -->
<xsl:attribute
name="table:number-rows-repeated">
diff --git a/main/sal/qa/libs2test.txt b/main/sal/qa/libs2test.txt
index 4fad7a4bbd..ffaeb0f267 100644
--- a/main/sal/qa/libs2test.txt
+++ b/main/sal/qa/libs2test.txt
@@ -47,7 +47,7 @@ rtl/oustring ; rtl_OUString2
rtl/ostring ; rtl_OString2
osl/file ; osl_File
-# LLA: temporaly removed, there are lot of problems with our environment
+# LLA: temporally removed, there are lot of problems with our environment
osl/socket ; osl_StreamSocket
osl/socket ; osl_DatagramSocket
osl/socket ; osl_SocketAddr
diff --git a/main/sal/qa/osl/file/osl_File.cxx
b/main/sal/qa/osl/file/osl_File.cxx
index 835d4a80dd..deb563f861 100644
--- a/main/sal/qa/osl/file/osl_File.cxx
+++ b/main/sal/qa/osl/file/osl_File.cxx
@@ -400,7 +400,7 @@ inline void createTestFile( const ::rtl::OUString basename,
const ::rtl::OUStrin
createTestFile( aBaseURL );
}
-/** detete a temp test file using OUString name.
+/** delete a temp test file using OUString name.
*/
inline void deleteTestFile( const ::rtl::OUString filename )
{
@@ -891,7 +891,7 @@ namespace osl_FileBase
#endif
}
- //use ".." in relartive path, the BasePath must exist on the file system
+ //use ".." in relative path, the BasePath must exist on the file system
TEST_F(getAbsoluteFileURL, getAbsoluteFileURL_004_1)
{
//create two level directories under $Temp/PID/
@@ -1403,7 +1403,7 @@ namespace osl_FileBase
checkUNXBehaviour_getFileURLFromSystemPath(sSysPath,
osl::FileBase::E_INVAL, "");
checkWNTBehaviour_getFileURLFromSystemPath(sSysPath,
osl::FileBase::E_INVAL, "");
}
- // start with "~user", not impletment
+ // start with "~user", not implement
// void SystemPath_FileURL::getFileURLFromSystemPath_006()
@@ -2762,7 +2762,7 @@ namespace osl_FileStatus
nError1 = pDir->getNextItem( m_aItem_2 );
ASSERT_TRUE(::osl::FileBase::E_None == nError1) << "get
second item failed!";
pDir->close();
- //mindy: failed on my RH9,so removed temporaly
+ //mindy: failed on my RH9,so removed temporally
//nError1 = ::osl::DirectoryItem::get( aVolURL2,
m_aVolumeItem );
//ASSERT_TRUE(::osl::FileBase::E_None == nError1) <<
"get volume item failed!";
@@ -4784,12 +4784,12 @@ namespace osl_DirectoryItem
ASSERT_TRUE( FileBase::E_None == nError1 );
::osl::DirectoryItem copyItem;
- copyItem = rItem; //assinment operator
+ copyItem = rItem; //assignment operator
::osl::FileStatus rFileStatus( FileStatusMask_FileName );
nError1 = copyItem.getFileStatus( rFileStatus );
ASSERT_TRUE( nError1 == FileBase::E_None );
- ASSERT_TRUE(( sal_True == compareFileName( rFileStatus.getFileName( ),
aTmpName2 ) )) << "test for copy_assin_Ctors function: test assinment operator
here since it is same as copy constructor in test way.";
+ ASSERT_TRUE(( sal_True == compareFileName( rFileStatus.getFileName( ),
aTmpName2 ) )) << "test for copy_assin_Ctors function: test assignment operator
here since it is same as copy constructor in test way.";
}
//---------------------------------------------------------------------
diff --git a/main/sal/qa/osl/module/osl_Module.cxx
b/main/sal/qa/osl/module/osl_Module.cxx
index db248e2e3d..f50dc6c972 100644
--- a/main/sal/qa/osl/module/osl_Module.cxx
+++ b/main/sal/qa/osl/module/osl_Module.cxx
@@ -151,7 +151,7 @@ inline sal_Bool ifFileExist( const ::rtl::OUString & str )
}
}
-/** detete a temp test file using OUString name.
+/** delete a temp test file using OUString name.
*/
inline void deleteTestFile( const ::rtl::OUString filename )
{
diff --git a/main/sal/qa/osl/socket/osl_Socket.cxx
b/main/sal/qa/osl/socket/osl_Socket.cxx
index b99a89bbb5..91bff8beee 100644
--- a/main/sal/qa/osl/socket/osl_Socket.cxx
+++ b/main/sal/qa/osl/socket/osl_Socket.cxx
@@ -407,12 +407,12 @@ protected:
}
public:
- // public to check if data transmition is OK
+ // public to check if data transmission is OK
sal_Char pReadBuffer[30];
ServerSocketThread( )
{
m_id = getIdentifier( );
- //printf("# successfully creat this server thread %d!\n", m_id
);
+ //printf("# successfully create this server thread %d!\n",
m_id );
}
~ServerSocketThread( )
@@ -601,11 +601,11 @@ protected:
}
public:
- // public to check if data transmition is OK
+ // public to check if data transmission is OK
WriteSocketThread(sal_Int32 _nBufferSize, int _nValue )
{
m_id = getIdentifier( );
- //printf("# successfully creat this server thread %d!\n", m_id
);
+ //printf("# successfully create this server thread %d!\n",
m_id );
m_aValues.createBuffer(_nBufferSize, _nValue);
}
@@ -1448,7 +1448,7 @@ namespace osl_Socket
/** test writer's comment:
- the assignment operator does not support direct assinment like:
+ the assignment operator does not support direct assignment like:
::osl::Socket sSocket = sHandle.
*/
TEST_F(operators, operators_assignment_handle)
diff --git a/main/sal/qa/osl/socket/osl_Socket2.cxx
b/main/sal/qa/osl/socket/osl_Socket2.cxx
index 5396350bb6..19f30c16c2 100644
--- a/main/sal/qa/osl/socket/osl_Socket2.cxx
+++ b/main/sal/qa/osl/socket/osl_Socket2.cxx
@@ -251,7 +251,7 @@ namespace osl_Socket
/** test writer's comment:
- the assignment operator does not support direct assinment like:
+ the assignment operator does not support direct assignment like:
::osl::Socket sSocket = sHandle.
*/
TEST_F(operators, operators_assignment_handle)