summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2019-12-11 17:46:07 +0100
committerJulien Nabet <serval2412@yahoo.fr>2019-12-11 20:26:32 +0100
commit2876eb7efc75dc6279986442ef930d5e39ee3ca1 (patch)
tree81daef44af6e8d0d41523890a32a7ecce6bc88ec
parent2157160b2665de61517973089b3bcd2a59416c1e (diff)
Fix typos
Change-Id: Idc42061d8832f9d7ca5402e756c81305a309eefc Reviewed-on: https://gerrit.libreoffice.org/84968 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
-rw-r--r--io/test/stm/pumptest.cxx18
-rw-r--r--vcl/source/app/svdata.cxx2
2 files changed, 10 insertions, 10 deletions
diff --git a/io/test/stm/pumptest.cxx b/io/test/stm/pumptest.cxx
index a2bdf4ff804f..e00d840f3a75 100644
--- a/io/test/stm/pumptest.cxx
+++ b/io/test/stm/pumptest.cxx
@@ -315,7 +315,7 @@ void OPumpTest::testClose( const Reference< XInterface > &r )
TestCase t( m_rSmgr, r );
ERROR_ASSERT( ! t.m_pTestListener->m_bStarted , "started too early" );
- ERROR_ASSERT( ! t.m_pTestListener->m_bTerminated , "terminiation unexpected" );
+ ERROR_ASSERT( ! t.m_pTestListener->m_bTerminated , "termination unexpected" );
ERROR_ASSERT( ! t.m_pTestListener->m_bError, "unexpected error" );
ERROR_ASSERT( ! t.m_pTestListener->m_bClosed, "unexpected clase" );
@@ -323,7 +323,7 @@ void OPumpTest::testClose( const Reference< XInterface > &r )
mywait();
ERROR_ASSERT( t.m_pTestListener->m_bStarted , "should have been started already" );
- ERROR_ASSERT( ! t.m_pTestListener->m_bTerminated , "terminiation unexpected" );
+ ERROR_ASSERT( ! t.m_pTestListener->m_bTerminated , "termination unexpected" );
ERROR_ASSERT( ! t.m_pTestListener->m_bError, "unexpected error" );
ERROR_ASSERT( ! t.m_pTestListener->m_bClosed, "unexpected clase" );
@@ -334,7 +334,7 @@ void OPumpTest::testClose( const Reference< XInterface > &r )
t.m_rOutSource->closeOutput();
mywait();
ERROR_ASSERT( t.m_pTestListener->m_bStarted , "should have been started already" );
- ERROR_ASSERT( ! t.m_pTestListener->m_bTerminated , "should be terminiated already" );
+ ERROR_ASSERT( ! t.m_pTestListener->m_bTerminated , "should be terminated already" );
ERROR_ASSERT( ! t.m_pTestListener->m_bError, "unexpected error" );
ERROR_ASSERT( t.m_pTestListener->m_bClosed, "should be closed already" );
}
@@ -344,23 +344,23 @@ void OPumpTest::testTerminate( const Reference< XInterface > &r )
TestCase t( m_rSmgr, r );
ERROR_ASSERT( ! t.m_pTestListener->m_bStarted , "started too early" );
- ERROR_ASSERT( ! t.m_pTestListener->m_bTerminated , "terminiation unexpected" );
+ ERROR_ASSERT( ! t.m_pTestListener->m_bTerminated , "termination unexpected" );
ERROR_ASSERT( ! t.m_pTestListener->m_bError, "unexpected error" );
- ERROR_ASSERT( ! t.m_pTestListener->m_bClosed, "unexpected clase" );
+ ERROR_ASSERT( ! t.m_pTestListener->m_bClosed, "unexpected closed" );
t.m_rControl->start();
mywait();
ERROR_ASSERT( t.m_pTestListener->m_bStarted , "should have been started already" );
- ERROR_ASSERT( ! t.m_pTestListener->m_bTerminated , "terminiation unexpected" );
+ ERROR_ASSERT( ! t.m_pTestListener->m_bTerminated , "termination unexpected" );
ERROR_ASSERT( ! t.m_pTestListener->m_bError, "unexpected error" );
- ERROR_ASSERT( ! t.m_pTestListener->m_bClosed, "unexpected clase" );
+ ERROR_ASSERT( ! t.m_pTestListener->m_bClosed, "unexpected closed" );
t.m_rControl->terminate();
mywait();
ERROR_ASSERT( t.m_pTestListener->m_bStarted , "should have been started already" );
- ERROR_ASSERT( t.m_pTestListener->m_bTerminated , "should be terminiated already" );
+ ERROR_ASSERT( t.m_pTestListener->m_bTerminated , "should be terminated already" );
// terminate leads to an error, that is no surprise, in fact
// one can't tell whether the error occurs because of the terminate
// call or for some other reason!
@@ -383,7 +383,7 @@ void OPumpTest::testFunction( const Reference< XInterface > &r )
mywait();
ERROR_ASSERT( t.m_pTestListener->m_bStarted , "should have been started already" );
- ERROR_ASSERT( ! t.m_pTestListener->m_bTerminated , "should be terminiated already" );
+ ERROR_ASSERT( ! t.m_pTestListener->m_bTerminated , "should be terminated already" );
ERROR_ASSERT( ! t.m_pTestListener->m_bError, "unexpected error" );
ERROR_ASSERT( t.m_pTestListener->m_bClosed, "should be closed already" );
}
diff --git a/vcl/source/app/svdata.cxx b/vcl/source/app/svdata.cxx
index a9377fa6732b..46ad8e0113dc 100644
--- a/vcl/source/app/svdata.cxx
+++ b/vcl/source/app/svdata.cxx
@@ -381,7 +381,7 @@ void DestroySVHelpData(ImplSVHelpData* pSVHelpData)
if (!comphelper::LibreOfficeKit::isActive())
return;
- // Change the SVData's help date if neccessary
+ // Change the SVData's help date if necessary
if(ImplGetSVData()->mpHelpData == pSVHelpData)
{
ImplGetSVData()->mpHelpData = &private_aImplSVHelpData::get();