Fix typo in code

It passed "make check" on Linux

Change-Id: I58e196515614aad309c9df8784b08fa86415549d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101783
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
This commit is contained in:
Andrea Gelmini
2020-08-31 14:56:56 +02:00
committed by Julien Nabet
parent 6bdf4ee836
commit efd7bf1afb
3 changed files with 6 additions and 6 deletions

View File

@@ -679,7 +679,7 @@ static bool performSequenceTest(XBridgeTest* xBT)
} }
/** Test the System::Object method on the proxy object /** Test the System::Object method on the proxy object
*/ */
static bool testObjectMethodsImplemention(XBridgeTest* xLBT) static bool testObjectMethodsImplementation(XBridgeTest* xLBT)
{ {
bool ret = false; bool ret = false;
Object* obj = new Object(); Object* obj = new Object();
@@ -788,7 +788,7 @@ static bool raiseException(XBridgeTest* xLBT )
bRet = check( performTest( xLBT ), "standard test" ) && bRet; bRet = check( performTest( xLBT ), "standard test" ) && bRet;
bRet = check( raiseException( xLBT ) , "exception test" )&& bRet; bRet = check( raiseException( xLBT ) , "exception test" )&& bRet;
bRet = check( raiseOnewayException( xLBT ), "oneway exception test" ) && bRet; bRet = check( raiseOnewayException( xLBT ), "oneway exception test" ) && bRet;
bRet = check( testObjectMethodsImplemention(xLBT), "object methods test") && bRet; bRet = check( testObjectMethodsImplementation(xLBT), "object methods test") && bRet;
bRet = performQueryForUnknownType( xLBT ) && bRet; bRet = performQueryForUnknownType( xLBT ) && bRet;
if (! bRet) if (! bRet)
{ {

View File

@@ -855,7 +855,7 @@ static bool performSequenceTest(XBridgeTest xBT)
} }
/** Test the System::Object method on the proxy object /** Test the System::Object method on the proxy object
*/ */
static bool testObjectMethodsImplemention(XBridgeTest xLBT) static bool testObjectMethodsImplementetion(XBridgeTest xLBT)
{ {
bool ret = false; bool ret = false;
Object obj = new Object(); Object obj = new Object();
@@ -970,7 +970,7 @@ static bool raiseException(XBridgeTest xLBT )
bRet = check( performTest( xLBT ), "standard test" ) && bRet; bRet = check( performTest( xLBT ), "standard test" ) && bRet;
bRet = check( raiseException( xLBT ) , "exception test" )&& bRet; bRet = check( raiseException( xLBT ) , "exception test" )&& bRet;
bRet = check( raiseOnewayException( xLBT ), "oneway exception test" ) && bRet; bRet = check( raiseOnewayException( xLBT ), "oneway exception test" ) && bRet;
bRet = check( testObjectMethodsImplemention(xLBT), "object methods test") && bRet; bRet = check( testObjectMethodsImplementetion(xLBT), "object methods test") && bRet;
bRet = performQueryForUnknownType( xLBT ) && bRet; bRet = performQueryForUnknownType( xLBT ) && bRet;
if ( ! bRet) if ( ! bRet)
{ {

View File

@@ -766,7 +766,7 @@ Public Class BridgeTest
'Test the System::Object method on the proxy object 'Test the System::Object method on the proxy object
' '
Private Shared Function testObjectMethodsImplemention(xLBT As XBridgeTest) As Boolean Private Shared Function testObjectMethodsImplementation(xLBT As XBridgeTest) As Boolean
Dim ret As Boolean = False Dim ret As Boolean = False
Dim obj As Object = New Object Dim obj As Object = New Object
Dim xInt As Object = DirectCast(xLBT, Object) Dim xInt As Object = DirectCast(xLBT, Object)
@@ -807,7 +807,7 @@ Public Class BridgeTest
bRet = check( raiseException( xLBT ) , "exception test" ) And bRet bRet = check( raiseException( xLBT ) , "exception test" ) And bRet
bRet = check( raiseOnewayException( xLBT ), "oneway exception test" ) _ bRet = check( raiseOnewayException( xLBT ), "oneway exception test" ) _
And bRet And bRet
bRet = check( testObjectMethodsImplemention(xLBT), _ bRet = check( testObjectMethodsImplementation(xLBT), _
"object methods test") And bRet "object methods test") And bRet
bRet = performQueryForUnknownType( xLBT ) And bRet bRet = performQueryForUnknownType( xLBT ) And bRet
If Not bRet If Not bRet