Fix typos

Change-Id: Iaefa094c82006346897f5563ac3ddcdc60ab68a3
Reviewed-on: https://gerrit.libreoffice.org/34809
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
This commit is contained in:
Andrea Gelmini
2017-03-02 12:29:36 +01:00
committed by Noel Grandin
parent 6fab286b2a
commit 0a850f3e15
13 changed files with 14 additions and 14 deletions

View File

@@ -121,7 +121,7 @@ class AnimationNodeBase : public XAnimateMotion,
public OWeakObject public OWeakObject
{ {
public: public:
// our first, last and only protection from mutli-threads! // our first, last and only protection from multi-threads!
Mutex maMutex; Mutex maMutex;
}; };
@@ -364,7 +364,7 @@ private:
/** current iteration position */ /** current iteration position */
ChildList_t::iterator maIter; ChildList_t::iterator maIter;
/** our first, last and only protection from mutli-threads! */ /** our first, last and only protection from multi-threads! */
Mutex maMutex; Mutex maMutex;
}; };

View File

@@ -476,7 +476,7 @@ bool EditorWindow::ImpCanModify()
if ( StarBASIC::IsRunning() && rModulWindow.GetBasicStatus().bIsRunning ) if ( StarBASIC::IsRunning() && rModulWindow.GetBasicStatus().bIsRunning )
{ {
// If in Trace-mode, abort the trace or refuse input // If in Trace-mode, abort the trace or refuse input
// Remove markers in the modules in Notify at Basic::Stoped // Remove markers in the modules in Notify at Basic::Stopped
if (ScopedVclPtrInstance<QueryBox>(nullptr, WB_OK_CANCEL, IDEResId(RID_STR_WILLSTOPPRG).toString())->Execute() == RET_OK) if (ScopedVclPtrInstance<QueryBox>(nullptr, WB_OK_CANCEL, IDEResId(RID_STR_WILLSTOPPRG).toString())->Execute() == RET_OK)
{ {
rModulWindow.GetBasicStatus().bIsRunning = false; rModulWindow.GetBasicStatus().bIsRunning = false;

View File

@@ -23,7 +23,7 @@ End If
cn.CommandTimeout = origTimeout ' restore timeout cn.CommandTimeout = origTimeout ' restore timeout
Rem Double check objCmd.ActiveConnection is pointing to objCmd.ActiveConnection Rem Double check objCmd.ActiveConnection is pointing to objCmd.ActiveConnection
If objCmd.ActiveConnection.CommandTimeout <> origTimeout Then If objCmd.ActiveConnection.CommandTimeout <> origTimeout Then
doUnitTest = "FAIL expected orignal timeout " & origTimeout & " but got " & objCmd.ActiveConnection.CommandTimeout doUnitTest = "FAIL expected original timeout " & origTimeout & " but got " & objCmd.ActiveConnection.CommandTimeout
Exit Function Exit Function
End If End If
doUnitTest = "OK" ' no error doUnitTest = "OK" ' no error

View File

@@ -1626,7 +1626,7 @@ bool StarBASIC::CError( SbError code, const OUString& rMsg,
{ {
SolarMutexGuard aSolarGuard; SolarMutexGuard aSolarGuard;
// compiler error during runtime -> stop programm // compiler error during runtime -> stop program
if( IsRunning() ) if( IsRunning() )
{ {
// #109018 Check if running Basic is affected // #109018 Check if running Basic is affected

View File

@@ -1974,7 +1974,7 @@ void SbiRuntime::StepSET()
{ {
SbxVariableRef refVal = PopVar(); SbxVariableRef refVal = PopVar();
SbxVariableRef refVar = PopVar(); SbxVariableRef refVar = PopVar();
StepSET_Impl( refVal, refVar, bVBAEnabled ); // this is really assigment StepSET_Impl( refVal, refVar, bVBAEnabled ); // this is really assignment
} }
void SbiRuntime::StepVBASET() void SbiRuntime::StepVBASET()

View File

@@ -115,7 +115,7 @@ SbxBasicFormater::SbxBasicFormater( sal_Unicode _cDecPoint, sal_Unicode _cThousa
{ {
} }
// function for ouput of a error-text (for debugging) // function for output of a error-text (for debugging)
// displaces all characters of the string, starting from nStartPos // displaces all characters of the string, starting from nStartPos
// for one position to larger indexes, i. e. place for a new // for one position to larger indexes, i. e. place for a new
// character (which is to be inserted) is created. // character (which is to be inserted) is created.

View File

@@ -426,7 +426,7 @@ void * pRegReturn = &nRegReturn;
if( bComplex ) if( bComplex )
{ {
__asm__( "add %i7, 4, %i7\n\t" ); __asm__( "add %i7, 4, %i7\n\t" );
// after call to complex return valued funcion there is an unimp instruction // after call to complex return valued function there is an unimp instruction
} }
} }

View File

@@ -540,7 +540,7 @@ static void cpp_vtable_call(int nFunctionIndex, void** pCallStack, int vTableOff
//if( bComplex ) //if( bComplex )
//{ //{
// __asm__( "add %i7, 4, %i7\n\t" ); // __asm__( "add %i7, 4, %i7\n\t" );
// // after call to complex return valued funcion there is an unimp instruction // // after call to complex return valued function there is an unimp instruction
//} //}
} }

View File

@@ -63,7 +63,7 @@ using namespace x86_64;
of SSESF, SSEDF classes, that are basically SSE class, just gcc will of SSESF, SSEDF classes, that are basically SSE class, just gcc will
use SF or DFmode move instead of DImode to avoid reformating penalties. use SF or DFmode move instead of DImode to avoid reformating penalties.
Similary we play games with INTEGERSI_CLASS to use cheaper SImode moves Similarly we play games with INTEGERSI_CLASS to use cheaper SImode moves
whenever possible (upper half does contain padding). whenever possible (upper half does contain padding).
*/ */
enum x86_64_reg_class enum x86_64_reg_class

View File

@@ -104,7 +104,7 @@ static void cpp_call(
sal_Int32 nParams, typelib_MethodParameter * pParams, sal_Int32 nParams, typelib_MethodParameter * pParams,
void * pUnoReturn, void * pUnoArgs[], uno_Any ** ppUnoExc ) void * pUnoReturn, void * pUnoArgs[], uno_Any ** ppUnoExc )
{ {
// Maxium space for [complex ret ptr], values | ptr ... // Maximum space for [complex ret ptr], values | ptr ...
// (but will be used less - some of the values will be in pGPR and pFPR) // (but will be used less - some of the values will be in pGPR and pFPR)
sal_uInt64 *pStack = static_cast<sal_uInt64 *>(__builtin_alloca( (nParams + 3) * sizeof(sal_uInt64) )); sal_uInt64 *pStack = static_cast<sal_uInt64 *>(__builtin_alloca( (nParams + 3) * sizeof(sal_uInt64) ));
sal_uInt64 *pStackStart = pStack; sal_uInt64 *pStackStart = pStack;

View File

@@ -63,7 +63,7 @@ using namespace x86_64;
of SSESF, SSEDF classes, that are basically SSE class, just gcc will of SSESF, SSEDF classes, that are basically SSE class, just gcc will
use SF or DFmode move instead of DImode to avoid reformating penalties. use SF or DFmode move instead of DImode to avoid reformating penalties.
Similary we play games with INTEGERSI_CLASS to use cheaper SImode moves Similarly we play games with INTEGERSI_CLASS to use cheaper SImode moves
whenever possible (upper half does contain padding). whenever possible (upper half does contain padding).
*/ */
enum x86_64_reg_class enum x86_64_reg_class

View File

@@ -104,7 +104,7 @@ static void cpp_call(
sal_Int32 nParams, typelib_MethodParameter * pParams, sal_Int32 nParams, typelib_MethodParameter * pParams,
void * pUnoReturn, void * pUnoArgs[], uno_Any ** ppUnoExc ) void * pUnoReturn, void * pUnoArgs[], uno_Any ** ppUnoExc )
{ {
// Maxium space for [complex ret ptr], values | ptr ... // Maximum space for [complex ret ptr], values | ptr ...
// (but will be used less - some of the values will be in pGPR and pFPR) // (but will be used less - some of the values will be in pGPR and pFPR)
sal_uInt64 *pStack = static_cast<sal_uInt64 *>(__builtin_alloca( (nParams + 3) * sizeof(sal_uInt64) )); sal_uInt64 *pStack = static_cast<sal_uInt64 *>(__builtin_alloca( (nParams + 3) * sizeof(sal_uInt64) ));
sal_uInt64 *pStackStart = pStack; sal_uInt64 *pStackStart = pStack;

View File

@@ -424,7 +424,7 @@ static void cpp_vtable_call()
if( bComplex ) if( bComplex )
{ {
__asm__( "add %i7, 4, %i7\n\t" ); __asm__( "add %i7, 4, %i7\n\t" );
// after call to complex return valued funcion there is an unimp instruction // after call to complex return valued function there is an unimp instruction
} }
} }