summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2017-03-02 12:29:36 +0100
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-03-03 07:47:54 +0000
commit0a850f3e15ef762f33688b11a07624ec2674caa1 (patch)
treeb8f814cdb25132b2166aea8ec29359505d7c6184 /basic
parent6fab286b2a213575e3b1ccd0eddb00c8b242af00 (diff)
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>
Diffstat (limited to 'basic')
-rw-r--r--basic/qa/vba_tests/ole_ObjAssignNoDflt.vb2
-rw-r--r--basic/source/classes/sb.cxx2
-rw-r--r--basic/source/runtime/runtime.cxx2
-rw-r--r--basic/source/sbx/sbxform.cxx2
4 files changed, 4 insertions, 4 deletions
diff --git a/basic/qa/vba_tests/ole_ObjAssignNoDflt.vb b/basic/qa/vba_tests/ole_ObjAssignNoDflt.vb
index 9a86424d3df5..e1be5d33b8bc 100644
--- a/basic/qa/vba_tests/ole_ObjAssignNoDflt.vb
+++ b/basic/qa/vba_tests/ole_ObjAssignNoDflt.vb
@@ -23,7 +23,7 @@ End If
cn.CommandTimeout = origTimeout ' restore timeout
Rem Double check objCmd.ActiveConnection is pointing to objCmd.ActiveConnection
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
End If
doUnitTest = "OK" ' no error
diff --git a/basic/source/classes/sb.cxx b/basic/source/classes/sb.cxx
index f00b6a22c2d7..fdb8caf8492d 100644
--- a/basic/source/classes/sb.cxx
+++ b/basic/source/classes/sb.cxx
@@ -1626,7 +1626,7 @@ bool StarBASIC::CError( SbError code, const OUString& rMsg,
{
SolarMutexGuard aSolarGuard;
- // compiler error during runtime -> stop programm
+ // compiler error during runtime -> stop program
if( IsRunning() )
{
// #109018 Check if running Basic is affected
diff --git a/basic/source/runtime/runtime.cxx b/basic/source/runtime/runtime.cxx
index e3615b13fc12..2e342c992c37 100644
--- a/basic/source/runtime/runtime.cxx
+++ b/basic/source/runtime/runtime.cxx
@@ -1974,7 +1974,7 @@ void SbiRuntime::StepSET()
{
SbxVariableRef refVal = 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()
diff --git a/basic/source/sbx/sbxform.cxx b/basic/source/sbx/sbxform.cxx
index c46896222b80..f42b804d436f 100644
--- a/basic/source/sbx/sbxform.cxx
+++ b/basic/source/sbx/sbxform.cxx
@@ -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
// for one position to larger indexes, i. e. place for a new
// character (which is to be inserted) is created.