From 36e2296bf8fae3c66a66eada3595cbb2628a4833 Mon Sep 17 00:00:00 2001 From: Takeshi Abe Date: Sun, 5 Dec 2010 19:11:58 +0000 Subject: Replace all occured, occurance etc. --- bridges/inc/bridges/cpp_uno/bridge.hxx | 2 +- bridges/inc/bridges/remote/connection.h | 4 ++-- bridges/source/cpp_uno/cc50_solaris_intel/cpp2uno.cxx | 4 ++-- bridges/source/cpp_uno/cc50_solaris_intel/except.cxx | 4 ++-- bridges/source/cpp_uno/cc50_solaris_intel/uno2cpp.cxx | 2 +- bridges/source/cpp_uno/cc50_solaris_sparc/cpp2uno.cxx | 4 ++-- bridges/source/cpp_uno/cc50_solaris_sparc/except.cxx | 4 ++-- bridges/source/cpp_uno/cc50_solaris_sparc/uno2cpp.cxx | 2 +- bridges/source/cpp_uno/gcc3_aix_powerpc/cpp2uno.cxx | 4 ++-- bridges/source/cpp_uno/gcc3_aix_powerpc/uno2cpp.cxx | 2 +- bridges/source/cpp_uno/gcc3_linux_alpha/cpp2uno.cxx | 4 ++-- bridges/source/cpp_uno/gcc3_linux_alpha/uno2cpp.cxx | 2 +- bridges/source/cpp_uno/gcc3_linux_arm/cpp2uno.cxx | 4 ++-- bridges/source/cpp_uno/gcc3_linux_arm/except.cxx | 4 ++-- bridges/source/cpp_uno/gcc3_linux_arm/uno2cpp.cxx | 2 +- bridges/source/cpp_uno/gcc3_linux_hppa/cpp2uno.cxx | 4 ++-- bridges/source/cpp_uno/gcc3_linux_hppa/except.cxx | 4 ++-- bridges/source/cpp_uno/gcc3_linux_hppa/uno2cpp.cxx | 2 +- bridges/source/cpp_uno/gcc3_linux_ia64/cpp2uno.cxx | 4 ++-- bridges/source/cpp_uno/gcc3_linux_ia64/uno2cpp.cxx | 2 +- bridges/source/cpp_uno/gcc3_linux_intel/cpp2uno.cxx | 4 ++-- bridges/source/cpp_uno/gcc3_linux_intel/except.cxx | 4 ++-- bridges/source/cpp_uno/gcc3_linux_intel/uno2cpp.cxx | 2 +- bridges/source/cpp_uno/gcc3_linux_m68k/cpp2uno.cxx | 4 ++-- bridges/source/cpp_uno/gcc3_linux_m68k/except.cxx | 4 ++-- bridges/source/cpp_uno/gcc3_linux_m68k/uno2cpp.cxx | 2 +- bridges/source/cpp_uno/gcc3_linux_mips/cpp2uno.cxx | 4 ++-- bridges/source/cpp_uno/gcc3_linux_mips/except.cxx | 4 ++-- bridges/source/cpp_uno/gcc3_linux_mips/uno2cpp.cxx | 2 +- bridges/source/cpp_uno/gcc3_linux_powerpc/cpp2uno.cxx | 4 ++-- bridges/source/cpp_uno/gcc3_linux_powerpc/uno2cpp.cxx | 2 +- bridges/source/cpp_uno/gcc3_linux_powerpc64/cpp2uno.cxx | 4 ++-- bridges/source/cpp_uno/gcc3_linux_powerpc64/uno2cpp.cxx | 2 +- bridges/source/cpp_uno/gcc3_linux_s390/cpp2uno.cxx | 4 ++-- bridges/source/cpp_uno/gcc3_linux_s390/uno2cpp.cxx | 2 +- bridges/source/cpp_uno/gcc3_linux_s390x/cpp2uno.cxx | 4 ++-- bridges/source/cpp_uno/gcc3_linux_s390x/uno2cpp.cxx | 2 +- bridges/source/cpp_uno/gcc3_linux_sparc/cpp2uno.cxx | 4 ++-- bridges/source/cpp_uno/gcc3_linux_sparc/except.cxx | 4 ++-- bridges/source/cpp_uno/gcc3_linux_sparc/uno2cpp.cxx | 2 +- bridges/source/cpp_uno/gcc3_linux_x86-64/cpp2uno.cxx | 4 ++-- bridges/source/cpp_uno/gcc3_linux_x86-64/except.cxx | 4 ++-- bridges/source/cpp_uno/gcc3_linux_x86-64/uno2cpp.cxx | 2 +- bridges/source/cpp_uno/gcc3_macosx_intel/cpp2uno.cxx | 4 ++-- bridges/source/cpp_uno/gcc3_macosx_intel/except.cxx | 4 ++-- bridges/source/cpp_uno/gcc3_macosx_intel/uno2cpp.cxx | 2 +- bridges/source/cpp_uno/gcc3_macosx_powerpc/cpp2uno.cxx | 4 ++-- bridges/source/cpp_uno/gcc3_macosx_powerpc/uno2cpp.cxx | 2 +- bridges/source/cpp_uno/gcc3_os2_intel/cpp2uno.cxx | 4 ++-- bridges/source/cpp_uno/gcc3_os2_intel/except.cxx | 4 ++-- bridges/source/cpp_uno/gcc3_os2_intel/uno2cpp.cxx | 2 +- bridges/source/cpp_uno/gcc3_solaris_intel/cpp2uno.cxx | 4 ++-- bridges/source/cpp_uno/gcc3_solaris_intel/except.cxx | 4 ++-- bridges/source/cpp_uno/gcc3_solaris_intel/uno2cpp.cxx | 2 +- bridges/source/cpp_uno/gcc3_solaris_sparc/cpp2uno.cxx | 4 ++-- bridges/source/cpp_uno/gcc3_solaris_sparc/except.cxx | 4 ++-- bridges/source/cpp_uno/gcc3_solaris_sparc/uno2cpp.cxx | 2 +- bridges/source/cpp_uno/mingw_intel/cpp2uno.cxx | 4 ++-- bridges/source/cpp_uno/mingw_intel/except.cxx | 4 ++-- bridges/source/cpp_uno/mingw_intel/uno2cpp.cxx | 2 +- bridges/source/cpp_uno/msvc_win32_intel/cpp2uno.cxx | 4 ++-- bridges/source/cpp_uno/msvc_win32_intel/except.cxx | 2 +- bridges/source/cpp_uno/msvc_win32_intel/uno2cpp.cxx | 2 +- bridges/source/cpp_uno/shared/component.cxx | 2 +- bridges/source/jni_uno/jni_base.h | 6 +++--- bridges/source/jni_uno/jni_bridge.cxx | 4 ++-- bridges/source/jni_uno/jni_java2uno.cxx | 4 ++-- bridges/source/jni_uno/jni_uno2java.cxx | 8 ++++---- bridges/source/remote/static/proxy.cxx | 2 +- bridges/source/remote/static/stub.cxx | 2 +- bridges/source/remote/urp/urp_job.cxx | 6 +++--- bridges/source/remote/urp/urp_job.hxx | 2 +- bridges/source/remote/urp/urp_reader.cxx | 2 +- cli_ure/source/climaker/climaker_app.cxx | 2 +- cli_ure/source/native/native_bootstrap.cxx | 2 +- cli_ure/source/uno_bridge/cli_proxy.cxx | 2 +- cli_ure/source/uno_bridge/cli_uno.cxx | 4 ++-- cppu/inc/uno/cuno.h | 2 +- cppu/source/LogBridge/LogBridge.cxx | 2 +- cppu/source/helper/purpenv/helper_purpenv_Proxy.cxx | 2 +- cppu/source/uno/data.cxx | 2 +- cppuhelper/source/bootstrap.cxx | 2 +- cppuhelper/source/component_context.cxx | 2 +- cppuhelper/source/findsofficepath.c | 6 +++--- cppuhelper/source/servicefactory.cxx | 4 ++-- cppuhelper/test/testhelper.cxx | 2 +- .../com/sun/star/comp/helper/ComponentContext.java | 2 +- .../com/sun/star/lib/uno/helper/InterfaceContainer.java | 2 +- .../com/sun/star/lib/uno/helper/PropertySet.java | 4 ++-- .../com/sun/star/lib/uno/helper/ComponentBase_Test.java | 2 +- .../test/com/sun/star/lib/uno/helper/Factory_Test.java | 2 +- .../sun/star/lib/uno/helper/InterfaceContainer_Test.java | 2 +- .../lib/uno/helper/MultiTypeInterfaceContainer_Test.java | 2 +- .../com/sun/star/lib/uno/helper/PropertySet_Test.java | 2 +- .../test/com/sun/star/lib/uno/helper/WeakBase_Test.java | 2 +- .../com/sun/star/comp/servicemanager/ServiceManager.java | 2 +- jvmfwk/source/fwkutil.hxx | 2 +- offapi/com/sun/star/form/binding/ListEntryEvent.idl | 4 ++-- offapi/com/sun/star/form/submission/XSubmission.idl | 4 ++-- offapi/com/sun/star/frame/ControlEvent.idl | 2 +- offapi/com/sun/star/frame/FrameActionEvent.idl | 2 +- offapi/com/sun/star/frame/XLayoutManagerListener.idl | 2 +- offapi/com/sun/star/frame/XStorable.idl | 6 +++--- offapi/com/sun/star/frame/XStorable2.idl | 2 +- offapi/com/sun/star/logging/XLogger.idl | 6 +++--- offapi/com/sun/star/mail/XMailServer.idl | 4 ++-- offapi/com/sun/star/mail/XMailService.idl | 4 ++-- offapi/com/sun/star/plugin/PluginException.idl | 2 +- offapi/com/sun/star/scanner/ScanError.idl | 4 ++-- .../star/script/provider/ScriptErrorRaisedException.idl | 4 ++-- .../script/provider/ScriptExceptionRaisedException.idl | 2 +- .../script/provider/ScriptFrameworkErrorException.idl | 2 +- offapi/com/sun/star/sdb/SQLContext.idl | 2 +- offapi/com/sun/star/sdb/XSQLErrorBroadcaster.idl | 2 +- offapi/com/sun/star/ucb/CommandFailedException.idl | 2 +- offapi/com/sun/star/ucb/FetchError.idl | 2 +- offapi/com/sun/star/ucb/FetchResult.idl | 2 +- offapi/com/sun/star/ucb/InteractiveFileIOException.idl | 2 +- offapi/com/sun/star/ucb/XCommandProcessor.idl | 2 +- offapi/com/sun/star/ucb/XContentIdentifierMapping.idl | 2 +- .../star/ucb/XRemoteContentProviderChangeListener.idl | 2 +- offapi/com/sun/star/util/XChangesNotifier.idl | 2 +- offapi/com/sun/star/util/XCloseListener.idl | 4 ++-- offapi/com/sun/star/xforms/XModel.idl | 4 ++-- offapi/drafts/com/sun/star/form/ListEntryEvent.idl | 4 ++-- registry/inc/registry/reader.h | 4 ++-- ridljar/com/sun/star/lib/util/WeakMap.java | 2 +- sal/inc/osl/conditn.h | 2 +- sal/inc/osl/pipe_decl.hxx | 4 ++-- sal/inc/osl/process.h | 4 ++-- sal/inc/osl/socket.h | 16 ++++++++-------- sal/inc/osl/socket_decl.hxx | 14 +++++++------- sal/inc/rtl/bootstrap.h | 2 +- sal/inc/rtl/bootstrap.hxx | 2 +- sal/inc/rtl/instance.hxx | 6 +++--- sal/inc/rtl/tencinfo.h | 2 +- sal/osl/os2/except.c | 6 +++--- sal/osl/os2/file_path_helper.h | 2 +- sal/osl/os2/file_path_helper.hxx | 2 +- sal/osl/os2/helpers/except.h | 4 ++-- sal/osl/os2/pipe.cxx | 8 ++++---- sal/osl/os2/socket.c | 8 ++++---- sal/osl/unx/file_url.cxx | 2 +- sal/osl/unx/pipe.c | 8 ++++---- sal/osl/unx/signal.c | 2 +- sal/osl/unx/socket.c | 8 ++++---- sal/osl/w32/pipe.c | 8 ++++---- sal/osl/w32/procimpl.cxx | 2 +- sal/osl/w32/socket.cxx | 8 ++++---- sal/qa/buildall.pl | 4 ++-- sal/qa/osl/process/osl_Thread.cxx | 2 +- sal/qa/osl/socket/osl_Socket.cxx | 2 +- sal/qa/osl/socket/osl_Socket2.cxx | 2 +- stoc/source/corereflection/criface.cxx | 4 ++-- stoc/source/invocation/invocation.cxx | 2 +- stoc/source/invocation_adapterfactory/iafactory.cxx | 2 +- stoc/source/proxy_factory/proxyfac.cxx | 2 +- stoc/source/security/access_controller.cxx | 2 +- stoc/source/servicemanager/servicemanager.cxx | 8 ++++---- stoc/source/tdmanager/tdmgr.cxx | 6 +++--- stoc/test/javavm/testjavavm.cxx | 4 ++-- stoc/test/testconv.cxx | 4 ++-- stoc/test/testcorefl.cxx | 4 ++-- stoc/test/testiadapter.cxx | 2 +- stoc/test/testintrosp.cxx | 4 ++-- udkapi/com/sun/star/beans/XMultiPropertySet.idl | 2 +- udkapi/com/sun/star/test/XSimpleTest.idl | 2 +- 167 files changed, 282 insertions(+), 282 deletions(-) diff --git a/bridges/inc/bridges/cpp_uno/bridge.hxx b/bridges/inc/bridges/cpp_uno/bridge.hxx index b5dfd5d28168..3c27ab056904 100644 --- a/bridges/inc/bridges/cpp_uno/bridge.hxx +++ b/bridges/inc/bridges/cpp_uno/bridge.hxx @@ -466,7 +466,7 @@ inline void SAL_CALL cppu_cppenv_computeObjectIdentifier( } catch (::com::sun::star::uno::RuntimeException &) { - OSL_ENSURE( 0, "### RuntimeException occured udring queryInterface()!" ); + OSL_ENSURE( 0, "### RuntimeException occurred udring queryInterface()!" ); } } } diff --git a/bridges/inc/bridges/remote/connection.h b/bridges/inc/bridges/remote/connection.h index 9ed8fad10d02..1e173944f242 100644 --- a/bridges/inc/bridges/remote/connection.h +++ b/bridges/inc/bridges/remote/connection.h @@ -43,7 +43,7 @@ struct remote_Connection all bytes are available or an error occurs. @return Number of bytes read. If the return value is less than nSize, an unrecoverable - i/o error has occured or the connection was closed. + i/o error has occurred or the connection was closed. */ sal_Int32 (SAL_CALL * read)(remote_Connection *, sal_Int8 *pDest, sal_Int32 nSize ); @@ -51,7 +51,7 @@ struct remote_Connection /** @return Number of bytes written. if the return value is less than nSize an unrecoverable - i/o error has occured or the connection was closed. + i/o error has occurred or the connection was closed. */ sal_Int32 (SAL_CALL * write)(remote_Connection *, const sal_Int8 *pSource, sal_Int32 nSize ); diff --git a/bridges/source/cpp_uno/cc50_solaris_intel/cpp2uno.cxx b/bridges/source/cpp_uno/cc50_solaris_intel/cpp2uno.cxx index 9d94992ff7c4..1a57355f4890 100644 --- a/bridges/source/cpp_uno/cc50_solaris_intel/cpp2uno.cxx +++ b/bridges/source/cpp_uno/cc50_solaris_intel/cpp2uno.cxx @@ -160,7 +160,7 @@ void cpp2uno_call( (*pThis->getUnoI()->pDispatcher)( pThis->getUnoI(), pMemberTypeDescr, pUnoReturn, pUnoArgs, &pUnoExc ); - // in case no exception occured... + // in case no exception occurred... if (pUnoExc) { // destruct temporary in/inout params @@ -179,7 +179,7 @@ void cpp2uno_call( &aUnoExc, pThis->getBridge()->getUno2Cpp() ); // has to destruct the any } - else // else no exception occured... + else // else no exception occurred... { // temporary params for ( ; nTempIndizes--; ) diff --git a/bridges/source/cpp_uno/cc50_solaris_intel/except.cxx b/bridges/source/cpp_uno/cc50_solaris_intel/except.cxx index e0776c19476c..8f13ad0d8654 100644 --- a/bridges/source/cpp_uno/cc50_solaris_intel/except.cxx +++ b/bridges/source/cpp_uno/cc50_solaris_intel/except.cxx @@ -334,7 +334,7 @@ void cc50_solaris_intel_raiseException( uno_Any * pUnoExc, uno_Mapping * pUno2Cp OUStringToOString( *reinterpret_cast< OUString const * >( &pUnoExc->pType->pTypeName ), RTL_TEXTENCODING_ASCII_US ) ); - fprintf( stderr, "> uno exception occured: %s\n", cstr.getStr() ); + fprintf( stderr, "> uno exception occurred: %s\n", cstr.getStr() ); #endif bridges::cpp_uno::shared::ArrayPointer< unsigned char > thunkPtr( new unsigned char[24]); @@ -435,7 +435,7 @@ void cc50_solaris_intel_fillUnoException( } #if OSL_DEBUG_LEVEL > 1 - fprintf( stderr, "> c++ exception occured: %s\n", + fprintf( stderr, "> c++ exception occurred: %s\n", ::rtl::OUStringToOString( pExcTypeDescr->pTypeName, RTL_TEXTENCODING_ASCII_US ).getStr() ); diff --git a/bridges/source/cpp_uno/cc50_solaris_intel/uno2cpp.cxx b/bridges/source/cpp_uno/cc50_solaris_intel/uno2cpp.cxx index 7242ccd31ee6..b72ebc0ac1f3 100644 --- a/bridges/source/cpp_uno/cc50_solaris_intel/uno2cpp.cxx +++ b/bridges/source/cpp_uno/cc50_solaris_intel/uno2cpp.cxx @@ -213,7 +213,7 @@ static inline void cpp_call( nStackLongs ); - // NO exception occured... + // NO exception occurred... *ppUnoExc = 0; // reconvert temporary params diff --git a/bridges/source/cpp_uno/cc50_solaris_sparc/cpp2uno.cxx b/bridges/source/cpp_uno/cc50_solaris_sparc/cpp2uno.cxx index 80bb54ea752b..6076f66093d1 100644 --- a/bridges/source/cpp_uno/cc50_solaris_sparc/cpp2uno.cxx +++ b/bridges/source/cpp_uno/cc50_solaris_sparc/cpp2uno.cxx @@ -163,7 +163,7 @@ static typelib_TypeClass cpp2uno_call( (*pThis->getUnoI()->pDispatcher)( pThis->getUnoI(), pMemberTypeDescr, pUnoReturn, pUnoArgs, &pUnoExc ); - // in case no exception occured... + // in case no exception occurred... if (pUnoExc) { // destruct temporary in/inout params @@ -184,7 +184,7 @@ static typelib_TypeClass cpp2uno_call( // is here for dummy return typelib_TypeClass_VOID; } - else // else no exception occured... + else // else no exception occurred... { // temporary params for ( ; nTempIndizes--; ) diff --git a/bridges/source/cpp_uno/cc50_solaris_sparc/except.cxx b/bridges/source/cpp_uno/cc50_solaris_sparc/except.cxx index aa2bbde76708..916a42bb75e5 100644 --- a/bridges/source/cpp_uno/cc50_solaris_sparc/except.cxx +++ b/bridges/source/cpp_uno/cc50_solaris_sparc/except.cxx @@ -335,7 +335,7 @@ void cc50_solaris_sparc_raiseException( uno_Any * pUnoExc, uno_Mapping * pUno2Cp OUStringToOString( *reinterpret_cast< OUString const * >( &pUnoExc->pType->pTypeName ), RTL_TEXTENCODING_ASCII_US ) ); - fprintf( stderr, "> uno exception occured: %s\n", cstr.getStr() ); + fprintf( stderr, "> uno exception occurred: %s\n", cstr.getStr() ); #endif bridges::cpp_uno::shared::ArrayPointer< unsigned int > thunkPtr( new unsigned int[6]); @@ -428,7 +428,7 @@ void cc50_solaris_sparc_fillUnoException( } #if OSL_DEBUG_LEVEL > 1 - fprintf( stderr, "> c++ exception occured: %s\n", + fprintf( stderr, "> c++ exception occurred: %s\n", ::rtl::OUStringToOString( pExcTypeDescr->pTypeName, RTL_TEXTENCODING_ASCII_US ).getStr() ); diff --git a/bridges/source/cpp_uno/cc50_solaris_sparc/uno2cpp.cxx b/bridges/source/cpp_uno/cc50_solaris_sparc/uno2cpp.cxx index 7b85bc1fee91..6a0c7d2eec7f 100644 --- a/bridges/source/cpp_uno/cc50_solaris_sparc/uno2cpp.cxx +++ b/bridges/source/cpp_uno/cc50_solaris_sparc/uno2cpp.cxx @@ -204,7 +204,7 @@ static void cpp_call( nStackLongs ); - // NO exception occured... + // NO exception occurred... *ppUnoExc = 0; // reconvert temporary params diff --git a/bridges/source/cpp_uno/gcc3_aix_powerpc/cpp2uno.cxx b/bridges/source/cpp_uno/gcc3_aix_powerpc/cpp2uno.cxx index f5eee3d497d1..5b9a7e7904e8 100644 --- a/bridges/source/cpp_uno/gcc3_aix_powerpc/cpp2uno.cxx +++ b/bridges/source/cpp_uno/gcc3_aix_powerpc/cpp2uno.cxx @@ -252,7 +252,7 @@ static typelib_TypeClass cpp2uno_call( (*pThis->getUnoI()->pDispatcher)( pThis->getUnoI(), pMemberTypeDescr, pUnoReturn, pUnoArgs, &pUnoExc ); - // in case an exception occured... + // in case an exception occurred... if (pUnoExc) { // destruct temporary in/inout params @@ -273,7 +273,7 @@ static typelib_TypeClass cpp2uno_call( // is here for dummy return typelib_TypeClass_VOID; } - else // else no exception occured... + else // else no exception occurred... { // temporary params for ( ; nTempIndizes--; ) diff --git a/bridges/source/cpp_uno/gcc3_aix_powerpc/uno2cpp.cxx b/bridges/source/cpp_uno/gcc3_aix_powerpc/uno2cpp.cxx index 69372893fdf3..465cf47ae04f 100644 --- a/bridges/source/cpp_uno/gcc3_aix_powerpc/uno2cpp.cxx +++ b/bridges/source/cpp_uno/gcc3_aix_powerpc/uno2cpp.cxx @@ -315,7 +315,7 @@ static void cpp_call( pAdjustedThisPtr, aVtableSlot.index, pCppReturn, pReturnTypeDescr->eTypeClass, pStackStart, (pStack - pStackStart), pFPR, nFPR ); - // NO exception occured... + // NO exception occurred... *ppUnoExc = 0; // reconvert temporary params diff --git a/bridges/source/cpp_uno/gcc3_linux_alpha/cpp2uno.cxx b/bridges/source/cpp_uno/gcc3_linux_alpha/cpp2uno.cxx index 23ae2fdd46ee..f868b40b0f9e 100644 --- a/bridges/source/cpp_uno/gcc3_linux_alpha/cpp2uno.cxx +++ b/bridges/source/cpp_uno/gcc3_linux_alpha/cpp2uno.cxx @@ -273,7 +273,7 @@ static typelib_TypeClass cpp2uno_call( // invoke uno dispatch call (*pThis->getUnoI()->pDispatcher)( pThis->getUnoI(), pMemberTypeDescr, pUnoReturn, pUnoArgs, &pUnoExc ); - // in case an exception occured... + // in case an exception occurred... if (pUnoExc) { // destruct temporary in/inout params @@ -292,7 +292,7 @@ static typelib_TypeClass cpp2uno_call( // is here for dummy return typelib_TypeClass_VOID; } - else // else no exception occured... + else // else no exception occurred... { // temporary params for ( ; nTempIndizes--; ) diff --git a/bridges/source/cpp_uno/gcc3_linux_alpha/uno2cpp.cxx b/bridges/source/cpp_uno/gcc3_linux_alpha/uno2cpp.cxx index dddda8ab8207..45b9860f8d05 100644 --- a/bridges/source/cpp_uno/gcc3_linux_alpha/uno2cpp.cxx +++ b/bridges/source/cpp_uno/gcc3_linux_alpha/uno2cpp.cxx @@ -342,7 +342,7 @@ static void cpp_call( pStackStart, (pStack - pStackStart), pGPR, nRegs, pFPR, nRegs ); - // NO exception occured... + // NO exception occurred... *ppUnoExc = 0; // reconvert temporary params diff --git a/bridges/source/cpp_uno/gcc3_linux_arm/cpp2uno.cxx b/bridges/source/cpp_uno/gcc3_linux_arm/cpp2uno.cxx index 33de6e86a6dd..89718405b4bf 100644 --- a/bridges/source/cpp_uno/gcc3_linux_arm/cpp2uno.cxx +++ b/bridges/source/cpp_uno/gcc3_linux_arm/cpp2uno.cxx @@ -187,7 +187,7 @@ namespace (*pThis->getUnoI()->pDispatcher)( pThis->getUnoI(), pMemberTypeDescr, pUnoReturn, pUnoArgs, &pUnoExc ); - // in case an exception occured... + // in case an exception occurred... if (pUnoExc) { // destruct temporary in/inout params @@ -208,7 +208,7 @@ namespace // is here for dummy return typelib_TypeClass_VOID; } - else // else no exception occured... + else // else no exception occurred... { // temporary params for ( ; nTempIndizes--; ) diff --git a/bridges/source/cpp_uno/gcc3_linux_arm/except.cxx b/bridges/source/cpp_uno/gcc3_linux_arm/except.cxx index 1fc67a2098d6..97130aedeb53 100644 --- a/bridges/source/cpp_uno/gcc3_linux_arm/except.cxx +++ b/bridges/source/cpp_uno/gcc3_linux_arm/except.cxx @@ -228,7 +228,7 @@ namespace CPPU_CURRENT_NAMESPACE OUStringToOString( *reinterpret_cast< OUString const * >( &pUnoExc->pType->pTypeName ), RTL_TEXTENCODING_ASCII_US ) ); - fprintf( stderr, "> uno exception occured: %s\n", cstr.getStr() ); + fprintf( stderr, "> uno exception occurred: %s\n", cstr.getStr() ); #endif void * pCppExc; type_info * rtti; @@ -315,7 +315,7 @@ namespace CPPU_CURRENT_NAMESPACE OUString unoName( toUNOname( header->exceptionType->name() ) ); #if OSL_DEBUG_LEVEL > 1 OString cstr_unoName( OUStringToOString( unoName, RTL_TEXTENCODING_ASCII_US ) ); - fprintf( stderr, "> c++ exception occured: %s\n", cstr_unoName.getStr() ); + fprintf( stderr, "> c++ exception occurred: %s\n", cstr_unoName.getStr() ); #endif typelib_typedescription_getByName( &pExcTypeDescr, unoName.pData ); if (0 == pExcTypeDescr) diff --git a/bridges/source/cpp_uno/gcc3_linux_arm/uno2cpp.cxx b/bridges/source/cpp_uno/gcc3_linux_arm/uno2cpp.cxx index 00a06643fda5..ea5438616464 100644 --- a/bridges/source/cpp_uno/gcc3_linux_arm/uno2cpp.cxx +++ b/bridges/source/cpp_uno/gcc3_linux_arm/uno2cpp.cxx @@ -470,7 +470,7 @@ static void cpp_call( (pStack - pStackStart), pGPR, nGPR); - // NO exception occured... + // NO exception occurred... *ppUnoExc = 0; // reconvert temporary params diff --git a/bridges/source/cpp_uno/gcc3_linux_hppa/cpp2uno.cxx b/bridges/source/cpp_uno/gcc3_linux_hppa/cpp2uno.cxx index 4c0767325224..52e5b7cf1a2b 100644 --- a/bridges/source/cpp_uno/gcc3_linux_hppa/cpp2uno.cxx +++ b/bridges/source/cpp_uno/gcc3_linux_hppa/cpp2uno.cxx @@ -306,7 +306,7 @@ namespace fprintf(stderr, "after dispatch\n"); #endif - // in case an exception occured... + // in case an exception occurred... if (pUnoExc) { // destruct temporary in/inout params @@ -327,7 +327,7 @@ namespace // is here for dummy return typelib_TypeClass_VOID; } - else // else no exception occured... + else // else no exception occurred... { // temporary params for ( ; nTempIndizes--; ) diff --git a/bridges/source/cpp_uno/gcc3_linux_hppa/except.cxx b/bridges/source/cpp_uno/gcc3_linux_hppa/except.cxx index 36fe7968e19a..4147e3f2a4f8 100644 --- a/bridges/source/cpp_uno/gcc3_linux_hppa/except.cxx +++ b/bridges/source/cpp_uno/gcc3_linux_hppa/except.cxx @@ -228,7 +228,7 @@ namespace CPPU_CURRENT_NAMESPACE OUStringToOString( *reinterpret_cast< OUString const * >( &pUnoExc->pType->pTypeName ), RTL_TEXTENCODING_ASCII_US ) ); - fprintf( stderr, "> uno exception occured: %s\n", cstr.getStr() ); + fprintf( stderr, "> uno exception occurred: %s\n", cstr.getStr() ); #endif void * pCppExc; type_info * rtti; @@ -308,7 +308,7 @@ namespace CPPU_CURRENT_NAMESPACE OUString unoName( toUNOname( header->exceptionType->name() ) ); #if OSL_DEBUG_LEVEL > 1 OString cstr_unoName( OUStringToOString( unoName, RTL_TEXTENCODING_ASCII_US ) ); - fprintf( stderr, "> c++ exception occured: %s\n", cstr_unoName.getStr() ); + fprintf( stderr, "> c++ exception occurred: %s\n", cstr_unoName.getStr() ); #endif typelib_typedescription_getByName( &pExcTypeDescr, unoName.pData ); if (0 == pExcTypeDescr) diff --git a/bridges/source/cpp_uno/gcc3_linux_hppa/uno2cpp.cxx b/bridges/source/cpp_uno/gcc3_linux_hppa/uno2cpp.cxx index 6d7a5333f1e1..deddfcfed517 100644 --- a/bridges/source/cpp_uno/gcc3_linux_hppa/uno2cpp.cxx +++ b/bridges/source/cpp_uno/gcc3_linux_hppa/uno2cpp.cxx @@ -323,7 +323,7 @@ static void cpp_call( pStackStart, (pStack - pStackStart), pGPR, pFPR); - // NO exception occured... + // NO exception occurred... *ppUnoExc = 0; // reconvert temporary params diff --git a/bridges/source/cpp_uno/gcc3_linux_ia64/cpp2uno.cxx b/bridges/source/cpp_uno/gcc3_linux_ia64/cpp2uno.cxx index e22647945e56..486f58e7bb41 100644 --- a/bridges/source/cpp_uno/gcc3_linux_ia64/cpp2uno.cxx +++ b/bridges/source/cpp_uno/gcc3_linux_ia64/cpp2uno.cxx @@ -249,7 +249,7 @@ static typelib_TypeClass cpp2uno_call( // invoke uno dispatch call (*pThis->getUnoI()->pDispatcher)( pThis->getUnoI(), pMemberTypeDescr, pUnoReturn, pUnoArgs, &pUnoExc ); - // in case an exception occured... + // in case an exception occurred... if (pUnoExc) { // destruct temporary in/inout params @@ -269,7 +269,7 @@ static typelib_TypeClass cpp2uno_call( // is here for dummy return typelib_TypeClass_VOID; } - else // else no exception occured... + else // else no exception occurred... { // temporary params for ( ; nTempIndizes--; ) diff --git a/bridges/source/cpp_uno/gcc3_linux_ia64/uno2cpp.cxx b/bridges/source/cpp_uno/gcc3_linux_ia64/uno2cpp.cxx index 2be69d85ba90..393ed541ae3f 100644 --- a/bridges/source/cpp_uno/gcc3_linux_ia64/uno2cpp.cxx +++ b/bridges/source/cpp_uno/gcc3_linux_ia64/uno2cpp.cxx @@ -505,7 +505,7 @@ static void cpp_call( pStackStart, ( pStack - pStackStart ), pGPR, nGPR, pFPR, nFPR ); - // NO exception occured... + // NO exception occurred... *ppUnoExc = 0; // reconvert temporary params diff --git a/bridges/source/cpp_uno/gcc3_linux_intel/cpp2uno.cxx b/bridges/source/cpp_uno/gcc3_linux_intel/cpp2uno.cxx index ac1cfb82c2be..ac9ac4233f23 100644 --- a/bridges/source/cpp_uno/gcc3_linux_intel/cpp2uno.cxx +++ b/bridges/source/cpp_uno/gcc3_linux_intel/cpp2uno.cxx @@ -164,7 +164,7 @@ void cpp2uno_call( (*pThis->getUnoI()->pDispatcher)( pThis->getUnoI(), pMemberTypeDescr, pUnoReturn, pUnoArgs, &pUnoExc ); - // in case an exception occured... + // in case an exception occurred... if (pUnoExc) { // destruct temporary in/inout params @@ -183,7 +183,7 @@ void cpp2uno_call( &aUnoExc, pThis->getBridge()->getUno2Cpp() ); // has to destruct the any } - else // else no exception occured... + else // else no exception occurred... { // temporary params for ( ; nTempIndizes--; ) diff --git a/bridges/source/cpp_uno/gcc3_linux_intel/except.cxx b/bridges/source/cpp_uno/gcc3_linux_intel/except.cxx index 69785be506f1..8013a8248bab 100644 --- a/bridges/source/cpp_uno/gcc3_linux_intel/except.cxx +++ b/bridges/source/cpp_uno/gcc3_linux_intel/except.cxx @@ -238,7 +238,7 @@ void raiseException( uno_Any * pUnoExc, uno_Mapping * pUno2Cpp ) OUStringToOString( *reinterpret_cast< OUString const * >( &pUnoExc->pType->pTypeName ), RTL_TEXTENCODING_ASCII_US ) ); - fprintf( stderr, "> uno exception occured: %s\n", cstr.getStr() ); + fprintf( stderr, "> uno exception occurred: %s\n", cstr.getStr() ); #endif void * pCppExc; type_info * rtti; @@ -312,7 +312,7 @@ void fillUnoException( __cxa_exception * header, uno_Any * pUnoExc, uno_Mapping OUString unoName( toUNOname( header->exceptionType->name() ) ); #if OSL_DEBUG_LEVEL > 1 OString cstr_unoName( OUStringToOString( unoName, RTL_TEXTENCODING_ASCII_US ) ); - fprintf( stderr, "> c++ exception occured: %s\n", cstr_unoName.getStr() ); + fprintf( stderr, "> c++ exception occurred: %s\n", cstr_unoName.getStr() ); #endif typelib_typedescription_getByName( &pExcTypeDescr, unoName.pData ); if (0 == pExcTypeDescr) diff --git a/bridges/source/cpp_uno/gcc3_linux_intel/uno2cpp.cxx b/bridges/source/cpp_uno/gcc3_linux_intel/uno2cpp.cxx index 20ee018e46be..035dab08d848 100644 --- a/bridges/source/cpp_uno/gcc3_linux_intel/uno2cpp.cxx +++ b/bridges/source/cpp_uno/gcc3_linux_intel/uno2cpp.cxx @@ -271,7 +271,7 @@ static void cpp_call( pAdjustedThisPtr, aVtableSlot.index, pCppReturn, pReturnTypeDescr->eTypeClass, (sal_Int32 *)pCppStackStart, (pCppStack - pCppStackStart) / sizeof(sal_Int32) ); - // NO exception occured... + // NO exception occurred... *ppUnoExc = 0; // reconvert temporary params diff --git a/bridges/source/cpp_uno/gcc3_linux_m68k/cpp2uno.cxx b/bridges/source/cpp_uno/gcc3_linux_m68k/cpp2uno.cxx index a9ae0b7d9713..ad318a8f9e04 100644 --- a/bridges/source/cpp_uno/gcc3_linux_m68k/cpp2uno.cxx +++ b/bridges/source/cpp_uno/gcc3_linux_m68k/cpp2uno.cxx @@ -201,7 +201,7 @@ namespace fprintf(stderr, "after dispatch\n"); #endif - // in case an exception occured... + // in case an exception occurred... if (pUnoExc) { // destruct temporary in/inout params @@ -222,7 +222,7 @@ namespace // is here for dummy return typelib_TypeClass_VOID; } - else // else no exception occured... + else // else no exception occurred... { // temporary params for ( ; nTempIndizes--; ) diff --git a/bridges/source/cpp_uno/gcc3_linux_m68k/except.cxx b/bridges/source/cpp_uno/gcc3_linux_m68k/except.cxx index 36fe7968e19a..4147e3f2a4f8 100644 --- a/bridges/source/cpp_uno/gcc3_linux_m68k/except.cxx +++ b/bridges/source/cpp_uno/gcc3_linux_m68k/except.cxx @@ -228,7 +228,7 @@ namespace CPPU_CURRENT_NAMESPACE OUStringToOString( *reinterpret_cast< OUString const * >( &pUnoExc->pType->pTypeName ), RTL_TEXTENCODING_ASCII_US ) ); - fprintf( stderr, "> uno exception occured: %s\n", cstr.getStr() ); + fprintf( stderr, "> uno exception occurred: %s\n", cstr.getStr() ); #endif void * pCppExc; type_info * rtti; @@ -308,7 +308,7 @@ namespace CPPU_CURRENT_NAMESPACE OUString unoName( toUNOname( header->exceptionType->name() ) ); #if OSL_DEBUG_LEVEL > 1 OString cstr_unoName( OUStringToOString( unoName, RTL_TEXTENCODING_ASCII_US ) ); - fprintf( stderr, "> c++ exception occured: %s\n", cstr_unoName.getStr() ); + fprintf( stderr, "> c++ exception occurred: %s\n", cstr_unoName.getStr() ); #endif typelib_typedescription_getByName( &pExcTypeDescr, unoName.pData ); if (0 == pExcTypeDescr) diff --git a/bridges/source/cpp_uno/gcc3_linux_m68k/uno2cpp.cxx b/bridges/source/cpp_uno/gcc3_linux_m68k/uno2cpp.cxx index 97a9ab0187d9..b84215bfadcc 100644 --- a/bridges/source/cpp_uno/gcc3_linux_m68k/uno2cpp.cxx +++ b/bridges/source/cpp_uno/gcc3_linux_m68k/uno2cpp.cxx @@ -302,7 +302,7 @@ static void cpp_call( pStackStart, (pStack - pStackStart)); - // NO exception occured... + // NO exception occurred... *ppUnoExc = 0; // reconvert temporary params diff --git a/bridges/source/cpp_uno/gcc3_linux_mips/cpp2uno.cxx b/bridges/source/cpp_uno/gcc3_linux_mips/cpp2uno.cxx index d465fc1f45e7..f1597c37bac4 100644 --- a/bridges/source/cpp_uno/gcc3_linux_mips/cpp2uno.cxx +++ b/bridges/source/cpp_uno/gcc3_linux_mips/cpp2uno.cxx @@ -313,7 +313,7 @@ namespace fprintf(stderr,"cpp2uno_call2,after dispatch\n"); #endif - // in case an exception occured... + // in case an exception occurred... if (pUnoExc) { // destruct temporary in/inout params @@ -333,7 +333,7 @@ namespace // is here for dummy return typelib_TypeClass_VOID; } - else // else no exception occured... + else // else no exception occurred... { // temporary params for ( ; nTempIndizes--; ) diff --git a/bridges/source/cpp_uno/gcc3_linux_mips/except.cxx b/bridges/source/cpp_uno/gcc3_linux_mips/except.cxx index 78d72c0c733b..edba6396ce00 100644 --- a/bridges/source/cpp_uno/gcc3_linux_mips/except.cxx +++ b/bridges/source/cpp_uno/gcc3_linux_mips/except.cxx @@ -225,7 +225,7 @@ void raiseException( uno_Any * pUnoExc, uno_Mapping * pUno2Cpp ) OUStringToOString( *reinterpret_cast< OUString const * >( &pUnoExc->pType->pTypeName ), RTL_TEXTENCODING_ASCII_US ) ); - fprintf( stderr, "> uno exception occured: %s\n", cstr.getStr() ); + fprintf( stderr, "> uno exception occurred: %s\n", cstr.getStr() ); #endif void * pCppExc; type_info * rtti; @@ -299,7 +299,7 @@ void fillUnoException( __cxa_exception * header, uno_Any * pUnoExc, uno_Mapping OUString unoName( toUNOname( header->exceptionType->name() ) ); #if defined BRIDGES_DEBUG OString cstr_unoName( OUStringToOString( unoName, RTL_TEXTENCODING_ASCII_US ) ); - fprintf( stderr, "> c++ exception occured: %s\n", cstr_unoName.getStr() ); + fprintf( stderr, "> c++ exception occurred: %s\n", cstr_unoName.getStr() ); #endif typelib_typedescription_getByName( &pExcTypeDescr, unoName.pData ); if (0 == pExcTypeDescr) diff --git a/bridges/source/cpp_uno/gcc3_linux_mips/uno2cpp.cxx b/bridges/source/cpp_uno/gcc3_linux_mips/uno2cpp.cxx index 82d226f88ea6..4507206f2508 100644 --- a/bridges/source/cpp_uno/gcc3_linux_mips/uno2cpp.cxx +++ b/bridges/source/cpp_uno/gcc3_linux_mips/uno2cpp.cxx @@ -406,7 +406,7 @@ namespace pAdjustedThisPtr, aVtableSlot.index, pCppReturn, pReturnTypeDescr->eTypeClass, pParamType, (sal_Int32 *)pCppStackStart, (pCppStack - pCppStackStart) / sizeof(sal_Int32) ); - // NO exception occured... + // NO exception occurred... *ppUnoExc = 0; // reconvert temporary params diff --git a/bridges/source/cpp_uno/gcc3_linux_powerpc/cpp2uno.cxx b/bridges/source/cpp_uno/gcc3_linux_powerpc/cpp2uno.cxx index c6ec833f282e..bc9702351464 100644 --- a/bridges/source/cpp_uno/gcc3_linux_powerpc/cpp2uno.cxx +++ b/bridges/source/cpp_uno/gcc3_linux_powerpc/cpp2uno.cxx @@ -295,7 +295,7 @@ static typelib_TypeClass cpp2uno_call( // invoke uno dispatch call (*pThis->getUnoI()->pDispatcher)( pThis->getUnoI(), pMemberTypeDescr, pUnoReturn, pUnoArgs, &pUnoExc ); - // in case an exception occured... + // in case an exception occurred... if (pUnoExc) { // destruct temporary in/inout params @@ -315,7 +315,7 @@ static typelib_TypeClass cpp2uno_call( // is here for dummy return typelib_TypeClass_VOID; } - else // else no exception occured... + else // else no exception occurred... { // temporary params for ( ; nTempIndizes--; ) diff --git a/bridges/source/cpp_uno/gcc3_linux_powerpc/uno2cpp.cxx b/bridges/source/cpp_uno/gcc3_linux_powerpc/uno2cpp.cxx index 0ebc44895a78..49a33f6d12ae 100644 --- a/bridges/source/cpp_uno/gcc3_linux_powerpc/uno2cpp.cxx +++ b/bridges/source/cpp_uno/gcc3_linux_powerpc/uno2cpp.cxx @@ -488,7 +488,7 @@ static void cpp_call( pAdjustedThisPtr, aVtableSlot.index, pCppReturn, pReturnTypeDescr->eTypeClass, pParamType, (sal_Int32 *)pCppStackStart, (pCppStack - pCppStackStart) / sizeof(sal_Int32) ); - // NO exception occured... + // NO exception occurred... *ppUnoExc = 0; // reconvert temporary params diff --git a/bridges/source/cpp_uno/gcc3_linux_powerpc64/cpp2uno.cxx b/bridges/source/cpp_uno/gcc3_linux_powerpc64/cpp2uno.cxx index 5f4afc68d0a6..e4cf7307dde2 100644 --- a/bridges/source/cpp_uno/gcc3_linux_powerpc64/cpp2uno.cxx +++ b/bridges/source/cpp_uno/gcc3_linux_powerpc64/cpp2uno.cxx @@ -268,7 +268,7 @@ static typelib_TypeClass cpp2uno_call( // invoke uno dispatch call (*pThis->getUnoI()->pDispatcher)( pThis->getUnoI(), pMemberTypeDescr, pUnoReturn, pUnoArgs, &pUnoExc ); - // in case an exception occured... + // in case an exception occurred... if (pUnoExc) { // destruct temporary in/inout params @@ -288,7 +288,7 @@ static typelib_TypeClass cpp2uno_call( // is here for dummy return typelib_TypeClass_VOID; } - else // else no exception occured... + else // else no exception occurred... { // temporary params for ( ; nTempIndizes--; ) diff --git a/bridges/source/cpp_uno/gcc3_linux_powerpc64/uno2cpp.cxx b/bridges/source/cpp_uno/gcc3_linux_powerpc64/uno2cpp.cxx index af8f37c0aa71..6fb1c4eb0d39 100644 --- a/bridges/source/cpp_uno/gcc3_linux_powerpc64/uno2cpp.cxx +++ b/bridges/source/cpp_uno/gcc3_linux_powerpc64/uno2cpp.cxx @@ -415,7 +415,7 @@ static void cpp_call( pStackStart, ( pStack - pStackStart ), pGPR, nGPR, pFPR, nFPR ); - // NO exception occured... + // NO exception occurred... *ppUnoExc = 0; // reconvert temporary params diff --git a/bridges/source/cpp_uno/gcc3_linux_s390/cpp2uno.cxx b/bridges/source/cpp_uno/gcc3_linux_s390/cpp2uno.cxx index 32e32de75b19..4112f48e9773 100644 --- a/bridges/source/cpp_uno/gcc3_linux_s390/cpp2uno.cxx +++ b/bridges/source/cpp_uno/gcc3_linux_s390/cpp2uno.cxx @@ -256,7 +256,7 @@ static typelib_TypeClass cpp2uno_call( // invoke uno dispatch call (*pThis->getUnoI()->pDispatcher)( pThis->getUnoI(), pMemberTypeDescr, pUnoReturn, pUnoArgs, &pUnoExc ); - // in case an exception occured... + // in case an exception occurred... if (pUnoExc) { // destruct temporary in/inout params @@ -275,7 +275,7 @@ static typelib_TypeClass cpp2uno_call( // is here for dummy return typelib_TypeClass_VOID; } - else // else no exception occured... + else // else no exception occurred... { // temporary params for ( ; nTempIndizes--; ) diff --git a/bridges/source/cpp_uno/gcc3_linux_s390/uno2cpp.cxx b/bridges/source/cpp_uno/gcc3_linux_s390/uno2cpp.cxx index a87cc8e182c8..11f9ba9c49d2 100644 --- a/bridges/source/cpp_uno/gcc3_linux_s390/uno2cpp.cxx +++ b/bridges/source/cpp_uno/gcc3_linux_s390/uno2cpp.cxx @@ -444,7 +444,7 @@ static void cpp_call( pAdjustedThisPtr, aVtableSlot.index, pCppReturn, pReturnTypeDescr->eTypeClass, pParamType, (sal_Int32 *)pCppStackStart, (pCppStack - pCppStackStart) / sizeof(sal_Int32) ); - // NO exception occured... + // NO exception occurred... *ppUnoExc = 0; // reconvert temporary params diff --git a/bridges/source/cpp_uno/gcc3_linux_s390x/cpp2uno.cxx b/bridges/source/cpp_uno/gcc3_linux_s390x/cpp2uno.cxx index 8205eb47447f..815d59611216 100644 --- a/bridges/source/cpp_uno/gcc3_linux_s390x/cpp2uno.cxx +++ b/bridges/source/cpp_uno/gcc3_linux_s390x/cpp2uno.cxx @@ -258,7 +258,7 @@ static typelib_TypeClass cpp2uno_call( // invoke uno dispatch call (*pThis->getUnoI()->pDispatcher)( pThis->getUnoI(), pMemberTypeDescr, pUnoReturn, pUnoArgs, &pUnoExc ); - // in case an exception occured... + // in case an exception occurred... if (pUnoExc) { // destruct temporary in/inout params @@ -277,7 +277,7 @@ static typelib_TypeClass cpp2uno_call( // is here for dummy return typelib_TypeClass_VOID; } - else // else no exception occured... + else // else no exception occurred... { // temporary params for ( ; nTempIndizes--; ) diff --git a/bridges/source/cpp_uno/gcc3_linux_s390x/uno2cpp.cxx b/bridges/source/cpp_uno/gcc3_linux_s390x/uno2cpp.cxx index d3fec618c301..8761da53d604 100644 --- a/bridges/source/cpp_uno/gcc3_linux_s390x/uno2cpp.cxx +++ b/bridges/source/cpp_uno/gcc3_linux_s390x/uno2cpp.cxx @@ -347,7 +347,7 @@ static void cpp_call( pStackStart, (pStack - pStackStart), pGPR, nGPR, pFPR, nFPR ); - // NO exception occured... + // NO exception occurred... *ppUnoExc = 0; // reconvert temporary params diff --git a/bridges/source/cpp_uno/gcc3_linux_sparc/cpp2uno.cxx b/bridges/source/cpp_uno/gcc3_linux_sparc/cpp2uno.cxx index 97ac1558e0bf..54833796f337 100644 --- a/bridges/source/cpp_uno/gcc3_linux_sparc/cpp2uno.cxx +++ b/bridges/source/cpp_uno/gcc3_linux_sparc/cpp2uno.cxx @@ -164,7 +164,7 @@ static typelib_TypeClass cpp2uno_call( // invoke uno dispatch call (*pThis->getUnoI()->pDispatcher)(pThis->getUnoI(), pMemberTypeDescr, pUnoReturn, pUnoArgs, &pUnoExc ); - // in case an exception occured... + // in case an exception occurred... if (pUnoExc) { // destruct temporary in/inout params @@ -183,7 +183,7 @@ static typelib_TypeClass cpp2uno_call( // is here for dummy return typelib_TypeClass_VOID; } - else // else no exception occured... + else // else no exception occurred... { // temporary params for ( ; nTempIndizes--; ) diff --git a/bridges/source/cpp_uno/gcc3_linux_sparc/except.cxx b/bridges/source/cpp_uno/gcc3_linux_sparc/except.cxx index 6e61196df98e..bfde350cd2c4 100644 --- a/bridges/source/cpp_uno/gcc3_linux_sparc/except.cxx +++ b/bridges/source/cpp_uno/gcc3_linux_sparc/except.cxx @@ -228,7 +228,7 @@ void raiseException( uno_Any * pUnoExc, uno_Mapping * pUno2Cpp ) OUStringToOString( *reinterpret_cast< OUString const * >( &pUnoExc->pType->pTypeName ), RTL_TEXTENCODING_ASCII_US ) ); - fprintf( stderr, "> uno exception occured: %s\n", cstr.getStr() ); + fprintf( stderr, "> uno exception occurred: %s\n", cstr.getStr() ); #endif void * pCppExc; type_info * rtti; @@ -302,7 +302,7 @@ void fillUnoException( __cxa_exception * header, uno_Any * pUnoExc, uno_Mapping OUString unoName( toUNOname( header->exceptionType->name() ) ); #if defined BRIDGES_DEBUG OString cstr_unoName( OUStringToOString( unoName, RTL_TEXTENCODING_ASCII_US ) ); - fprintf( stderr, "> c++ exception occured: %s\n", cstr_unoName.getStr() ); + fprintf( stderr, "> c++ exception occurred: %s\n", cstr_unoName.getStr() ); #endif typelib_typedescription_getByName( &pExcTypeDescr, unoName.pData ); if (0 == pExcTypeDescr) diff --git a/bridges/source/cpp_uno/gcc3_linux_sparc/uno2cpp.cxx b/bridges/source/cpp_uno/gcc3_linux_sparc/uno2cpp.cxx index 0cf6d21c80e7..ffce7fa008d4 100644 --- a/bridges/source/cpp_uno/gcc3_linux_sparc/uno2cpp.cxx +++ b/bridges/source/cpp_uno/gcc3_linux_sparc/uno2cpp.cxx @@ -413,7 +413,7 @@ static void cpp_call( pReturnTypeDescr->eTypeClass, (sal_Int32 *)pCppStackStart, nStackLongs); - // NO exception occured... + // NO exception occurred... *ppUnoExc = 0; // reconvert temporary params diff --git a/bridges/source/cpp_uno/gcc3_linux_x86-64/cpp2uno.cxx b/bridges/source/cpp_uno/gcc3_linux_x86-64/cpp2uno.cxx index 512b7d1f3f34..d61b843eabfc 100644 --- a/bridges/source/cpp_uno/gcc3_linux_x86-64/cpp2uno.cxx +++ b/bridges/source/cpp_uno/gcc3_linux_x86-64/cpp2uno.cxx @@ -199,7 +199,7 @@ static typelib_TypeClass cpp2uno_call( // invoke uno dispatch call (*pThis->getUnoI()->pDispatcher)( pThis->getUnoI(), pMemberTypeDescr, pUnoReturn, pUnoArgs, &pUnoExc ); - // in case an exception occured... + // in case an exception occurred... if ( pUnoExc ) { // destruct temporary in/inout params @@ -218,7 +218,7 @@ static typelib_TypeClass cpp2uno_call( // is here for dummy return typelib_TypeClass_VOID; } - else // else no exception occured... + else // else no exception occurred... { // temporary params for ( ; nTempIndizes--; ) diff --git a/bridges/source/cpp_uno/gcc3_linux_x86-64/except.cxx b/bridges/source/cpp_uno/gcc3_linux_x86-64/except.cxx index 759f28764fa7..4e15e6e36be3 100644 --- a/bridges/source/cpp_uno/gcc3_linux_x86-64/except.cxx +++ b/bridges/source/cpp_uno/gcc3_linux_x86-64/except.cxx @@ -238,7 +238,7 @@ void raiseException( uno_Any * pUnoExc, uno_Mapping * pUno2Cpp ) OUStringToOString( *reinterpret_cast< OUString const * >( &pUnoExc->pType->pTypeName ), RTL_TEXTENCODING_ASCII_US ) ); - fprintf( stderr, "> uno exception occured: %s\n", cstr.getStr() ); + fprintf( stderr, "> uno exception occurred: %s\n", cstr.getStr() ); #endif void * pCppExc; type_info * rtti; @@ -312,7 +312,7 @@ void fillUnoException( __cxa_exception * header, uno_Any * pUnoExc, uno_Mapping OUString unoName( toUNOname( header->exceptionType->name() ) ); #if OSL_DEBUG_LEVEL > 1 OString cstr_unoName( OUStringToOString( unoName, RTL_TEXTENCODING_ASCII_US ) ); - fprintf( stderr, "> c++ exception occured: %s\n", cstr_unoName.getStr() ); + fprintf( stderr, "> c++ exception occurred: %s\n", cstr_unoName.getStr() ); #endif typelib_typedescription_getByName( &pExcTypeDescr, unoName.pData ); if (0 == pExcTypeDescr) diff --git a/bridges/source/cpp_uno/gcc3_linux_x86-64/uno2cpp.cxx b/bridges/source/cpp_uno/gcc3_linux_x86-64/uno2cpp.cxx index 767961b9c691..8cd5356e3dd8 100644 --- a/bridges/source/cpp_uno/gcc3_linux_x86-64/uno2cpp.cxx +++ b/bridges/source/cpp_uno/gcc3_linux_x86-64/uno2cpp.cxx @@ -376,7 +376,7 @@ static void cpp_call( pStackStart, ( pStack - pStackStart ), pGPR, nGPR, pFPR, nFPR ); - // NO exception occured... + // NO exception occurred... *ppUnoExc = 0; // reconvert temporary params diff --git a/bridges/source/cpp_uno/gcc3_macosx_intel/cpp2uno.cxx b/bridges/source/cpp_uno/gcc3_macosx_intel/cpp2uno.cxx index f67b2f212ad7..2ceb0bba529d 100644 --- a/bridges/source/cpp_uno/gcc3_macosx_intel/cpp2uno.cxx +++ b/bridges/source/cpp_uno/gcc3_macosx_intel/cpp2uno.cxx @@ -167,7 +167,7 @@ void cpp2uno_call( (*pThis->getUnoI()->pDispatcher)( pThis->getUnoI(), pMemberTypeDescr, pUnoReturn, pUnoArgs, &pUnoExc ); - // in case an exception occured... + // in case an exception occurred... if (pUnoExc) { // destruct temporary in/inout params @@ -186,7 +186,7 @@ void cpp2uno_call( &aUnoExc, pThis->getBridge()->getUno2Cpp() ); // has to destruct the any } - else // else no exception occured... + else // else no exception occurred... { // temporary params for ( ; nTempIndizes--; ) diff --git a/bridges/source/cpp_uno/gcc3_macosx_intel/except.cxx b/bridges/source/cpp_uno/gcc3_macosx_intel/except.cxx index c8cc3cd17257..f196ae734f71 100644 --- a/bridges/source/cpp_uno/gcc3_macosx_intel/except.cxx +++ b/bridges/source/cpp_uno/gcc3_macosx_intel/except.cxx @@ -229,7 +229,7 @@ void raiseException( uno_Any * pUnoExc, uno_Mapping * pUno2Cpp ) OUStringToOString( *reinterpret_cast< OUString const * >( &pUnoExc->pType->pTypeName ), RTL_TEXTENCODING_ASCII_US ) ); - fprintf( stderr, "> uno exception occured: %s\n", cstr.getStr() ); + fprintf( stderr, "> uno exception occurred: %s\n", cstr.getStr() ); #endif void * pCppExc; type_info * rtti; @@ -303,7 +303,7 @@ void fillUnoException( __cxa_exception * header, uno_Any * pUnoExc, uno_Mapping OUString unoName( toUNOname( header->exceptionType->name() ) ); #if OSL_DEBUG_LEVEL > 1 OString cstr_unoName( OUStringToOString( unoName, RTL_TEXTENCODING_ASCII_US ) ); - fprintf( stderr, "> c++ exception occured: %s\n", cstr_unoName.getStr() ); + fprintf( stderr, "> c++ exception occurred: %s\n", cstr_unoName.getStr() ); #endif typelib_typedescription_getByName( &pExcTypeDescr, unoName.pData ); if (0 == pExcTypeDescr) diff --git a/bridges/source/cpp_uno/gcc3_macosx_intel/uno2cpp.cxx b/bridges/source/cpp_uno/gcc3_macosx_intel/uno2cpp.cxx index aaf696608e41..9f0000587923 100644 --- a/bridges/source/cpp_uno/gcc3_macosx_intel/uno2cpp.cxx +++ b/bridges/source/cpp_uno/gcc3_macosx_intel/uno2cpp.cxx @@ -282,7 +282,7 @@ static void cpp_call( pAdjustedThisPtr, aVtableSlot.index, pCppReturn, pReturnTypeDescr, bSimpleReturn, (sal_Int32 *)pCppStackStart, (pCppStack - pCppStackStart) / sizeof(sal_Int32) ); - // NO exception occured... + // NO exception occurred... *ppUnoExc = 0; // reconvert temporary params diff --git a/bridges/source/cpp_uno/gcc3_macosx_powerpc/cpp2uno.cxx b/bridges/source/cpp_uno/gcc3_macosx_powerpc/cpp2uno.cxx index a70a1e3b5f88..232144c5e80d 100644 --- a/bridges/source/cpp_uno/gcc3_macosx_powerpc/cpp2uno.cxx +++ b/bridges/source/cpp_uno/gcc3_macosx_powerpc/cpp2uno.cxx @@ -243,7 +243,7 @@ static typelib_TypeClass cpp2uno_call( (*pThis->getUnoI()->pDispatcher)( pThis->getUnoI(), pMemberTypeDescr, pUnoReturn, pUnoArgs, &pUnoExc ); - // in case an exception occured... + // in case an exception occurred... if (pUnoExc) { // destruct temporary in/inout params @@ -264,7 +264,7 @@ static typelib_TypeClass cpp2uno_call( // is here for dummy return typelib_TypeClass_VOID; } - else // else no exception occured... + else // else no exception occurred... { // temporary params for ( ; nTempIndizes--; ) diff --git a/bridges/source/cpp_uno/gcc3_macosx_powerpc/uno2cpp.cxx b/bridges/source/cpp_uno/gcc3_macosx_powerpc/uno2cpp.cxx index 39388fc602f0..fdc30b3756b8 100644 --- a/bridges/source/cpp_uno/gcc3_macosx_powerpc/uno2cpp.cxx +++ b/bridges/source/cpp_uno/gcc3_macosx_powerpc/uno2cpp.cxx @@ -450,7 +450,7 @@ static void cpp_call( pAdjustedThisPtr, aVtableSlot.index, pCppReturn, pReturnTypeDescr->eTypeClass, pParamType, (sal_Int32 *)pCppStackStart, (pCppStack - pCppStackStart) / sizeof(sal_Int32) ); - // NO exception occured... + // NO exception occurred... *ppUnoExc = 0; // reconvert temporary params diff --git a/bridges/source/cpp_uno/gcc3_os2_intel/cpp2uno.cxx b/bridges/source/cpp_uno/gcc3_os2_intel/cpp2uno.cxx index 1cf37161fddb..ec9113d42f2f 100644 --- a/bridges/source/cpp_uno/gcc3_os2_intel/cpp2uno.cxx +++ b/bridges/source/cpp_uno/gcc3_os2_intel/cpp2uno.cxx @@ -165,7 +165,7 @@ static typelib_TypeClass cpp2uno_call( fprintf( stderr, ">cpp2uno_call pUnoExc %x\n", pUnoExc); #endif - // in case an exception occured... + // in case an exception occurred... if (pUnoExc) { // destruct temporary in/inout params @@ -186,7 +186,7 @@ static typelib_TypeClass cpp2uno_call( // is here for dummy return typelib_TypeClass_VOID; } - else // else no exception occured... + else // else no exception occurred... { // temporary params for ( ; nTempIndizes--; ) diff --git a/bridges/source/cpp_uno/gcc3_os2_intel/except.cxx b/bridges/source/cpp_uno/gcc3_os2_intel/except.cxx index 99c2f62d1476..10ddb37ad8eb 100644 --- a/bridges/source/cpp_uno/gcc3_os2_intel/except.cxx +++ b/bridges/source/cpp_uno/gcc3_os2_intel/except.cxx @@ -249,7 +249,7 @@ void raiseException( uno_Any * pUnoExc, uno_Mapping * pUno2Cpp ) OUStringToOString( *reinterpret_cast< OUString const * >( &pUnoExc->pType->pTypeName ), RTL_TEXTENCODING_ASCII_US ) ); - fprintf( stderr, "> uno exception occured: %s\n", cstr.getStr() ); + fprintf( stderr, "> uno exception occurred: %s\n", cstr.getStr() ); #endif void * pCppExc; type_info * rtti; @@ -323,7 +323,7 @@ void fillUnoException( __cxa_exception * header, uno_Any * pUnoExc, uno_Mapping OUString unoName( toUNOname( header->exceptionType->name() ) ); #if OSL_DEBUG_LEVEL > 1 OString cstr_unoName( OUStringToOString( unoName, RTL_TEXTENCODING_ASCII_US ) ); - fprintf( stderr, "> c++ exception occured: %s\n", cstr_unoName.getStr() ); + fprintf( stderr, "> c++ exception occurred: %s\n", cstr_unoName.getStr() ); #endif typelib_typedescription_getByName( &pExcTypeDescr, unoName.pData ); if (0 == pExcTypeDescr) diff --git a/bridges/source/cpp_uno/gcc3_os2_intel/uno2cpp.cxx b/bridges/source/cpp_uno/gcc3_os2_intel/uno2cpp.cxx index 64be1daa086e..74c81ccc4010 100644 --- a/bridges/source/cpp_uno/gcc3_os2_intel/uno2cpp.cxx +++ b/bridges/source/cpp_uno/gcc3_os2_intel/uno2cpp.cxx @@ -270,7 +270,7 @@ static void cpp_call( pAdjustedThisPtr, aVtableSlot.index, pCppReturn, pReturnTypeDescr->eTypeClass, (sal_Int32 *)pCppStackStart, (pCppStack - pCppStackStart) / sizeof(sal_Int32) ); - // NO exception occured... + // NO exception occurred... *ppUnoExc = 0; // reconvert temporary params diff --git a/bridges/source/cpp_uno/gcc3_solaris_intel/cpp2uno.cxx b/bridges/source/cpp_uno/gcc3_solaris_intel/cpp2uno.cxx index 94dc4d5ca695..7b960f238508 100644 --- a/bridges/source/cpp_uno/gcc3_solaris_intel/cpp2uno.cxx +++ b/bridges/source/cpp_uno/gcc3_solaris_intel/cpp2uno.cxx @@ -163,7 +163,7 @@ static typelib_TypeClass cpp2uno_call( (*pThis->getUnoI()->pDispatcher)( pThis->getUnoI(), pMemberTypeDescr, pUnoReturn, pUnoArgs, &pUnoExc ); - // in case an exception occured... + // in case an exception occurred... if (pUnoExc) { // destruct temporary in/inout params @@ -184,7 +184,7 @@ static typelib_TypeClass cpp2uno_call( // is here for dummy return typelib_TypeClass_VOID; } - else // else no exception occured... + else // else no exception occurred... { // temporary params for ( ; nTempIndizes--; ) diff --git a/bridges/source/cpp_uno/gcc3_solaris_intel/except.cxx b/bridges/source/cpp_uno/gcc3_solaris_intel/except.cxx index 5dfc476edafd..1516b2b02288 100644 --- a/bridges/source/cpp_uno/gcc3_solaris_intel/except.cxx +++ b/bridges/source/cpp_uno/gcc3_solaris_intel/except.cxx @@ -229,7 +229,7 @@ void raiseException( uno_Any * pUnoExc, uno_Mapping * pUno2Cpp ) OUStringToOString( *reinterpret_cast< OUString const * >( &pUnoExc->pType->pTypeName ), RTL_TEXTENCODING_ASCII_US ) ); - fprintf( stderr, "> uno exception occured: %s\n", cstr.getStr() ); + fprintf( stderr, "> uno exception occurred: %s\n", cstr.getStr() ); #endif void * pCppExc; type_info * rtti; @@ -303,7 +303,7 @@ void fillUnoException( __cxa_exception * header, uno_Any * pUnoExc, uno_Mapping OUString unoName( toUNOname( header->exceptionType->name() ) ); #if OSL_DEBUG_LEVEL > 1 OString cstr_unoName( OUStringToOString( unoName, RTL_TEXTENCODING_ASCII_US ) ); - fprintf( stderr, "> c++ exception occured: %s\n", cstr_unoName.getStr() ); + fprintf( stderr, "> c++ exception occurred: %s\n", cstr_unoName.getStr() ); #endif typelib_typedescription_getByName( &pExcTypeDescr, unoName.pData ); if (0 == pExcTypeDescr) diff --git a/bridges/source/cpp_uno/gcc3_solaris_intel/uno2cpp.cxx b/bridges/source/cpp_uno/gcc3_solaris_intel/uno2cpp.cxx index 8035256d4db8..97dfe64ee32a 100644 --- a/bridges/source/cpp_uno/gcc3_solaris_intel/uno2cpp.cxx +++ b/bridges/source/cpp_uno/gcc3_solaris_intel/uno2cpp.cxx @@ -246,7 +246,7 @@ static void cpp_call( pAdjustedThisPtr, aVtableSlot.index, pCppReturn, pReturnTypeDescr->eTypeClass, (sal_Int32 *)pCppStackStart, (pCppStack - pCppStackStart) / sizeof(sal_Int32) ); - // NO exception occured... + // NO exception occurred... *ppUnoExc = 0; // reconvert temporary params diff --git a/bridges/source/cpp_uno/gcc3_solaris_sparc/cpp2uno.cxx b/bridges/source/cpp_uno/gcc3_solaris_sparc/cpp2uno.cxx index 786f4c20d02c..87ee5cc93ad6 100644 --- a/bridges/source/cpp_uno/gcc3_solaris_sparc/cpp2uno.cxx +++ b/bridges/source/cpp_uno/gcc3_solaris_sparc/cpp2uno.cxx @@ -163,7 +163,7 @@ static typelib_TypeClass cpp2uno_call( // invoke uno dispatch call (*pThis->getUnoI()->pDispatcher)(pThis->getUnoI(), pMemberTypeDescr, pUnoReturn, pUnoArgs, &pUnoExc ); - // in case an exception occured... + // in case an exception occurred... if (pUnoExc) { // destruct temporary in/inout params @@ -182,7 +182,7 @@ static typelib_TypeClass cpp2uno_call( // is here for dummy return typelib_TypeClass_VOID; } - else // else no exception occured... + else // else no exception occurred... { // temporary params for ( ; nTempIndizes--; ) diff --git a/bridges/source/cpp_uno/gcc3_solaris_sparc/except.cxx b/bridges/source/cpp_uno/gcc3_solaris_sparc/except.cxx index 8d0be02e7d93..4811d2528d02 100644 --- a/bridges/source/cpp_uno/gcc3_solaris_sparc/except.cxx +++ b/bridges/source/cpp_uno/gcc3_solaris_sparc/except.cxx @@ -227,7 +227,7 @@ void raiseException( uno_Any * pUnoExc, uno_Mapping * pUno2Cpp ) OUStringToOString( *reinterpret_cast< OUString const * >( &pUnoExc->pType->pTypeName ), RTL_TEXTENCODING_ASCII_US ) ); - fprintf( stderr, "> uno exception occured: %s\n", cstr.getStr() ); + fprintf( stderr, "> uno exception occurred: %s\n", cstr.getStr() ); #endif void * pCppExc; type_info * rtti; @@ -301,7 +301,7 @@ void fillUnoException( __cxa_exception * header, uno_Any * pUnoExc, uno_Mapping OUString unoName( toUNOname( header->exceptionType->name() ) ); #if defined BRIDGES_DEBUG OString cstr_unoName( OUStringToOString( unoName, RTL_TEXTENCODING_ASCII_US ) ); - fprintf( stderr, "> c++ exception occured: %s\n", cstr_unoName.getStr() ); + fprintf( stderr, "> c++ exception occurred: %s\n", cstr_unoName.getStr() ); #endif typelib_typedescription_getByName( &pExcTypeDescr, unoName.pData ); if (0 == pExcTypeDescr) diff --git a/bridges/source/cpp_uno/gcc3_solaris_sparc/uno2cpp.cxx b/bridges/source/cpp_uno/gcc3_solaris_sparc/uno2cpp.cxx index b1c2767609f4..c7636bb5b191 100644 --- a/bridges/source/cpp_uno/gcc3_solaris_sparc/uno2cpp.cxx +++ b/bridges/source/cpp_uno/gcc3_solaris_sparc/uno2cpp.cxx @@ -408,7 +408,7 @@ static void cpp_call( pReturnTypeDescr->eTypeClass, (sal_Int32 *)pCppStackStart, nStackLongs); - // NO exception occured... + // NO exception occurred... *ppUnoExc = 0; // reconvert temporary params diff --git a/bridges/source/cpp_uno/mingw_intel/cpp2uno.cxx b/bridges/source/cpp_uno/mingw_intel/cpp2uno.cxx index 686d83b3386d..8bde24c63da0 100644 --- a/bridges/source/cpp_uno/mingw_intel/cpp2uno.cxx +++ b/bridges/source/cpp_uno/mingw_intel/cpp2uno.cxx @@ -171,7 +171,7 @@ void cpp2uno_call( (*pThis->getUnoI()->pDispatcher)( pThis->getUnoI(), pMemberTypeDescr, pUnoReturn, pUnoArgs, &pUnoExc ); - // in case an exception occured... + // in case an exception occurred... if (pUnoExc) { // destruct temporary in/inout params @@ -190,7 +190,7 @@ void cpp2uno_call( &aUnoExc, pThis->getBridge()->getUno2Cpp() ); // has to destruct the any } - else // else no exception occured... + else // else no exception occurred... { // temporary params for ( ; nTempIndizes--; ) diff --git a/bridges/source/cpp_uno/mingw_intel/except.cxx b/bridges/source/cpp_uno/mingw_intel/except.cxx index 7a4aca8b1b4d..ccf4bb956af4 100644 --- a/bridges/source/cpp_uno/mingw_intel/except.cxx +++ b/bridges/source/cpp_uno/mingw_intel/except.cxx @@ -214,7 +214,7 @@ void raiseException( uno_Any * pUnoExc, uno_Mapping * pUno2Cpp ) OUStringToOString( *reinterpret_cast< OUString const * >( &pUnoExc->pType->pTypeName ), RTL_TEXTENCODING_ASCII_US ) ); - fprintf( stderr, "> uno exception occured: %s\n", cstr.getStr() ); + fprintf( stderr, "> uno exception occurred: %s\n", cstr.getStr() ); #endif void * pCppExc; type_info * rtti; @@ -288,7 +288,7 @@ void fillUnoException( __cxa_exception * header, uno_Any * pUnoExc, uno_Mapping OUString unoName( toUNOname( header->exceptionType->name() ) ); #if OSL_DEBUG_LEVEL > 1 OString cstr_unoName( OUStringToOString( unoName, RTL_TEXTENCODING_ASCII_US ) ); - fprintf( stderr, "> c++ exception occured: %s\n", cstr_unoName.getStr() ); + fprintf( stderr, "> c++ exception occurred: %s\n", cstr_unoName.getStr() ); #endif typelib_typedescription_getByName( &pExcTypeDescr, unoName.pData ); if (0 == pExcTypeDescr) diff --git a/bridges/source/cpp_uno/mingw_intel/uno2cpp.cxx b/bridges/source/cpp_uno/mingw_intel/uno2cpp.cxx index cbbe1312c464..4dd6cdefd083 100644 --- a/bridges/source/cpp_uno/mingw_intel/uno2cpp.cxx +++ b/bridges/source/cpp_uno/mingw_intel/uno2cpp.cxx @@ -305,7 +305,7 @@ static void cpp_call( pAdjustedThisPtr, aVtableSlot.index, pCppReturn, pReturnTypeDescr, (sal_Int32 *)pCppStackStart, (pCppStack - pCppStackStart) / sizeof(sal_Int32) ); - // NO exception occured... + // NO exception occurred... *ppUnoExc = 0; // reconvert temporary params diff --git a/bridges/source/cpp_uno/msvc_win32_intel/cpp2uno.cxx b/bridges/source/cpp_uno/msvc_win32_intel/cpp2uno.cxx index b2687fddc543..f6ec4d13590a 100644 --- a/bridges/source/cpp_uno/msvc_win32_intel/cpp2uno.cxx +++ b/bridges/source/cpp_uno/msvc_win32_intel/cpp2uno.cxx @@ -166,7 +166,7 @@ static inline typelib_TypeClass cpp2uno_call( (*pThis->getUnoI()->pDispatcher)( pThis->getUnoI(), pMemberTypeDescr, pUnoReturn, pUnoArgs, &pUnoExc ); - // in case an exception occured... + // in case an exception occurred... if (pUnoExc) { // destruct temporary in/inout params @@ -191,7 +191,7 @@ static inline typelib_TypeClass cpp2uno_call( // is here for dummy return typelib_TypeClass_VOID; } - else // else no exception occured... + else // else no exception occurred... { // temporary params while (nTempIndizes--) diff --git a/bridges/source/cpp_uno/msvc_win32_intel/except.cxx b/bridges/source/cpp_uno/msvc_win32_intel/except.cxx index 4bda7cfa9074..5fff7444296e 100644 --- a/bridges/source/cpp_uno/msvc_win32_intel/except.cxx +++ b/bridges/source/cpp_uno/msvc_win32_intel/except.cxx @@ -620,7 +620,7 @@ int msci_filterCppException( RuntimeException exc( OUString( RTL_CONSTASCII_USTRINGPARAM( "[msci_uno bridge error] unexpected " - "C++ exception occured!") ), + "C++ exception occurred!") ), Reference< XInterface >() ); uno_type_any_constructAndConvert( pUnoExc, &exc, ::getCppuType( &exc ).getTypeLibType(), pCpp2Uno ); diff --git a/bridges/source/cpp_uno/msvc_win32_intel/uno2cpp.cxx b/bridges/source/cpp_uno/msvc_win32_intel/uno2cpp.cxx index 0a131e94a05b..547ee4c6873f 100644 --- a/bridges/source/cpp_uno/msvc_win32_intel/uno2cpp.cxx +++ b/bridges/source/cpp_uno/msvc_win32_intel/uno2cpp.cxx @@ -291,7 +291,7 @@ static void cpp_call( return; } - // NO exception occured + // NO exception occurred *ppUnoExc = 0; // reconvert temporary params diff --git a/bridges/source/cpp_uno/shared/component.cxx b/bridges/source/cpp_uno/shared/component.cxx index 2c89217c9721..9f60e6671c49 100644 --- a/bridges/source/cpp_uno/shared/component.cxx +++ b/bridges/source/cpp_uno/shared/component.cxx @@ -149,7 +149,7 @@ static void s_stub_computeObjectIdentifier(va_list * pParam) catch (::com::sun::star::uno::RuntimeException &) { OSL_ENSURE( - 0, "### RuntimeException occured udring queryInterface()!" ); + 0, "### RuntimeException occurred udring queryInterface()!" ); } } } diff --git a/bridges/source/jni_uno/jni_base.h b/bridges/source/jni_uno/jni_base.h index 7601648ad93a..d2130292b4b1 100644 --- a/bridges/source/jni_uno/jni_base.h +++ b/bridges/source/jni_uno/jni_base.h @@ -79,7 +79,7 @@ class JNI_context JNI_context( JNI_context & ); // not impl void operator = ( JNI_context ); // not impl - void java_exc_occured() const; + void java_exc_occurred() const; public: inline explicit JNI_context( JNI_info const * jni_info, JNIEnv * env, jobject class_loader ) @@ -117,7 +117,7 @@ inline void JNI_context::ensure_no_exception() const { if (JNI_FALSE != m_env->ExceptionCheck()) { - java_exc_occured(); + java_exc_occurred(); } } @@ -127,7 +127,7 @@ inline bool JNI_context::assert_no_exception() const if (JNI_FALSE != m_env->ExceptionCheck()) { m_env->ExceptionClear(); - OSL_ENSURE( 0, "unexpected java exception occured!" ); + OSL_ENSURE( 0, "unexpected java exception occurred!" ); return false; } return true; diff --git a/bridges/source/jni_uno/jni_bridge.cxx b/bridges/source/jni_uno/jni_bridge.cxx index 3f9f22a98c38..8843e83f71ce 100644 --- a/bridges/source/jni_uno/jni_bridge.cxx +++ b/bridges/source/jni_uno/jni_bridge.cxx @@ -292,7 +292,7 @@ Bridge::~Bridge() SAL_THROW( () ) //______________________________________________________________________________ -void JNI_context::java_exc_occured() const +void JNI_context::java_exc_occurred() const { // !don't rely on JNI_info! @@ -302,7 +302,7 @@ void JNI_context::java_exc_occured() const if (! jo_exc.is()) { throw BridgeRuntimeError( - OUSTR("java exception occured, but not available!?") + + OUSTR("java exception occurred, but not available!?") + get_stack_trace() ); } diff --git a/bridges/source/jni_uno/jni_java2uno.cxx b/bridges/source/jni_uno/jni_java2uno.cxx index fa32e879f1bd..8668cbcfa937 100644 --- a/bridges/source/jni_uno/jni_java2uno.cxx +++ b/bridges/source/jni_uno/jni_java2uno.cxx @@ -109,7 +109,7 @@ void Bridge::handle_uno_exc( JNI_context const & jni, uno_Any * uno_exc ) const { OUStringBuffer buf( 128 ); buf.appendAscii( - RTL_CONSTASCII_STRINGPARAM("exception occured java->uno: [") ); + RTL_CONSTASCII_STRINGPARAM("exception occurred java->uno: [") ); buf.append( OUString::unacquired( &uno_exc->pType->pTypeName ) ); buf.appendAscii( RTL_CONSTASCII_STRINGPARAM("] ") ); buf.append( @@ -360,7 +360,7 @@ jobject Bridge::call_uno( #endif return 0; // void return } - else // exception occured + else // exception occurred { // destruct uno in args for ( sal_Int32 nPos = 0; nPos < nParams; ++nPos ) diff --git a/bridges/source/jni_uno/jni_uno2java.cxx b/bridges/source/jni_uno/jni_uno2java.cxx index 70e139d66aab..11f0748c7799 100644 --- a/bridges/source/jni_uno/jni_uno2java.cxx +++ b/bridges/source/jni_uno/jni_uno2java.cxx @@ -78,7 +78,7 @@ void Bridge::handle_java_exc( if (! jo_exc.is()) { throw BridgeRuntimeError( - OUSTR("java exception occured, but no java exception available!?") + + OUSTR("java exception occurred, but no java exception available!?") + jni.get_stack_trace() ); } @@ -126,7 +126,7 @@ void Bridge::handle_java_exc( #if OSL_DEBUG_LEVEL > 1 OUStringBuffer trace_buf( 128 ); trace_buf.appendAscii( - RTL_CONSTASCII_STRINGPARAM("exception occured uno->java: [") ); + RTL_CONSTASCII_STRINGPARAM("exception occurred uno->java: [") ); trace_buf.append( exc_name ); trace_buf.appendAscii( RTL_CONSTASCII_STRINGPARAM("] ") ); trace_buf.append( @@ -413,7 +413,7 @@ void Bridge::call_java( } } // else: already set integral uno return value - // no exception occured + // no exception occurred *uno_exc = 0; } #ifdef BROKEN_ALLOCA @@ -784,7 +784,7 @@ void SAL_CALL UNO_proxy_dispatch( reinterpret_cast< uno_Any * >( uno_ret ), 0, 0, 0 ); } - // no exception occured + // no exception occurred *uno_exc = 0; } } diff --git a/bridges/source/remote/static/proxy.cxx b/bridges/source/remote/static/proxy.cxx index db7b9a67a903..737dda701a28 100644 --- a/bridges/source/remote/static/proxy.cxx +++ b/bridges/source/remote/static/proxy.cxx @@ -251,7 +251,7 @@ void SAL_CALL dispatchRemote2UnoProxy( else { // ----------------------- - // an exception occured + // an exception occurred // ----------------------- typelib_TypeDescription *pAnyType = 0; getCppuType( (::com::sun::star::uno::Any*) 0 ).getDescription( &pAnyType ); diff --git a/bridges/source/remote/static/stub.cxx b/bridges/source/remote/static/stub.cxx index 58796351d5bd..0a1bb3450328 100644 --- a/bridges/source/remote/static/stub.cxx +++ b/bridges/source/remote/static/stub.cxx @@ -228,7 +228,7 @@ void SAL_CALL thisDispatch( else { // ----------------------- - // an exception occured + // an exception occurred // ----------------------- typelib_TypeDescription *pAnyType = 0; getCppuType( (Any*) 0 ).getDescription( &pAnyType ); diff --git a/bridges/source/remote/urp/urp_job.cxx b/bridges/source/remote/urp/urp_job.cxx index 8af686fa3ef3..25a97e0c42e2 100644 --- a/bridges/source/remote/urp/urp_job.cxx +++ b/bridges/source/remote/urp/urp_job.cxx @@ -154,7 +154,7 @@ namespace bridges_urp //------------------------------- // Handle the reply, unpack data //------------------------------- - if( m_bExceptionOccured ) + if( m_bExceptionOccurred ) { bReturn = m_pUnmarshal->unpackAny( *m_ppException ); } @@ -513,13 +513,13 @@ namespace bridges_urp sMessage.appendAscii( RTL_CONSTASCII_STRINGPARAM( "URP_Bridge : disposed\n" ) ); sMessage.append( m_pBridgeImpl->getErrorsAsString() ); prepareRuntimeExceptionClientSide( m_ppException, sMessage.makeStringAndClear() ); - m_bExceptionOccured = sal_True; + m_bExceptionOccurred = sal_True; } else { OSL_ASSERT( pDisposeReason == (void*)this ); } - if( !m_bExceptionOccured ) + if( !m_bExceptionOccurred ) { *m_ppException = 0; } diff --git a/bridges/source/remote/urp/urp_job.hxx b/bridges/source/remote/urp/urp_job.hxx index 02ef755ecfae..b2bd6734b97b 100644 --- a/bridges/source/remote/urp/urp_job.hxx +++ b/bridges/source/remote/urp/urp_job.hxx @@ -127,7 +127,7 @@ public: public: typelib_InterfaceMethodTypeDescription *m_pMethodType; typelib_InterfaceAttributeTypeDescription *m_pAttributeType; - sal_Bool m_bExceptionOccured; + sal_Bool m_bExceptionOccurred; private: void **m_ppArgs; diff --git a/bridges/source/remote/urp/urp_reader.cxx b/bridges/source/remote/urp/urp_reader.cxx index 00941c468e1b..761168d7f516 100644 --- a/bridges/source/remote/urp/urp_reader.cxx +++ b/bridges/source/remote/urp/urp_reader.cxx @@ -776,7 +776,7 @@ void OReaderThread::run() break; } - pClientJob->m_bExceptionOccured = flags.bException; + pClientJob->m_bExceptionOccurred = flags.bException; pClientJob->setUnmarshal( &m_unmarshal ); #ifdef BRIDGES_URP_PROT diff --git a/cli_ure/source/climaker/climaker_app.cxx b/cli_ure/source/climaker/climaker_app.cxx index 2d82e00a17ca..d3380757d75e 100644 --- a/cli_ure/source/climaker/climaker_app.cxx +++ b/cli_ure/source/climaker/climaker_app.cxx @@ -723,7 +723,7 @@ SAL_IMPLEMENT_MAIN() osl_getThreadTextEncoding() ) ); fprintf( stderr, - "\n> error: .NET exception occured: %s\n> dying abnormally...", + "\n> error: .NET exception occurred: %s\n> dying abnormally...", msg.getStr() ); ret = 1; } diff --git a/cli_ure/source/native/native_bootstrap.cxx b/cli_ure/source/native/native_bootstrap.cxx index d57dfba5e1c1..61117f0b35f0 100644 --- a/cli_ure/source/native/native_bootstrap.cxx +++ b/cli_ure/source/native/native_bootstrap.cxx @@ -74,7 +74,7 @@ namespace * @param subKeyName name of the subkey to open * * @return the installation path or NULL, if no installation was found or - * if an error occured + * if an error occurred */ WCHAR* getPathFromRegistryKey( HKEY hroot, LPCWSTR subKeyName ) { diff --git a/cli_ure/source/uno_bridge/cli_proxy.cxx b/cli_ure/source/uno_bridge/cli_proxy.cxx index 4feb21a29fbe..3ee72d9d5388 100644 --- a/cli_ure/source/uno_bridge/cli_proxy.cxx +++ b/cli_ure/source/uno_bridge/cli_proxy.cxx @@ -1107,7 +1107,7 @@ void SAL_CALL cli_proxy_dispatch( { uno_any_construct( (uno_Any *)uno_ret, 0, 0, 0 ); } - // no excetpion occured + // no excetpion occurred *uno_exc = 0; } else diff --git a/cli_ure/source/uno_bridge/cli_uno.cxx b/cli_ure/source/uno_bridge/cli_uno.cxx index 92e98b59807a..63840c1ec0c1 100644 --- a/cli_ure/source/uno_bridge/cli_uno.cxx +++ b/cli_ure/source/uno_bridge/cli_uno.cxx @@ -188,7 +188,7 @@ System::Object* Bridge::call_uno(uno_Interface * pUnoI, } return 0; // void return } - else // exception occured + else // exception occurred { // destruct uno in args for ( sal_Int32 nPos = 0; nPos < nParams; ++nPos ) @@ -281,7 +281,7 @@ void Bridge::call_cli( map_to_uno( uno_ret, retInvoke, return_type, false /* no assign */); } - // no exception occured + // no exception occurred *uno_exc = 0; } diff --git a/cppu/inc/uno/cuno.h b/cppu/inc/uno/cuno.h index d5c5e7c82e80..f71c56854dd1 100644 --- a/cppu/inc/uno/cuno.h +++ b/cppu/inc/uno/cuno.h @@ -43,7 +43,7 @@ @param return_code return code of call */ -#define CUNO_EXCEPTION_OCCURED( return_code ) (0 != ((return_code) & CUNO_ERROR_EXCEPTION)) +#define CUNO_EXCEPTION_OCCURRED( return_code ) (0 != ((return_code) & CUNO_ERROR_EXCEPTION)) typedef sal_Int32 cuno_ErrorCode; diff --git a/cppu/source/LogBridge/LogBridge.cxx b/cppu/source/LogBridge/LogBridge.cxx index eb7c2c85e9c2..5ad571d3a485 100644 --- a/cppu/source/LogBridge/LogBridge.cxx +++ b/cppu/source/LogBridge/LogBridge.cxx @@ -247,7 +247,7 @@ void LogProbe( rtl_logfile_longTrace( "} LogBridge () %s",sTemp.getStr()); if ( ppException && *ppException ) { - rtl_logfile_trace( " excption occured : "); + rtl_logfile_trace( " excption occurred : "); typelib_TypeDescription * pElementTypeDescr = 0; TYPELIB_DANGER_GET( &pElementTypeDescr, (*ppException)->pType ); const ::rtl::OString sValue( ::rtl::OUStringToOString(pElementTypeDescr->pTypeName,osl_getThreadTextEncoding())); diff --git a/cppu/source/helper/purpenv/helper_purpenv_Proxy.cxx b/cppu/source/helper/purpenv/helper_purpenv_Proxy.cxx index c5651b007686..d3f4339a885a 100644 --- a/cppu/source/helper/purpenv/helper_purpenv_Proxy.cxx +++ b/cppu/source/helper/purpenv/helper_purpenv_Proxy.cxx @@ -493,7 +493,7 @@ void Proxy::dispatch(typelib_TypeDescriptionReference * pReturnTypeRef, *ppException = 0; } - else // exception occured + else // exception occurred { for (sal_Int32 nPos = 0; nPos < nParams; ++ nPos) { diff --git a/cppu/source/uno/data.cxx b/cppu/source/uno/data.cxx index 6d2982981d35..19d0cc3dd391 100644 --- a/cppu/source/uno/data.cxx +++ b/cppu/source/uno/data.cxx @@ -106,7 +106,7 @@ void * binuno_queryInterface( void * pUnoI, typelib_TypeDescriptionReference * p #if OSL_DEBUG_LEVEL > 1 OUStringBuffer buf( 128 ); buf.appendAscii( - RTL_CONSTASCII_STRINGPARAM("### exception occured querying for interface ") ); + RTL_CONSTASCII_STRINGPARAM("### exception occurred querying for interface ") ); buf.append( * reinterpret_cast< OUString const * >( &pDestType->pTypeName ) ); buf.appendAscii( RTL_CONSTASCII_STRINGPARAM(": [") ); buf.append( * reinterpret_cast< OUString const * >( &pExc->pType->pTypeName ) ); diff --git a/cppuhelper/source/bootstrap.cxx b/cppuhelper/source/bootstrap.cxx index 245714827145..98ac45b3eb03 100644 --- a/cppuhelper/source/bootstrap.cxx +++ b/cppuhelper/source/bootstrap.cxx @@ -603,7 +603,7 @@ Reference< XComponentContext > SAL_CALL bootstrap() case osl_Process_E_NotFound: throw BootstrapException( OUSTR( "image not found!" ) ); case osl_Process_E_TimedOut: - throw BootstrapException( OUSTR( "timout occured!" ) ); + throw BootstrapException( OUSTR( "timout occurred!" ) ); case osl_Process_E_NoPermission: throw BootstrapException( OUSTR( "permission denied!" ) ); case osl_Process_E_Unknown: diff --git a/cppuhelper/source/component_context.cxx b/cppuhelper/source/component_context.cxx index de1d106912bd..364f66d69387 100644 --- a/cppuhelper/source/component_context.cxx +++ b/cppuhelper/source/component_context.cxx @@ -616,7 +616,7 @@ Any ComponentContext::lookupMap( OUString const & rName ) Any caught( getCaughtException() ); OUStringBuffer buf; buf.appendAscii( RTL_CONSTASCII_STRINGPARAM( - "exception occured raising singleton \"") ); + "exception occurred raising singleton \"") ); buf.append( rName ); buf.appendAscii( RTL_CONSTASCII_STRINGPARAM("\": ") ); buf.append( exc.Message ); diff --git a/cppuhelper/source/findsofficepath.c b/cppuhelper/source/findsofficepath.c index 475ce747d7ad..0d97de89304b 100644 --- a/cppuhelper/source/findsofficepath.c +++ b/cppuhelper/source/findsofficepath.c @@ -45,7 +45,7 @@ * @param subKeyName name of the subkey to open * * @return the installation path or NULL, if no installation was found or - * if an error occured + * if an error occurred */ static char* getPathFromRegistryKey( HKEY hroot, const char* subKeyName ) { @@ -87,7 +87,7 @@ static char* getPathFromRegistryKey( HKEY hroot, const char* subKeyName ) * Gets the installation path from the Windows Registry. * * @return the installation path or NULL, if no installation was found or - * if an error occured + * if an error occurred */ static char* platformSpecific() { @@ -119,7 +119,7 @@ static char* platformSpecific() * is in one of the directories listed in the PATH environment variable.

* * @return the installation path or NULL, if no installation was found or - * if an error occured + * if an error occurred */ static char* platformSpecific() { diff --git a/cppuhelper/source/servicefactory.cxx b/cppuhelper/source/servicefactory.cxx index 919fe7bbb995..22058bb14082 100644 --- a/cppuhelper/source/servicefactory.cxx +++ b/cppuhelper/source/servicefactory.cxx @@ -132,7 +132,7 @@ Reference< registry::XSimpleRegistry > SAL_CALL createSimpleRegistry( #if OSL_DEBUG_LEVEL > 0 OString cstr_msg( OUStringToOString( exc.Message, RTL_TEXTENCODING_ASCII_US ) ); - OSL_ENSURE( !"### exception occured:", cstr_msg.getStr() ); + OSL_ENSURE( !"### exception occurred:", cstr_msg.getStr() ); #else (void) exc; // avoid warning about unused variable #endif @@ -163,7 +163,7 @@ Reference< registry::XSimpleRegistry > SAL_CALL createNestedRegistry( #if OSL_DEBUG_LEVEL > 0 OString cstr_msg( OUStringToOString( exc.Message, RTL_TEXTENCODING_ASCII_US ) ); - OSL_ENSURE( !"### exception occured:", cstr_msg.getStr() ); + OSL_ENSURE( !"### exception occurred:", cstr_msg.getStr() ); #else (void) exc; // avoid warning about unused variable #endif diff --git a/cppuhelper/test/testhelper.cxx b/cppuhelper/test/testhelper.cxx index 623585299c76..d99fc9903387 100644 --- a/cppuhelper/test/testhelper.cxx +++ b/cppuhelper/test/testhelper.cxx @@ -97,7 +97,7 @@ SAL_IMPLEMENT_MAIN() catch (Exception & exc) { OString cstr_msg( OUStringToOString( exc.Message, RTL_TEXTENCODING_ASCII_US ) ); - OSL_ENSURE( ! "exception occured: ", cstr_msg.getStr() ); + OSL_ENSURE( ! "exception occurred: ", cstr_msg.getStr() ); } printf( "Test finished\n" ); diff --git a/javaunohelper/com/sun/star/comp/helper/ComponentContext.java b/javaunohelper/com/sun/star/comp/helper/ComponentContext.java index fe3336c1dbfb..25cce2236c9a 100644 --- a/javaunohelper/com/sun/star/comp/helper/ComponentContext.java +++ b/javaunohelper/com/sun/star/comp/helper/ComponentContext.java @@ -167,7 +167,7 @@ public class ComponentContext implements XComponentContext, XComponent catch (com.sun.star.uno.Exception exc) { if (DEBUG) - System.err.println( "### exception occured on late init of singleton instance \"" + rName + "\": " + exc.getMessage() ); + System.err.println( "### exception occurred on late init of singleton instance \"" + rName + "\": " + exc.getMessage() ); } if (xInstance != null) diff --git a/javaunohelper/com/sun/star/lib/uno/helper/InterfaceContainer.java b/javaunohelper/com/sun/star/lib/uno/helper/InterfaceContainer.java index 404c5a5e3f3a..a0a72b5cf616 100644 --- a/javaunohelper/com/sun/star/lib/uno/helper/InterfaceContainer.java +++ b/javaunohelper/com/sun/star/lib/uno/helper/InterfaceContainer.java @@ -354,7 +354,7 @@ public class InterfaceContainer implements Cloneable } /** - * Searches for the first occurence of the given argument, testing + * Searches for the first occurrence of the given argument, testing * for equality using the equals method. * * @param elem an object. diff --git a/javaunohelper/com/sun/star/lib/uno/helper/PropertySet.java b/javaunohelper/com/sun/star/lib/uno/helper/PropertySet.java index ad2c8c7bcf88..a6db617bfe4f 100644 --- a/javaunohelper/com/sun/star/lib/uno/helper/PropertySet.java +++ b/javaunohelper/com/sun/star/lib/uno/helper/PropertySet.java @@ -617,7 +617,7 @@ XMultiPropertySet * @return true - Conversion was successful. newVal contains a valid value for the property. false - * conversion failed for some reason. * @throws com.sun.star.lang.IllegalArgumentException The value provided is unfit for the property. - * @throws com.sun.star.lang.WrappedTargetException - An exception occured during the conversion, that is to be made known + * @throws com.sun.star.lang.WrappedTargetException - An exception occurred during the conversion, that is to be made known * to the caller. */ protected boolean convertPropertyValue(Property property, Object[] newVal, Object[]curVal, Object setVal) @@ -799,7 +799,7 @@ XMultiPropertySet * @param property the property for which the new value is set * @param value the new value for the property. * @throws com.sun.star.lang.WrappedTargetException An exception, which has to be made known to the caller, - * occured during the setting of the value. + * occurred during the setting of the value. */ protected void setPropertyValueNoBroadcast(Property property, Object newVal) throws WrappedTargetException diff --git a/javaunohelper/test/com/sun/star/lib/uno/helper/ComponentBase_Test.java b/javaunohelper/test/com/sun/star/lib/uno/helper/ComponentBase_Test.java index 86358d53cb85..412d114ab72c 100644 --- a/javaunohelper/test/com/sun/star/lib/uno/helper/ComponentBase_Test.java +++ b/javaunohelper/test/com/sun/star/lib/uno/helper/ComponentBase_Test.java @@ -143,7 +143,7 @@ public class ComponentBase_Test for (int c= 0; c < i; c++) bOk= bOk && r[c]; if (bOk == false) - System.out.println("Errors occured!"); + System.out.println("Errors occurred!"); else System.out.println("No errors."); diff --git a/javaunohelper/test/com/sun/star/lib/uno/helper/Factory_Test.java b/javaunohelper/test/com/sun/star/lib/uno/helper/Factory_Test.java index c40b4c410286..111b2582f8f6 100644 --- a/javaunohelper/test/com/sun/star/lib/uno/helper/Factory_Test.java +++ b/javaunohelper/test/com/sun/star/lib/uno/helper/Factory_Test.java @@ -198,7 +198,7 @@ public class Factory_Test } catch (Exception exc) { - System.err.println( ">>>>>>>>>> exc occured: " + exc.toString() ); + System.err.println( ">>>>>>>>>> exc occurred: " + exc.toString() ); exc.printStackTrace(); } System.exit( 0 ); diff --git a/javaunohelper/test/com/sun/star/lib/uno/helper/InterfaceContainer_Test.java b/javaunohelper/test/com/sun/star/lib/uno/helper/InterfaceContainer_Test.java index ba6df3038e0d..d74d2f91432e 100644 --- a/javaunohelper/test/com/sun/star/lib/uno/helper/InterfaceContainer_Test.java +++ b/javaunohelper/test/com/sun/star/lib/uno/helper/InterfaceContainer_Test.java @@ -983,7 +983,7 @@ public class InterfaceContainer_Test for (int c= 0; c < i; c++) bOk= bOk && r[c]; if ( ! bOk ) - System.out.println("Test finished.\nErrors occured!!!"); + System.out.println("Test finished.\nErrors occurred!!!"); else System.out.println("Test finished. \nNo errors."); diff --git a/javaunohelper/test/com/sun/star/lib/uno/helper/MultiTypeInterfaceContainer_Test.java b/javaunohelper/test/com/sun/star/lib/uno/helper/MultiTypeInterfaceContainer_Test.java index 9a855db6ddb5..1b3dc45e1c39 100644 --- a/javaunohelper/test/com/sun/star/lib/uno/helper/MultiTypeInterfaceContainer_Test.java +++ b/javaunohelper/test/com/sun/star/lib/uno/helper/MultiTypeInterfaceContainer_Test.java @@ -361,7 +361,7 @@ public class MultiTypeInterfaceContainer_Test for (int c= 0; c < i; c++) bOk= bOk && r[c]; if ( ! bOk ) - System.out.println("Test finished.\nErrors occured!!!"); + System.out.println("Test finished.\nErrors occurred!!!"); else System.out.println("Test finished. \nNo errors."); diff --git a/javaunohelper/test/com/sun/star/lib/uno/helper/PropertySet_Test.java b/javaunohelper/test/com/sun/star/lib/uno/helper/PropertySet_Test.java index 1a00899cbcf1..8c8c6a067852 100644 --- a/javaunohelper/test/com/sun/star/lib/uno/helper/PropertySet_Test.java +++ b/javaunohelper/test/com/sun/star/lib/uno/helper/PropertySet_Test.java @@ -1079,7 +1079,7 @@ public class PropertySet_Test for (int c= 0; c < i; c++) bOk= bOk && r[c]; if (bOk == false) - System.out.println("Errors occured!"); + System.out.println("Errors occurred!"); else System.out.println("No errors."); return bOk; diff --git a/javaunohelper/test/com/sun/star/lib/uno/helper/WeakBase_Test.java b/javaunohelper/test/com/sun/star/lib/uno/helper/WeakBase_Test.java index ad2869c239b1..6f5c61bbbeb1 100644 --- a/javaunohelper/test/com/sun/star/lib/uno/helper/WeakBase_Test.java +++ b/javaunohelper/test/com/sun/star/lib/uno/helper/WeakBase_Test.java @@ -199,7 +199,7 @@ public class WeakBase_Test for (int c= 0; c < i; c++) bOk= bOk && r[c]; if (bOk == false) - System.out.println("Errors occured!"); + System.out.println("Errors occurred!"); else System.out.println("No errors."); diff --git a/jurt/com/sun/star/comp/servicemanager/ServiceManager.java b/jurt/com/sun/star/comp/servicemanager/ServiceManager.java index 3d672c6dfddf..6914ee5228e0 100644 --- a/jurt/com/sun/star/comp/servicemanager/ServiceManager.java +++ b/jurt/com/sun/star/comp/servicemanager/ServiceManager.java @@ -162,7 +162,7 @@ public class ServiceManager implements XMultiServiceFactory, * Registers a list of components given by their class names. *

* @param newImpls list of the components that should be registered, given by their class names. - * If any exception occured during the registration, the process will be canceled. + * If any exception occurred during the registration, the process will be canceled. * @see com.sun.star.container.XSet */ private void xaddFactories( String[] newImpls ) diff --git a/jvmfwk/source/fwkutil.hxx b/jvmfwk/source/fwkutil.hxx index 483cdf648220..59df5c5dcf35 100644 --- a/jvmfwk/source/fwkutil.hxx +++ b/jvmfwk/source/fwkutil.hxx @@ -121,7 +121,7 @@ enum FileStatus one of the values of FileStatus. @exception - Errors occured during determining if the file exists + Errors occurred during determining if the file exists */ FileStatus checkFileURL(const rtl::OUString & path); diff --git a/offapi/com/sun/star/form/binding/ListEntryEvent.idl b/offapi/com/sun/star/form/binding/ListEntryEvent.idl index 046888d7b8cc..d5911ffec37a 100644 --- a/offapi/com/sun/star/form/binding/ListEntryEvent.idl +++ b/offapi/com/sun/star/form/binding/ListEntryEvent.idl @@ -39,14 +39,14 @@ module com { module sun { module star { module form { module binding { //============================================================================= /** specifies the event which is notified when a change in a string entry - list occured + list occurred @see XListEntrySource @see XListEntryListener */ struct ListEntryEvent : com::sun::star::lang::EventObject { - /** denotes the position where a change occured. + /** denotes the position where a change occurred.

The concrete semantics of the value depends on the concrete event being notified.

diff --git a/offapi/com/sun/star/form/submission/XSubmission.idl b/offapi/com/sun/star/form/submission/XSubmission.idl index 7eacf7f13935..fd4e3cd9d420 100644 --- a/offapi/com/sun/star/form/submission/XSubmission.idl +++ b/offapi/com/sun/star/form/submission/XSubmission.idl @@ -63,7 +63,7 @@ interface XSubmission : com::sun::star::uno::XInterface requirements for the submission, e.g. data consistency, are fulfilled. @throws com::sun::star::lang::WrappedTargetException - if an error occured during invoking the submission target + if an error occurred during invoking the submission target */ void submit( ) raises ( com::sun::star::util::VetoException, com::sun::star::lang::WrappedTargetException ); @@ -79,7 +79,7 @@ interface XSubmission : com::sun::star::uno::XInterface requirements for the submission, e.g. data consistency, are fulfilled. @throws com::sun::star::lang::WrappedTargetException - if an error occured during invoking the submission target + if an error occurred during invoking the submission target */ void submitWithInteraction( [in] com::sun::star::task::XInteractionHandler aHandler ) raises ( com::sun::star::util::VetoException, com::sun::star::lang::WrappedTargetException ); diff --git a/offapi/com/sun/star/frame/ControlEvent.idl b/offapi/com/sun/star/frame/ControlEvent.idl index 7cde5fc5ee54..35e63779f076 100644 --- a/offapi/com/sun/star/frame/ControlEvent.idl +++ b/offapi/com/sun/star/frame/ControlEvent.idl @@ -54,7 +54,7 @@ struct ControlEvent */ ::com::sun::star::util::URL aURL; - /** specifies the event which has occured. + /** specifies the event which has occurred. */ string Event; diff --git a/offapi/com/sun/star/frame/FrameActionEvent.idl b/offapi/com/sun/star/frame/FrameActionEvent.idl index 563cf5ffe064..46a4b481437e 100644 --- a/offapi/com/sun/star/frame/FrameActionEvent.idl +++ b/offapi/com/sun/star/frame/FrameActionEvent.idl @@ -52,7 +52,7 @@ published struct FrameActionEvent: com::sun::star::lang::EventObject { //------------------------------------------------------------------------- - /** contains the frame in which the event occured + /** contains the frame in which the event occurred */ XFrame Frame; diff --git a/offapi/com/sun/star/frame/XLayoutManagerListener.idl b/offapi/com/sun/star/frame/XLayoutManagerListener.idl index 593ba510c08c..c7cb40d5468e 100644 --- a/offapi/com/sun/star/frame/XLayoutManagerListener.idl +++ b/offapi/com/sun/star/frame/XLayoutManagerListener.idl @@ -58,7 +58,7 @@ interface XLayoutManagerListener : com::sun::star::lang::XEventListener reference to the layout manager which invoked the event. @param eLayoutEvent - identifies the layout event that has occured. + identifies the layout event that has occurred. @param aInfo provides additional information about the event. The type diff --git a/offapi/com/sun/star/frame/XStorable.idl b/offapi/com/sun/star/frame/XStorable.idl index 6c54b5b84c1c..fa41f3a37f66 100644 --- a/offapi/com/sun/star/frame/XStorable.idl +++ b/offapi/com/sun/star/frame/XStorable.idl @@ -99,7 +99,7 @@ published interface XStorable: com::sun::star::uno::XInterface

Only objects which know their locations can be stored.

@throws com::sun::star::io::IOException - if an IO error occured during save operation + if an IO error occurred during save operation (may the location is unknown) @see XStorable::storeAsURL @@ -129,7 +129,7 @@ published interface XStorable: com::sun::star::uno::XInterface (see MediaDescriptor for further details) @throws com::sun::star::io::IOException - if an IO error occured during save operation + if an IO error occurred during save operation (may the location is unknown) @see XStorable::store @@ -152,7 +152,7 @@ published interface XStorable: com::sun::star::uno::XInterface persistence capability.

@throws com::sun::star::io::IOException - if an IO error occured during save operation + if an IO error occurred during save operation (may the location is unknown) @param lArguments diff --git a/offapi/com/sun/star/frame/XStorable2.idl b/offapi/com/sun/star/frame/XStorable2.idl index d33f49da8b8b..cf97b5dba826 100644 --- a/offapi/com/sun/star/frame/XStorable2.idl +++ b/offapi/com/sun/star/frame/XStorable2.idl @@ -73,7 +73,7 @@ published interface XStorable2: XStorable the optional parameters contain unacceptable for save entry @throws com::sun::star::io::IOException - if an IO error occured during save operation + if an IO error occurred during save operation @see XStorable::store */ diff --git a/offapi/com/sun/star/logging/XLogger.idl b/offapi/com/sun/star/logging/XLogger.idl index 74998458af88..6c7e1a2220e2 100644 --- a/offapi/com/sun/star/logging/XLogger.idl +++ b/offapi/com/sun/star/logging/XLogger.idl @@ -121,17 +121,17 @@ interface XLogger void log( [in] long Level, [in] string Message ); /** logs a given message, detailing the source class and method at which the logged - event occured. + event occurred. @param Level the log level of this message. If this level is smaller than the logger's Level attribute, then the call will be ignored. @param SourceClass - the source class at which the logged event occured. + the source class at which the logged event occurred. @param SourceMethod - the source class at which the logged event occured. + the source class at which the logged event occurred. @param Message the message to log diff --git a/offapi/com/sun/star/mail/XMailServer.idl b/offapi/com/sun/star/mail/XMailServer.idl index 8d0ad232ed61..117003b088e9 100644 --- a/offapi/com/sun/star/mail/XMailServer.idl +++ b/offapi/com/sun/star/mail/XMailServer.idl @@ -191,13 +191,13 @@ interface XMailServer: ::com::sun::star::uno::XInterface { a wrong server name, an unreachable DNS server, etc. @throws com::sun::star::io::NoRouteToHostException - if an error occured to connect to the remote mail server. + if an error occurred to connect to the remote mail server. Typically the remote mail server cannot be reach because of an intervening firewall, or if an intermediate router is down, the network connection is broken, etc. @throws com::sun::star::io::ConnectException - if an error occured while attempting to connect to the remote + if an error occurred while attempting to connect to the remote mail server. Typically the connection was refused remotely, because the mail server is not listening on the remote address/port. diff --git a/offapi/com/sun/star/mail/XMailService.idl b/offapi/com/sun/star/mail/XMailService.idl index cc8ba05e0703..12a840a59f9b 100644 --- a/offapi/com/sun/star/mail/XMailService.idl +++ b/offapi/com/sun/star/mail/XMailService.idl @@ -169,13 +169,13 @@ interface XMailService: ::com::sun::star::uno::XInterface { a wrong server name, an unreachable DNS server, etc. @throws com::sun::star::io::NoRouteToHostException - if an error occured to connect to the remote mail server. + if an error occurred to connect to the remote mail server. Typically the remote mail server cannot be reach because of an intervening firewall, or if an intermediate router is down, the network connection is broken, etc. @throws com::sun::star::io::ConnectException - if an error occured while attempting to connect to the remote + if an error occurred while attempting to connect to the remote mail server. Typically the connection was refused remotely, because the mail server is not listening on the remote address/port. diff --git a/offapi/com/sun/star/plugin/PluginException.idl b/offapi/com/sun/star/plugin/PluginException.idl index 2101e0b45c4b..88f7dcdd7e60 100644 --- a/offapi/com/sun/star/plugin/PluginException.idl +++ b/offapi/com/sun/star/plugin/PluginException.idl @@ -38,7 +38,7 @@ //============================================================================= -/** Indicates that an error occured in an NPN or NPP function call. +/** Indicates that an error occurred in an NPN or NPP function call. @see XPlugin @see XPluginContext diff --git a/offapi/com/sun/star/scanner/ScanError.idl b/offapi/com/sun/star/scanner/ScanError.idl index ecb9544df3a4..041fd916ecd5 100644 --- a/offapi/com/sun/star/scanner/ScanError.idl +++ b/offapi/com/sun/star/scanner/ScanError.idl @@ -39,7 +39,7 @@ published enum ScanError { //------------------------------------------------------------------------- // DOCUMENTATION CHANGED FOR ScanError:: ScanErrorNone, - /** ScanErrorNone: no error occured + /** ScanErrorNone: no error occurred */ ScanErrorNone, @@ -51,7 +51,7 @@ published enum ScanError //------------------------------------------------------------------------- // DOCUMENTATION CHANGED FOR ScanError:: ScanFailed, - /** ScanFailed: an error occured during scanning + /** ScanFailed: an error occurred during scanning */ ScanFailed, diff --git a/offapi/com/sun/star/script/provider/ScriptErrorRaisedException.idl b/offapi/com/sun/star/script/provider/ScriptErrorRaisedException.idl index 72fac1b09749..72a7dc9e16c9 100644 --- a/offapi/com/sun/star/script/provider/ScriptErrorRaisedException.idl +++ b/offapi/com/sun/star/script/provider/ScriptErrorRaisedException.idl @@ -42,13 +42,13 @@ module com { module sun { module star { module script { module provider { by a LanguageScriptProvider whilst executing a script */ exception ScriptErrorRaisedException : com::sun::star::uno::Exception { - /** Name of script where error occured + /** Name of script where error occurred */ string scriptName; /** Scripting language of script that generated exception */ string language; - /** line number where error occured. + /** line number where error occurred. */ long lineNum; }; diff --git a/offapi/com/sun/star/script/provider/ScriptExceptionRaisedException.idl b/offapi/com/sun/star/script/provider/ScriptExceptionRaisedException.idl index c7cc7b6f88f3..7575a3022f10 100644 --- a/offapi/com/sun/star/script/provider/ScriptExceptionRaisedException.idl +++ b/offapi/com/sun/star/script/provider/ScriptExceptionRaisedException.idl @@ -42,7 +42,7 @@ module com { module sun { module star { module script { module provider { thrown by a LanguageScriptProvider whilst executing a script */ exception ScriptExceptionRaisedException : ::com::sun::star::script::provider::ScriptErrorRaisedException { - /** Name of script where error occured + /** Name of script where error occurred */ string exceptionType; }; diff --git a/offapi/com/sun/star/script/provider/ScriptFrameworkErrorException.idl b/offapi/com/sun/star/script/provider/ScriptFrameworkErrorException.idl index 6444e1f92b62..fbecc8974191 100644 --- a/offapi/com/sun/star/script/provider/ScriptFrameworkErrorException.idl +++ b/offapi/com/sun/star/script/provider/ScriptFrameworkErrorException.idl @@ -42,7 +42,7 @@ module com { module sun { module star { module script { module provider { by the Scripting Framework whilst executing a script */ exception ScriptFrameworkErrorException : com::sun::star::uno::Exception { - /** Name of script where error occured + /** Name of script where error occurred */ string scriptName; /** Scripting language of script that generated exception diff --git a/offapi/com/sun/star/sdb/SQLContext.idl b/offapi/com/sun/star/sdb/SQLContext.idl index 1cf7d389d56f..d386a5552f9e 100644 --- a/offapi/com/sun/star/sdb/SQLContext.idl +++ b/offapi/com/sun/star/sdb/SQLContext.idl @@ -48,7 +48,7 @@ published exception SQLContext: com::sun::star::sdbc::SQLWarning { /** provides special info about the details where a SQLException - occured. + occurred. As usual for SQLExceptions, several SQLContext-objects may be chained, then the most recent context is appended to the list's tail */ diff --git a/offapi/com/sun/star/sdb/XSQLErrorBroadcaster.idl b/offapi/com/sun/star/sdb/XSQLErrorBroadcaster.idl index 2583428ba6ee..8b5d67c1e884 100644 --- a/offapi/com/sun/star/sdb/XSQLErrorBroadcaster.idl +++ b/offapi/com/sun/star/sdb/XSQLErrorBroadcaster.idl @@ -46,7 +46,7 @@ published interface XSQLErrorBroadcaster: com::sun::star::uno::XInterface { - /** adds the specified listener to receive the event "errorOccured" + /** adds the specified listener to receive the event "errorOccurred" @param com::sun::star::sdb::XSQLErrorListener */ [oneway] void addSQLErrorListener( diff --git a/offapi/com/sun/star/ucb/CommandFailedException.idl b/offapi/com/sun/star/ucb/CommandFailedException.idl index e757e2c687d0..de8aee50c9db 100644 --- a/offapi/com/sun/star/ucb/CommandFailedException.idl +++ b/offapi/com/sun/star/ucb/CommandFailedException.idl @@ -38,7 +38,7 @@ module com { module sun { module star { module ucb { //============================================================================= -/** This exception is thrown if an exception situation occured during the +/** This exception is thrown if an exception situation occurred during the processing of a command and an XInteractionHandler was able to handle the request for the error condition and the requesting code diff --git a/offapi/com/sun/star/ucb/FetchError.idl b/offapi/com/sun/star/ucb/FetchError.idl index 49e9f5f7ed39..37febfa4c509 100644 --- a/offapi/com/sun/star/ucb/FetchError.idl +++ b/offapi/com/sun/star/ucb/FetchError.idl @@ -32,7 +32,7 @@ module com { module sun { module star { module ucb { //============================================================================= -/** These values are used to specify whether and which error has occured +/** These values are used to specify whether and which error has occurred while fetching data of some ContentResultSet rows. @see FetchResult diff --git a/offapi/com/sun/star/ucb/FetchResult.idl b/offapi/com/sun/star/ucb/FetchResult.idl index ebd8dd4060aa..f36064abb2b9 100644 --- a/offapi/com/sun/star/ucb/FetchResult.idl +++ b/offapi/com/sun/star/ucb/FetchResult.idl @@ -71,7 +71,7 @@ published struct FetchResult boolean Orientation; //------------------------------------------------------------------------- - /** indicates whether and which error has occured, while fetching. + /** indicates whether and which error has occurred, while fetching.

The value may contain zero or more constants of the FetchError constants group. diff --git a/offapi/com/sun/star/ucb/InteractiveFileIOException.idl b/offapi/com/sun/star/ucb/InteractiveFileIOException.idl index 6d4f9015f206..a09872f6dda2 100644 --- a/offapi/com/sun/star/ucb/InteractiveFileIOException.idl +++ b/offapi/com/sun/star/ucb/InteractiveFileIOException.idl @@ -51,7 +51,7 @@ module com { module sun { module star { module ucb { published exception InteractiveFileIOException: com::sun::star::ucb::InteractiveIOException { //------------------------------------------------------------------------- - /** The file url where the i/o error occured + /** The file url where the i/o error occurred */ string FileName; }; diff --git a/offapi/com/sun/star/ucb/XCommandProcessor.idl b/offapi/com/sun/star/ucb/XCommandProcessor.idl index 92da7d7f1495..a8504e306ba2 100644 --- a/offapi/com/sun/star/ucb/XCommandProcessor.idl +++ b/offapi/com/sun/star/ucb/XCommandProcessor.idl @@ -124,7 +124,7 @@ published interface XCommandProcessor : com::sun::star::uno::XInterface to indicate that two threads tried to use the same command identifier @throws Exception - if an error occured during the execution of the command. + if an error occurred during the execution of the command. */ any execute( [in] Command aCommand, [in] long CommandId, diff --git a/offapi/com/sun/star/ucb/XContentIdentifierMapping.idl b/offapi/com/sun/star/ucb/XContentIdentifierMapping.idl index e4ab524fed8b..318c5d24f13f 100644 --- a/offapi/com/sun/star/ucb/XContentIdentifierMapping.idl +++ b/offapi/com/sun/star/ucb/XContentIdentifierMapping.idl @@ -111,7 +111,7 @@ published interface XContentIdentifierMapping: com::sun::star::uno::XInterface be returned unmodified). @returns if any of the columns contain data that (potentially) - needs mapping (though maybe no mapping occured for the concrete input + needs mapping (though maybe no mapping occurred for the concrete input data of this call). This information can be useful to decide whether, for another row, a call to this function is at all necessary. */ diff --git a/offapi/com/sun/star/ucb/XRemoteContentProviderChangeListener.idl b/offapi/com/sun/star/ucb/XRemoteContentProviderChangeListener.idl index 3a8a22cc4da6..2b01cf258955 100644 --- a/offapi/com/sun/star/ucb/XRemoteContentProviderChangeListener.idl +++ b/offapi/com/sun/star/ucb/XRemoteContentProviderChangeListener.idl @@ -53,7 +53,7 @@ published interface XRemoteContentProviderChangeListener: occur. @param Event - describes the change that has occured. + describes the change that has occurred. */ void remoteContentProviderChange([in] RemoteContentProviderChangeEvent Event); diff --git a/offapi/com/sun/star/util/XChangesNotifier.idl b/offapi/com/sun/star/util/XChangesNotifier.idl index 6ca009069509..f532bc6b476f 100644 --- a/offapi/com/sun/star/util/XChangesNotifier.idl +++ b/offapi/com/sun/star/util/XChangesNotifier.idl @@ -46,7 +46,7 @@ module com { module sun { module star { module util { published interface XChangesNotifier: com::sun::star::uno::XInterface { //------------------------------------------------------------------------- - /** adds the specified listener to receive events when changes occured. + /** adds the specified listener to receive events when changes occurred. */ [oneway] void addChangesListener( [in] com::sun::star::util::XChangesListener aListener ); diff --git a/offapi/com/sun/star/util/XCloseListener.idl b/offapi/com/sun/star/util/XCloseListener.idl index 8e45e3d7ad0f..adfd6f00fe0c 100644 --- a/offapi/com/sun/star/util/XCloseListener.idl +++ b/offapi/com/sun/star/util/XCloseListener.idl @@ -59,7 +59,7 @@

If an event XEventListener::disposing - occured, nobody called XCloseable::close on listened object before. + occurred, nobody called XCloseable::close on listened object before. Then it's not allowed to break this request - it must be accepted!

@@ -122,7 +122,7 @@ published interface XCloseListener: com::sun::star::lang::XEventListener

- If the event XEventListener::disposing() occured before + If the event XEventListener::disposing() occurred before it must be accepted too. There exist no chance for a disagreement any more.

diff --git a/offapi/com/sun/star/xforms/XModel.idl b/offapi/com/sun/star/xforms/XModel.idl index ea2e71bdd39a..93948412e22c 100644 --- a/offapi/com/sun/star/xforms/XModel.idl +++ b/offapi/com/sun/star/xforms/XModel.idl @@ -107,7 +107,7 @@ interface XModel consistency criteria for the model data is not fulfilled. @throws com::sun::star::lang::WrappedTargetException - when another error occured during the submission. The + when another error occurred during the submission. The WrappedTargetException::TargetException describes this error then. */ @@ -131,7 +131,7 @@ interface XModel consistency criteria for the model data is not fulfilled. @throws com::sun::star::lang::WrappedTargetException - when another error occured during the submission. The + when another error occurred during the submission. The WrappedTargetException::TargetException describes this error then. */ diff --git a/offapi/drafts/com/sun/star/form/ListEntryEvent.idl b/offapi/drafts/com/sun/star/form/ListEntryEvent.idl index 9f7b8443f7da..9186d33375ff 100644 --- a/offapi/drafts/com/sun/star/form/ListEntryEvent.idl +++ b/offapi/drafts/com/sun/star/form/ListEntryEvent.idl @@ -39,7 +39,7 @@ module drafts { module com { module sun { module star { module form { //============================================================================= /** specifies the event which is notified when a change in a string entry - list occured + list occurred @see XListEntrySource @see XListEntryListener @@ -49,7 +49,7 @@ module drafts { module com { module sun { module star { module form { */ struct ListEntryEvent : com::sun::star::lang::EventObject { - /** denotes the position where a change occured. + /** denotes the position where a change occurred.

The concrete semantics of the value depends on the concrete event being notified.

diff --git a/registry/inc/registry/reader.h b/registry/inc/registry/reader.h index 645da283c9e2..9244735c7aa7 100644 --- a/registry/inc/registry/reader.h +++ b/registry/inc/registry/reader.h @@ -65,7 +65,7 @@ extern "C" { not be null; if the given binary blob is malformed, or of a version larger than maxVersion, null is returned - @return false iff an out-of-memory condition occured, in which case + @return false iff an out-of-memory condition occurred, in which case result is left unchanged, and no type reader is created @since UDK 3.2.0 @@ -323,7 +323,7 @@ void SAL_CALL typereg_reader_getFieldTypeName( @param result an out-parameter obtaining the field value's value; must not be null - @return false iff an out-of-memory condition occured, in which case + @return false iff an out-of-memory condition occurred, in which case type and value are left unchanged @since UDK 3.2.0 diff --git a/ridljar/com/sun/star/lib/util/WeakMap.java b/ridljar/com/sun/star/lib/util/WeakMap.java index 7c2ccde1ded1..9d49eef2b2c6 100644 --- a/ridljar/com/sun/star/lib/util/WeakMap.java +++ b/ridljar/com/sun/star/lib/util/WeakMap.java @@ -48,7 +48,7 @@ import java.util.Set; * *

Unlike other map implementations, WeakMap is asymmetric in * that put expects the given value to be a plain object that is - * then wrapped in a WeakReference, while the occurences of values + * then wrapped in a WeakReference, while the occurrences of values * in all other methods (containsValue, entrySet, * equals, get, hashCode, * remove, values, and also the return value of diff --git a/sal/inc/osl/conditn.h b/sal/inc/osl/conditn.h index 1811bcdf2107..88478c377bf3 100644 --- a/sal/inc/osl/conditn.h +++ b/sal/inc/osl/conditn.h @@ -40,7 +40,7 @@ typedef void* oslCondition; typedef enum { osl_cond_result_ok, /* successful completion */ - osl_cond_result_error, /* error occured, check osl_getLastSocketError() for details */ + osl_cond_result_error, /* error occurred, check osl_getLastSocketError() for details */ osl_cond_result_timeout, /* blocking operation timed out */ osl_cond_result_FORCE_EQUAL_SIZE = SAL_MAX_ENUM } oslConditionResult; diff --git a/sal/inc/osl/pipe_decl.hxx b/sal/inc/osl/pipe_decl.hxx index c5d97e3d2914..54ccb93f5375 100644 --- a/sal/inc/osl/pipe_decl.hxx +++ b/sal/inc/osl/pipe_decl.hxx @@ -134,8 +134,8 @@ public: /** Delivers a constant decribing the last error for the pipe system. - @return ENONE if no error occured, invalid_PipeError if - an unknown (unmapped) error occured, otherwise an enum describing the + @return ENONE if no error occurred, invalid_PipeError if + an unknown (unmapped) error occurred, otherwise an enum describing the error. */ inline oslPipeError SAL_CALL getError() const; diff --git a/sal/inc/osl/process.h b/sal/inc/osl/process.h index 1c71a4fc5e02..9e3012a2fb71 100644 --- a/sal/inc/osl/process.h +++ b/sal/inc/osl/process.h @@ -69,7 +69,7 @@ typedef sal_uInt32 oslProcessExitCode; typedef enum { osl_Process_E_None, /* no error */ osl_Process_E_NotFound, /* image not found */ - osl_Process_E_TimedOut, /* timout occured */ + osl_Process_E_TimedOut, /* timout occurred */ osl_Process_E_NoPermission, /* permission denied */ osl_Process_E_Unknown, /* unknown error */ osl_Process_E_InvalidError, /* unmapped error */ @@ -323,7 +323,7 @@ oslProcessError SAL_CALL osl_joinProcess(oslProcess Process); @return osl_Process_E_None on success osl_Process_E_TimedOut waiting for the child process timed out - osl_Process_E_Unknown an error occured or the parameter are invalid + osl_Process_E_Unknown an error occurred or the parameter are invalid @see osl_executeProcess */ diff --git a/sal/inc/osl/socket.h b/sal/inc/osl/socket.h index fb2d32eb440e..f936102cdc43 100644 --- a/sal/inc/osl/socket.h +++ b/sal/inc/osl/socket.h @@ -195,7 +195,7 @@ typedef enum { */ typedef enum { osl_Socket_Ok, /* successful completion */ - osl_Socket_Error, /* error occured, check osl_getLastSocketError() for details */ + osl_Socket_Error, /* error occurred, check osl_getLastSocketError() for details */ osl_Socket_TimedOut, /* blocking operation timed out */ osl_Socket_Interrupted, /* blocking operation was interrupted */ osl_Socket_InProgress, /* nonblocking operation is in progress */ @@ -594,7 +594,7 @@ sal_Int32 SAL_CALL osl_sendToSocket(oslSocket Socket, how long the operation will block if the Socket is not ready. @return sal_True if read operations (recv, recvFrom, accept) on the Socket - will NOT block; sal_False if it would block or if an error occured. + will NOT block; sal_False if it would block or if an error occurred. @param Socket the Socket to perfom the operation on. @param pTimeout if NULL, the operation will block without a timeout. @@ -605,7 +605,7 @@ sal_Bool SAL_CALL osl_isReceiveReady(oslSocket Socket, const TimeValue* pTimeout You can specify a timeout-value in seconds/microseconds that denotes how long the operation will block if the Socket is not ready. @return sal_True if send operations (send, sendTo) on the Socket - will NOT block; sal_False if it would block or if an error occured. + will NOT block; sal_False if it would block or if an error occurred. @param Socket the Socket to perfom the operation on. @param pTimeout if NULL, the operation will block without a timeout. Otherwise @@ -617,7 +617,7 @@ sal_Bool SAL_CALL osl_isSendReady(oslSocket Socket, const TimeValue* pTimeout); You can specify a timeout-value in seconds/microseconds that denotes how long the operation will block if the Socket has no pending OOB data. @return sal_True if OOB-request operations (recv with appropriate flags) - on the Socket will NOT block; sal_False if it would block or if an error occured. + on the Socket will NOT block; sal_False if it would block or if an error occurred. @param Socket the Socket to perfom the operation on. @param pTimeout if NULL, the operation will block without a timeout. @@ -717,7 +717,7 @@ sal_Bool SAL_CALL osl_shutdownSocket(oslSocket Socket, @param BufferSize contains the length of the Buffer. - @return -1 if an error occured or else the size of the data copied into + @return -1 if an error occurred or else the size of the data copied into pBuffer. @see osl_setSocketOption() */ @@ -778,7 +778,7 @@ sal_Bool SAL_CALL osl_isNonBlockingMode(oslSocket Socket);

  • osl_Socket_TypeRaw
  • osl_Socket_TypeRdm
  • osl_Socket_TypeSeqPacket -
  • osl_invalid_SocketType, if an error occured +
  • osl_invalid_SocketType, if an error occurred */ @@ -790,9 +790,9 @@ oslSocketType SAL_CALL osl_getSocketType(oslSocket Socket); void SAL_CALL osl_getLastSocketErrorDescription(oslSocket Socket, rtl_uString **strError); /** returns a constant decribing the last error for the socket system. - @return osl_Socket_E_NONE if no error occured, + @return osl_Socket_E_NONE if no error occurred, osl_invalid_SocketError if an unknown (unmapped) - error occured, otherwise an enum describing the error. + error occurred, otherwise an enum describing the error. */ oslSocketError SAL_CALL osl_getLastSocketError(oslSocket Socket); diff --git a/sal/inc/osl/socket_decl.hxx b/sal/inc/osl/socket_decl.hxx index 7660075e3e8a..6376c1bc3613 100644 --- a/sal/inc/osl/socket_decl.hxx +++ b/sal/inc/osl/socket_decl.hxx @@ -277,7 +277,7 @@ namespace osl You can specify a timeout-value in seconds/nanoseconds that denotes how the operation will block if the Socket is not ready. @return sal_True if read operations (recv, recvFrom, accept) on the Socket - will NOT block; sal_False if it would block or if an error occured. + will NOT block; sal_False if it would block or if an error occurred. @param pTimeout if 0, the operation will block without a timeout. Otherwise the specified amout of time. @@ -289,7 +289,7 @@ namespace osl You can specify a timeout-value in seconds/nanoseconds that denotes how the operation will block if the Socket is not ready. @return sal_True if send operations (send, sendTo) on the Socket - will NOT block; sal_False if it would block or if an error occured. + will NOT block; sal_False if it would block or if an error occurred. @param pTimeout if 0, the operation will block without a timeout. Otherwise the specified amout of time. @@ -304,7 +304,7 @@ namespace osl @return sal_True if OOB-request operations (recv with appropriate flags) on the Socket will NOT block; sal_False if it would block or if - an error occured. + an error occurred. @param pTimeout if 0, the operation will block without a timeout. Otherwise the specified amout of time. @@ -320,7 +320,7 @@ namespace osl
  • osl_Socket_TypeRaw
  • osl_Socket_TypeRdm
  • osl_Socket_TypeSeqPacket -
  • osl_invalid_SocketType, if an error occured +
  • osl_invalid_SocketType, if an error occurred */ inline oslSocketType SAL_CALL getType() const; @@ -404,7 +404,7 @@ namespace osl
  • osl_Socket_LevelTcp : Level of Transmission Control Protocol @return The size of the attribute copied into pBuffer or -1 if an error - occured. + occurred. */ inline sal_Int32 SAL_CALL getOption( oslSocketOption Option, @@ -488,8 +488,8 @@ namespace osl /** returns a constant decribing the last error for the socket system. - @return osl_Socket_E_NONE if no error occured, invalid_SocketError if - an unknown (unmapped) error occured, otherwise an enum describing the + @return osl_Socket_E_NONE if no error occurred, invalid_SocketError if + an unknown (unmapped) error occurred, otherwise an enum describing the error. @see osl_getLastSocketError() */ diff --git a/sal/inc/rtl/bootstrap.h b/sal/inc/rtl/bootstrap.h index 18e3b64e76e8..cd0507bef5df 100644 --- a/sal/inc/rtl/bootstrap.h +++ b/sal/inc/rtl/bootstrap.h @@ -218,7 +218,7 @@ void SAL_CALL rtl_bootstrap_expandMacros( an arbitrary, non-NULL value @param encoded - non-NULL out parameter, receiving the given value with all occurences of + non-NULL out parameter, receiving the given value with all occurrences of special characters ("$" and "\") escaped @since UDK 3.2.9 diff --git a/sal/inc/rtl/bootstrap.hxx b/sal/inc/rtl/bootstrap.hxx index 290bb1e38850..dca3e84ce4c8 100644 --- a/sal/inc/rtl/bootstrap.hxx +++ b/sal/inc/rtl/bootstrap.hxx @@ -150,7 +150,7 @@ namespace rtl an arbitrary value @return - the given value, with all occurences of special characters ("$" and + the given value, with all occurrences of special characters ("$" and "\") escaped @since UDK 3.2.9 diff --git a/sal/inc/rtl/instance.hxx b/sal/inc/rtl/instance.hxx index 2ef1a8d3853e..d4ee7cc7f68d 100644 --- a/sal/inc/rtl/instance.hxx +++ b/sal/inc/rtl/instance.hxx @@ -232,10 +232,10 @@ namespace { Some comments: For any instantiation of rtl_Instance, at most one call to a create method - may occur in the program code: Each occurance of a create method within + may occur in the program code: Each occurrence of a create method within the program code is supposed to return a fresh object instance on the first call, and that same object instance on subsequent calls; but - independent occurances of create methods are supposed to return + independent occurrences of create methods are supposed to return independent object instances. Since there is a one-to-one correspondence between object instances and instantiations of rtl_Instance, the requirement should be clear. One measure to enforce the requirement is @@ -245,7 +245,7 @@ namespace { needs a funny "hand coded" prefix "rtl_" instead of a proper namespace prefix like "::rtl::". - A known problem with this template is when two occurences of calls to + A known problem with this template is when two occurrences of calls to create methods with identical template arguments appear in one translation unit. Those two places will share a single object instance. This can be avoided by using different Init structs (see the above code samples) in diff --git a/sal/inc/rtl/tencinfo.h b/sal/inc/rtl/tencinfo.h index cccdd229eaaf..cc70d30423ed 100644 --- a/sal/inc/rtl/tencinfo.h +++ b/sal/inc/rtl/tencinfo.h @@ -104,7 +104,7 @@ typedef struct _rtl_TextEncodingInfo ASCII control codes 0x00--1F are not included here, as they are used for special purposes in some encodings. - If an encoding has this property, it is easy to search for occurences of + If an encoding has this property, it is easy to search for occurrences of ASCII characters within strings of this encoding---you do not need to keep track whether a byte in the range 0x20--7F really represents an ASCII character or rather is part of some multi-byte character. diff --git a/sal/osl/os2/except.c b/sal/osl/os2/except.c index ece3c9c6576f..8d328b5e8f15 100644 --- a/sal/osl/os2/except.c +++ b/sal/osl/os2/except.c @@ -79,7 +79,7 @@ + } + CATCH(excptid) + { - + .... // exception occured: react here + + .... // exception occurred: react here + } END_CATCH(); // always needed! + } // end of your_func * @@ -166,7 +166,7 @@ + CATCH(excpt1) { } END_CATCH(); // always needed! + + if (fSemOwned) - + // this gets executed always, even if an exception occured + + // this gets executed always, even if an exception occurred + DosReleaseMutexSem(hmtx); + } // end of your_func * @@ -736,7 +736,7 @@ VOID excExplainException(FILE *file, // in: logfile from fopen // *** instruction - fprintf(file, "Instruction pointer (where exception occured):\n CS:EIP = %04lX:%08lX ", + fprintf(file, "Instruction pointer (where exception occurred):\n CS:EIP = %04lX:%08lX ", pContextRec->ctx_SegCs, pContextRec->ctx_RegEip); excDescribePage(file, pContextRec->ctx_RegEip); diff --git a/sal/osl/os2/file_path_helper.h b/sal/osl/os2/file_path_helper.h index be988e6f5524..553e344cb11f 100644 --- a/sal/osl/os2/file_path_helper.h +++ b/sal/osl/os2/file_path_helper.h @@ -160,7 +160,7 @@ /***************************************** osl_systemPathGetParent - Replaces the last occurrance of a path + Replaces the last occurrence of a path separator with '\0' and returns the position where the '/' was replaced diff --git a/sal/osl/os2/file_path_helper.hxx b/sal/osl/os2/file_path_helper.hxx index fefe04a50198..afc5f5b1c297 100644 --- a/sal/osl/os2/file_path_helper.hxx +++ b/sal/osl/os2/file_path_helper.hxx @@ -165,7 +165,7 @@ namespace osl /***************************************** systemPathGetParent - Replaces the last occurrance of a path + Replaces the last occurrence of a path separator with '\0' and returns the position where the '/' was replaced diff --git a/sal/osl/os2/helpers/except.h b/sal/osl/os2/helpers/except.h index 2749266c6fd8..ce90a5f14ef8 100644 --- a/sal/osl/os2/helpers/except.h +++ b/sal/osl/os2/helpers/except.h @@ -226,7 +226,7 @@ extern "C" { (PEXCEPTIONREGISTRATIONRECORD)&(excptstruct.RegRec2)); \ } /* end of TRY block */ \ else \ - { /* exception occured: */ \ + { /* exception occurred: */ \ DosUnsetExceptionHandler((PEXCEPTIONREGISTRATIONRECORD)&(excptstruct.RegRec2)); #endif @@ -235,7 +235,7 @@ extern "C" { #define END_CATCH() } #else #define END_CATCH() \ - } /* end of exception-occured block */ \ + } /* end of exception-occurred block */ \ } #endif diff --git a/sal/osl/os2/pipe.cxx b/sal/osl/os2/pipe.cxx index 909c1dedb322..ddd3bcc5c064 100644 --- a/sal/osl/os2/pipe.cxx +++ b/sal/osl/os2/pipe.cxx @@ -473,7 +473,7 @@ oslPipeError SAL_CALL osl_getLastPipeError(oslPipe pPipe) sal_Int32 SAL_CALL osl_writePipe( oslPipe pPipe, const void *pBuffer , sal_Int32 n ) { - /* loop until all desired bytes were send or an error occured */ + /* loop until all desired bytes were send or an error occurred */ sal_Int32 BytesSend= 0; sal_Int32 BytesToSend= n; @@ -484,7 +484,7 @@ sal_Int32 SAL_CALL osl_writePipe( oslPipe pPipe, const void *pBuffer , sal_Int32 RetVal= osl_sendPipe(pPipe, pBuffer, BytesToSend); - /* error occured? */ + /* error occurred? */ if(RetVal <= 0) { break; @@ -500,7 +500,7 @@ sal_Int32 SAL_CALL osl_writePipe( oslPipe pPipe, const void *pBuffer , sal_Int32 sal_Int32 SAL_CALL osl_readPipe( oslPipe pPipe, void *pBuffer , sal_Int32 n ) { - /* loop until all desired bytes were read or an error occured */ + /* loop until all desired bytes were read or an error occurred */ sal_Int32 BytesRead= 0; sal_Int32 BytesToRead= n; @@ -510,7 +510,7 @@ sal_Int32 SAL_CALL osl_readPipe( oslPipe pPipe, void *pBuffer , sal_Int32 n ) sal_Int32 RetVal; RetVal= osl_receivePipe(pPipe, pBuffer, BytesToRead); - /* error occured? */ + /* error occurred? */ if(RetVal <= 0) { break; diff --git a/sal/osl/os2/socket.c b/sal/osl/os2/socket.c index 20212c72b6ad..c52026000218 100644 --- a/sal/osl/os2/socket.c +++ b/sal/osl/os2/socket.c @@ -2249,7 +2249,7 @@ sal_Int32 SAL_CALL osl_readSocket ( OSL_ASSERT( pSocket); - /* loop until all desired bytes were read or an error occured */ + /* loop until all desired bytes were read or an error occurred */ while (BytesToRead > 0) { sal_Int32 RetVal; @@ -2258,7 +2258,7 @@ sal_Int32 SAL_CALL osl_readSocket ( BytesToRead, osl_Socket_MsgNormal); - /* error occured? */ + /* error occurred? */ if(RetVal <= 0) { break; @@ -2278,7 +2278,7 @@ sal_Int32 SAL_CALL osl_readSocket ( sal_Int32 SAL_CALL osl_writeSocket( oslSocket pSocket, const void *pBuffer, sal_Int32 n ) { - /* loop until all desired bytes were send or an error occured */ + /* loop until all desired bytes were send or an error occurred */ sal_uInt32 BytesSend= 0; sal_uInt32 BytesToSend= n; sal_uInt8 *Ptr = ( sal_uInt8 * )pBuffer; @@ -2291,7 +2291,7 @@ sal_Int32 SAL_CALL osl_writeSocket( RetVal= osl_sendSocket( pSocket,Ptr,BytesToSend,osl_Socket_MsgNormal); - /* error occured? */ + /* error occurred? */ if(RetVal <= 0) { break; diff --git a/sal/osl/unx/file_url.cxx b/sal/osl/unx/file_url.cxx index dcda0e4dc804..f9e8a877ee01 100644 --- a/sal/osl/unx/file_url.cxx +++ b/sal/osl/unx/file_url.cxx @@ -373,7 +373,7 @@ oslFileError SAL_CALL osl_getFileURLFromSystemPath( rtl_uString *ustrSystemPath, /* adapt index to pTmp */ nIndex += pTmp->length - ustrSystemPath->length; - /* remove all occurances of '//' */ + /* remove all occurrences of '//' */ for( nSrcIndex = nIndex + 1; nSrcIndex < pTmp->length; nSrcIndex++ ) { if( ((sal_Unicode) '/' == pTmp->buffer[nSrcIndex]) && ((sal_Unicode) '/' == pTmp->buffer[nIndex]) ) diff --git a/sal/osl/unx/pipe.c b/sal/osl/unx/pipe.c index f121a3519fd4..b2f01dd27374 100644 --- a/sal/osl/unx/pipe.c +++ b/sal/osl/unx/pipe.c @@ -535,7 +535,7 @@ oslPipeError SAL_CALL osl_getLastPipeError(oslPipe pPipe) sal_Int32 SAL_CALL osl_writePipe( oslPipe pPipe, const void *pBuffer , sal_Int32 n ) { - /* loop until all desired bytes were send or an error occured */ + /* loop until all desired bytes were send or an error occurred */ sal_Int32 BytesSend= 0; sal_Int32 BytesToSend= n; @@ -546,7 +546,7 @@ sal_Int32 SAL_CALL osl_writePipe( oslPipe pPipe, const void *pBuffer , sal_Int32 RetVal= osl_sendPipe(pPipe, pBuffer, BytesToSend); - /* error occured? */ + /* error occurred? */ if(RetVal <= 0) { break; @@ -562,7 +562,7 @@ sal_Int32 SAL_CALL osl_writePipe( oslPipe pPipe, const void *pBuffer , sal_Int32 sal_Int32 SAL_CALL osl_readPipe( oslPipe pPipe, void *pBuffer , sal_Int32 n ) { - /* loop until all desired bytes were read or an error occured */ + /* loop until all desired bytes were read or an error occurred */ sal_Int32 BytesRead= 0; sal_Int32 BytesToRead= n; @@ -572,7 +572,7 @@ sal_Int32 SAL_CALL osl_readPipe( oslPipe pPipe, void *pBuffer , sal_Int32 n ) sal_Int32 RetVal; RetVal= osl_receivePipe(pPipe, pBuffer, BytesToRead); - /* error occured? */ + /* error occurred? */ if(RetVal <= 0) { break; diff --git a/sal/osl/unx/signal.c b/sal/osl/unx/signal.c index 8f42e97048fa..d42659435801 100644 --- a/sal/osl/unx/signal.c +++ b/sal/osl/unx/signal.c @@ -136,7 +136,7 @@ plan to have the new handler use this signal*/ { SIGWINCH, ACT_IGNORE, NULL }, /* window size change */ { SIGURG, ACT_EXIT, NULL }, /* urgent socket condition */ #ifdef SIGPOLL - { SIGPOLL, ACT_EXIT, NULL }, /* pollable event occured */ + { SIGPOLL, ACT_EXIT, NULL }, /* pollable event occurred */ #endif { SIGSTOP, ACT_SYSTEM, NULL }, /* stop (cannot be caught or ignored) */ { SIGTSTP, ACT_SYSTEM, NULL }, /* user stop requested from tty */ diff --git a/sal/osl/unx/socket.c b/sal/osl/unx/socket.c index e736e7c52e85..8377e2d1296a 100644 --- a/sal/osl/unx/socket.c +++ b/sal/osl/unx/socket.c @@ -2283,7 +2283,7 @@ sal_Int32 SAL_CALL osl_readSocket ( OSL_ASSERT( pSocket); - /* loop until all desired bytes were read or an error occured */ + /* loop until all desired bytes were read or an error occurred */ while (BytesToRead > 0) { sal_Int32 RetVal; @@ -2292,7 +2292,7 @@ sal_Int32 SAL_CALL osl_readSocket ( BytesToRead, osl_Socket_MsgNormal); - /* error occured? */ + /* error occurred? */ if(RetVal <= 0) { break; @@ -2312,7 +2312,7 @@ sal_Int32 SAL_CALL osl_readSocket ( sal_Int32 SAL_CALL osl_writeSocket( oslSocket pSocket, const void *pBuffer, sal_Int32 n ) { - /* loop until all desired bytes were send or an error occured */ + /* loop until all desired bytes were send or an error occurred */ sal_uInt32 BytesSend= 0; sal_uInt32 BytesToSend= n; sal_uInt8 *Ptr = ( sal_uInt8 * )pBuffer; @@ -2325,7 +2325,7 @@ sal_Int32 SAL_CALL osl_writeSocket( RetVal= osl_sendSocket( pSocket,Ptr,BytesToSend,osl_Socket_MsgNormal); - /* error occured? */ + /* error occurred? */ if(RetVal <= 0) { break; diff --git a/sal/osl/w32/pipe.c b/sal/osl/w32/pipe.c index fb12be899286..31e3c8ec17ad 100644 --- a/sal/osl/w32/pipe.c +++ b/sal/osl/w32/pipe.c @@ -566,7 +566,7 @@ sal_Int32 SAL_CALL osl_sendPipe(oslPipe pPipe, sal_Int32 SAL_CALL osl_writePipe( oslPipe pPipe, const void *pBuffer , sal_Int32 n ) { - /* loop until all desired bytes were send or an error occured */ + /* loop until all desired bytes were send or an error occurred */ sal_Int32 BytesSend= 0; sal_Int32 BytesToSend= n; @@ -577,7 +577,7 @@ sal_Int32 SAL_CALL osl_writePipe( oslPipe pPipe, const void *pBuffer , sal_Int32 RetVal= osl_sendPipe(pPipe, pBuffer, BytesToSend); - /* error occured? */ + /* error occurred? */ if(RetVal <= 0) { break; @@ -593,7 +593,7 @@ sal_Int32 SAL_CALL osl_writePipe( oslPipe pPipe, const void *pBuffer , sal_Int32 sal_Int32 SAL_CALL osl_readPipe( oslPipe pPipe, void *pBuffer , sal_Int32 n ) { - /* loop until all desired bytes were read or an error occured */ + /* loop until all desired bytes were read or an error occurred */ sal_Int32 BytesRead= 0; sal_Int32 BytesToRead= n; @@ -603,7 +603,7 @@ sal_Int32 SAL_CALL osl_readPipe( oslPipe pPipe, void *pBuffer , sal_Int32 n ) sal_Int32 RetVal; RetVal= osl_receivePipe(pPipe, pBuffer, BytesToRead); - /* error occured? */ + /* error occurred? */ if(RetVal <= 0) { break; diff --git a/sal/osl/w32/procimpl.cxx b/sal/osl/w32/procimpl.cxx index 3a266fd65e6e..24918fd5060c 100644 --- a/sal/osl/w32/procimpl.cxx +++ b/sal/osl/w32/procimpl.cxx @@ -592,7 +592,7 @@ oslProcessError SAL_CALL osl_executeProcess_WithRedirectedIO( } } - /* if an error occured we have to close the server side pipe ends too */ + /* if an error occurred we have to close the server side pipe ends too */ if (hInputWrite) CloseHandle(hInputWrite); diff --git a/sal/osl/w32/socket.cxx b/sal/osl/w32/socket.cxx index 6e0027e3e06f..fc9a7a5eed4f 100644 --- a/sal/osl/w32/socket.cxx +++ b/sal/osl/w32/socket.cxx @@ -1547,7 +1547,7 @@ sal_Int32 SAL_CALL osl_readSocket( oslSocket pSocket, void *pBuffer, sal_Int32 n OSL_ASSERT( pSocket); - /* loop until all desired bytes were read or an error occured */ + /* loop until all desired bytes were read or an error occurred */ sal_uInt32 BytesRead= 0; sal_uInt32 BytesToRead= n; while (BytesToRead > 0) @@ -1558,7 +1558,7 @@ sal_Int32 SAL_CALL osl_readSocket( oslSocket pSocket, void *pBuffer, sal_Int32 n BytesToRead, osl_Socket_MsgNormal); - /* error occured? */ + /* error occurred? */ if(RetVal <= 0) { break; @@ -1579,7 +1579,7 @@ sal_Int32 SAL_CALL osl_writeSocket( oslSocket pSocket, const void *pBuffer, sal_ { OSL_ASSERT( pSocket ); - /* loop until all desired bytes were send or an error occured */ + /* loop until all desired bytes were send or an error occurred */ sal_uInt32 BytesSend= 0; sal_uInt32 BytesToSend= n; sal_uInt8 *Ptr = ( sal_uInt8 * )pBuffer; @@ -1589,7 +1589,7 @@ sal_Int32 SAL_CALL osl_writeSocket( oslSocket pSocket, const void *pBuffer, sal_ RetVal= osl_sendSocket( pSocket,Ptr,BytesToSend,osl_Socket_MsgNormal); - /* error occured? */ + /* error occurred? */ if(RetVal <= 0) { break; diff --git a/sal/qa/buildall.pl b/sal/qa/buildall.pl index 03eadb1b7fc0..86101fd365a7 100644 --- a/sal/qa/buildall.pl +++ b/sal/qa/buildall.pl @@ -272,7 +272,7 @@ sub giveOutFailures($$) if ($nFailures > 0) { # extra return for a better output - print "\nFailures occured: $nFailures\n"; + print "\nFailures occurred: $nFailures\n"; print "The whole output can be found in $sFailureFile\n"; print "\n"; @@ -488,7 +488,7 @@ $/) if ($nGlobalFailures > 0) { - print "\nFailures over all occured: $nGlobalFailures\n"; + print "\nFailures over all occurred: $nGlobalFailures\n"; print "\nPASSED FAILED.\n"; } else diff --git a/sal/qa/osl/process/osl_Thread.cxx b/sal/qa/osl/process/osl_Thread.cxx index d65d2e589398..70f64b201629 100644 --- a/sal/qa/osl/process/osl_Thread.cxx +++ b/sal/qa/osl/process/osl_Thread.cxx @@ -578,7 +578,7 @@ namespace osl_Thread myThread* newthread = new myThread(); sal_Bool res1 = newthread->create(); sal_Bool res2 = newthread->create(); - t_print("In non pro, an assertion should occured. This behaviour is right.\n"); + t_print("In non pro, an assertion should occurred. This behaviour is right.\n"); termAndJoinThread(newthread); delete newthread; diff --git a/sal/qa/osl/socket/osl_Socket.cxx b/sal/qa/osl/socket/osl_Socket.cxx index 57d6e0c3f297..98c32ee7b32a 100644 --- a/sal/qa/osl/socket/osl_Socket.cxx +++ b/sal/qa/osl/socket/osl_Socket.cxx @@ -1505,7 +1505,7 @@ namespace osl_Socket /// Socket constructor. // ::osl::Socket sSocket; - CPPUNIT_ASSERT_MESSAGE( "test for ctors_none constructor function: check if the socket was created successfully, if no exception occured", + CPPUNIT_ASSERT_MESSAGE( "test for ctors_none constructor function: check if the socket was created successfully, if no exception occurred", 1 == 1 ); } diff --git a/sal/qa/osl/socket/osl_Socket2.cxx b/sal/qa/osl/socket/osl_Socket2.cxx index 04d36f70ffbf..2f15d8539f2f 100644 --- a/sal/qa/osl/socket/osl_Socket2.cxx +++ b/sal/qa/osl/socket/osl_Socket2.cxx @@ -176,7 +176,7 @@ namespace osl_Socket /// Socket constructor. // ::osl::Socket sSocket(); - CPPUNIT_ASSERT_MESSAGE( "test for ctors_none constructor function: check if the socket was created successfully, if no exception occured", + CPPUNIT_ASSERT_MESSAGE( "test for ctors_none constructor function: check if the socket was created successfully, if no exception occurred", 1 == 1 ); } diff --git a/stoc/source/corereflection/criface.cxx b/stoc/source/corereflection/criface.cxx index e1404dcff058..ee5bd66f2865 100644 --- a/stoc/source/corereflection/criface.cxx +++ b/stoc/source/corereflection/criface.cxx @@ -335,7 +335,7 @@ void IdlAttributeFieldImpl::checkException( throw WrappedTargetRuntimeException( OUString( RTL_CONSTASCII_USTRINGPARAM( - "non-RuntimeException occured when accessing an" + "non-RuntimeException occurred when accessing an" " interface type attribute")), context, e); } @@ -749,7 +749,7 @@ Any SAL_CALL IdlInterfaceMethodImpl::invoke( const Any & rObj, Sequence< Any > & InvocationTargetException aExc; aExc.Context = *(const Reference< XInterface > *)rObj.getValue(); - aExc.Message = OUString( RTL_CONSTASCII_USTRINGPARAM("exception occured during invocation!") ); + aExc.Message = OUString( RTL_CONSTASCII_USTRINGPARAM("exception occurred during invocation!") ); uno_any_destruct( &aExc.TargetException, reinterpret_cast< uno_ReleaseFunc >(cpp_release) ); diff --git a/stoc/source/invocation/invocation.cxx b/stoc/source/invocation/invocation.cxx index dd6779c17a5e..bce34fa3ee35 100644 --- a/stoc/source/invocation/invocation.cxx +++ b/stoc/source/invocation/invocation.cxx @@ -639,7 +639,7 @@ void Invocation_Impl::setValue( const OUString& PropertyName, const Any& Value ) catch (Exception & exc) { throw InvocationTargetException( - OUString( RTL_CONSTASCII_USTRINGPARAM("exception occured in setValue(): ") ) + + OUString( RTL_CONSTASCII_USTRINGPARAM("exception occurred in setValue(): ") ) + exc.Message, Reference< XInterface >(), makeAny( exc /* though sliced */ ) ); } } diff --git a/stoc/source/invocation_adapterfactory/iafactory.cxx b/stoc/source/invocation_adapterfactory/iafactory.cxx index ecea87911b20..3227ce4342f1 100644 --- a/stoc/source/invocation_adapterfactory/iafactory.cxx +++ b/stoc/source/invocation_adapterfactory/iafactory.cxx @@ -304,7 +304,7 @@ bool AdapterImpl::coerce_assign( m_pFactory->m_pConverter, m_pFactory->m_pConvertToTD, &ret, args, &p_exc ); - if (p_exc) // exception occured + if (p_exc) // exception occurred { OSL_ASSERT( p_exc->pType->eTypeClass == typelib_TypeClass_EXCEPTION ); diff --git a/stoc/source/proxy_factory/proxyfac.cxx b/stoc/source/proxy_factory/proxyfac.cxx index a0840a82c848..3dc80ff99f44 100644 --- a/stoc/source/proxy_factory/proxyfac.cxx +++ b/stoc/source/proxy_factory/proxyfac.cxx @@ -160,7 +160,7 @@ UnoInterfaceReference FactoryImpl::binuno_queryInterface( } else { - // exception occured: + // exception occurred: OSL_ENSURE( typelib_typedescriptionreference_isAssignableFrom( ::getCppuType( reinterpret_cast< diff --git a/stoc/source/security/access_controller.cxx b/stoc/source/security/access_controller.cxx index e6da746cb837..816dd6868798 100644 --- a/stoc/source/security/access_controller.cxx +++ b/stoc/source/security/access_controller.cxx @@ -852,7 +852,7 @@ PermissionCollection AccessController::getEffectivePermissions( clearPostPoned(); // safety: exception could have happened before checking postponed? OUStringBuffer buf( 64 ); buf.appendAscii( - RTL_CONSTASCII_STRINGPARAM("deployment error (AccessControlException occured): ") ); + RTL_CONSTASCII_STRINGPARAM("deployment error (AccessControlException occurred): ") ); buf.append( exc.Message ); throw DeploymentException( buf.makeStringAndClear(), exc.Context ); } diff --git a/stoc/source/servicemanager/servicemanager.cxx b/stoc/source/servicemanager/servicemanager.cxx index 4d35bbd87fd0..58e9ccb7a69d 100644 --- a/stoc/source/servicemanager/servicemanager.cxx +++ b/stoc/source/servicemanager/servicemanager.cxx @@ -929,7 +929,7 @@ void OServiceManager::onUnloadingNotify() IT_MM it_end1= m_ServiceMap.end(); list listDeleteServiceMap; typedef list::const_iterator CIT_DMM; - // find occurences in m_ServiceMap + // find occurrences in m_ServiceMap for(IT_MM it_i1= m_ServiceMap.begin(); it_i1 != it_end1; it_i1++) { if( m_SetLoadedFactories.find( it_i1->second) != it_SetEnd) @@ -1042,7 +1042,7 @@ void OServiceManager::disposing() { #if OSL_DEBUG_LEVEL > 1 OString str( OUStringToOString( exc.Message, RTL_TEXTENCODING_ASCII_US ) ); - OSL_TRACE( "### RuntimeException occured upon disposing factory: %s", str.getStr() ); + OSL_TRACE( "### RuntimeException occurred upon disposing factory: %s", str.getStr() ); #else (void) exc; // unused #endif @@ -1264,7 +1264,7 @@ Reference< XInterface > OServiceManager::createInstanceWithContext( { #if OSL_DEBUG_LEVEL > 1 OString str( OUStringToOString( exc.Message, RTL_TEXTENCODING_ASCII_US ) ); - OSL_TRACE( "### DisposedException occured: %s", str.getStr() ); + OSL_TRACE( "### DisposedException occurred: %s", str.getStr() ); #else (void) exc; // unused #endif @@ -1328,7 +1328,7 @@ Reference< XInterface > OServiceManager::createInstanceWithArgumentsAndContext( { #if OSL_DEBUG_LEVEL > 1 OString str( OUStringToOString( exc.Message, RTL_TEXTENCODING_ASCII_US ) ); - OSL_TRACE( "### DisposedException occured: %s", str.getStr() ); + OSL_TRACE( "### DisposedException occurred: %s", str.getStr() ); #else (void) exc; // unused #endif diff --git a/stoc/source/tdmanager/tdmgr.cxx b/stoc/source/tdmanager/tdmgr.cxx index 2632b5a054f2..41d328313087 100644 --- a/stoc/source/tdmanager/tdmgr.cxx +++ b/stoc/source/tdmanager/tdmgr.cxx @@ -476,7 +476,7 @@ void SAL_CALL ManagerImpl::insert( const Any & rElement ) catch (container::NoSuchElementException & exc) { throw lang::IllegalArgumentException( - OUSTR("NoSuchElementException occured: ") + + OUSTR("NoSuchElementException occurred: ") + exc.Message, static_cast(this), -1 /* unknown */ ); } @@ -512,13 +512,13 @@ void SAL_CALL ManagerImpl::insert( const Any & rElement ) catch (reflection::NoSuchTypeNameException & exc) { throw lang::IllegalArgumentException( - OUSTR("NoSuchTypeNameException occured: ") + exc.Message, + OUSTR("NoSuchTypeNameException occurred: ") + exc.Message, static_cast(this), -1 /* unknown */ ); } catch (reflection::InvalidTypeNameException & exc) { throw lang::IllegalArgumentException( - OUSTR("InvalidTypeNameException occured: ") + exc.Message, + OUSTR("InvalidTypeNameException occurred: ") + exc.Message, static_cast(this), -1 /* unknown */ ); } } diff --git a/stoc/test/javavm/testjavavm.cxx b/stoc/test/javavm/testjavavm.cxx index a873cb0cfd95..e74cf0a8b417 100644 --- a/stoc/test/javavm/testjavavm.cxx +++ b/stoc/test/javavm/testjavavm.cxx @@ -183,9 +183,9 @@ SAL_IMPLEMENT_MAIN() } catch (Exception & rExc) { - OSL_ENSURE( sal_False, "### exception occured!" ); + OSL_ENSURE( sal_False, "### exception occurred!" ); OString aMsg( OUStringToOString( rExc.Message, RTL_TEXTENCODING_ASCII_US ) ); - OSL_TRACE( "### exception occured: " ); + OSL_TRACE( "### exception occurred: " ); OSL_TRACE( aMsg.getStr() ); OSL_TRACE( "\n" ); } diff --git a/stoc/test/testconv.cxx b/stoc/test/testconv.cxx index 35733dc771a6..05ebf9a82de5 100644 --- a/stoc/test/testconv.cxx +++ b/stoc/test/testconv.cxx @@ -694,9 +694,9 @@ SAL_IMPLEMENT_MAIN() } catch (Exception & rExc) { - OSL_ENSURE( sal_False, "### exception occured!" ); + OSL_ENSURE( sal_False, "### exception occurred!" ); OString aMsg( OUStringToOString( rExc.Message, RTL_TEXTENCODING_ASCII_US ) ); - OSL_TRACE( "### exception occured: " ); + OSL_TRACE( "### exception occurred: " ); OSL_TRACE( aMsg.getStr() ); OSL_TRACE( "\n" ); } diff --git a/stoc/test/testcorefl.cxx b/stoc/test/testcorefl.cxx index 34faf2f7c4b5..75d0782b1cf5 100644 --- a/stoc/test/testcorefl.cxx +++ b/stoc/test/testcorefl.cxx @@ -400,10 +400,10 @@ SAL_IMPLEMENT_MAIN() } catch (Exception & rExc) { - OSL_ENSURE( sal_False, "### exception occured!" ); + OSL_ENSURE( sal_False, "### exception occurred!" ); OString aMsg( OUStringToOString( rExc.Message, RTL_TEXTENCODING_ASCII_US ) ); - OSL_TRACE( "### exception occured: " ); + OSL_TRACE( "### exception occurred: " ); OSL_TRACE( aMsg.getStr() ); OSL_TRACE( "\n" ); } diff --git a/stoc/test/testiadapter.cxx b/stoc/test/testiadapter.cxx index a38612a629bb..8479a6934803 100644 --- a/stoc/test/testiadapter.cxx +++ b/stoc/test/testiadapter.cxx @@ -1059,7 +1059,7 @@ SAL_IMPLEMENT_MAIN() } catch (Exception & rExc) { - fprintf( stderr, "> exception occured: " ); + fprintf( stderr, "> exception occurred: " ); OString aMsg( OUStringToOString( rExc.Message, RTL_TEXTENCODING_ASCII_US ) ); fprintf( stderr, "%s\n", aMsg.getStr() ); } diff --git a/stoc/test/testintrosp.cxx b/stoc/test/testintrosp.cxx index c27fae201b6f..fdee2ab6619a 100644 --- a/stoc/test/testintrosp.cxx +++ b/stoc/test/testintrosp.cxx @@ -1582,9 +1582,9 @@ SAL_IMPLEMENT_MAIN() } catch (Exception & rExc) { - OSL_ENSURE( sal_False, "### exception occured!" ); + OSL_ENSURE( sal_False, "### exception occurred!" ); OString aMsg( OUStringToOString( rExc.Message, RTL_TEXTENCODING_ASCII_US ) ); - OSL_TRACE( "### exception occured: " ); + OSL_TRACE( "### exception occurred: " ); OSL_TRACE( aMsg.getStr() ); OSL_TRACE( "\n" ); } diff --git a/udkapi/com/sun/star/beans/XMultiPropertySet.idl b/udkapi/com/sun/star/beans/XMultiPropertySet.idl index 1388c5d672af..ee2798bc646f 100644 --- a/udkapi/com/sun/star/beans/XMultiPropertySet.idl +++ b/udkapi/com/sun/star/beans/XMultiPropertySet.idl @@ -81,7 +81,7 @@ published interface XMultiPropertySet: com::sun::star::uno::XInterface

    The values of the properties must change before the bound events are fired. The values of the constrained properties should change after the vetoable events are fired and only if no - exception occured. Unknown properties are ignored.

    + exception occurred. Unknown properties are ignored.

    @param aPropertyNames specifies the names of the properties. All names must be unique. diff --git a/udkapi/com/sun/star/test/XSimpleTest.idl b/udkapi/com/sun/star/test/XSimpleTest.idl index f2a310f9a44c..dee6b21321cc 100644 --- a/udkapi/com/sun/star/test/XSimpleTest.idl +++ b/udkapi/com/sun/star/test/XSimpleTest.idl @@ -95,7 +95,7 @@ published interface XSimpleTest: com::sun::star::uno::XInterface //------------------------------------------------------------------------- /**States if one of the last test has failed. This is cumulative. - @return true if all test have been passed succesfully. false if an error has occured. + @return true if all test have been passed succesfully. false if an error has occurred. */ boolean testPassed(); -- cgit