[Libreoffice-commits] .: bridges/inc bridges/source cli_ure/source codemaker/source connectivity/inc connectivity/source connectivity/workben cppuhelper/inc cppuhelper/source cppuhelper/test cppu/inc cppu/source cpputools/source desktop/source extensions/test framework/inc framework/source lingucomponent/source odk/examples pyuno/source sal/inc scripting/source stoc/inc stoc/source stoc/test ucb/source unotools/inc vbahelper/inc xmlscript/inc xmlscript/source
Michael Meeks
michael at kemper.freedesktop.org
Thu Jan 26 09:47:05 PST 2012
bridges/inc/bridges/cpp_uno/bridge.hxx | 48 ++--
bridges/inc/bridges/cpp_uno/type_misc.hxx | 6
bridges/source/cpp_uno/gcc3_aix_powerpc/except.cxx | 14 -
bridges/source/cpp_uno/gcc3_ios_arm/except.cxx | 14 -
bridges/source/cpp_uno/gcc3_linux_alpha/except.cxx | 14 -
bridges/source/cpp_uno/gcc3_linux_arm/except.cxx | 14 -
bridges/source/cpp_uno/gcc3_linux_hppa/except.cxx | 14 -
bridges/source/cpp_uno/gcc3_linux_ia64/except.cxx | 14 -
bridges/source/cpp_uno/gcc3_linux_intel/except.cxx | 14 -
bridges/source/cpp_uno/gcc3_linux_m68k/except.cxx | 14 -
bridges/source/cpp_uno/gcc3_linux_mips/except.cxx | 14 -
bridges/source/cpp_uno/gcc3_linux_powerpc/except.cxx | 14 -
bridges/source/cpp_uno/gcc3_linux_powerpc64/except.cxx | 14 -
bridges/source/cpp_uno/gcc3_linux_s390/except.cxx | 14 -
bridges/source/cpp_uno/gcc3_linux_s390x/except.cxx | 14 -
bridges/source/cpp_uno/gcc3_linux_sparc/except.cxx | 14 -
bridges/source/cpp_uno/gcc3_linux_x86-64/cpp2uno.cxx | 2
bridges/source/cpp_uno/gcc3_linux_x86-64/except.cxx | 14 -
bridges/source/cpp_uno/gcc3_macosx_intel/except.cxx | 14 -
bridges/source/cpp_uno/gcc3_macosx_powerpc/except.cxx | 14 -
bridges/source/cpp_uno/gcc3_solaris_intel/except.cxx | 14 -
bridges/source/cpp_uno/gcc3_solaris_sparc/except.cxx | 14 -
bridges/source/cpp_uno/mingw_intel/except.cxx | 14 -
bridges/source/cpp_uno/shared/component.cxx | 16 -
bridges/source/jni_uno/jni_base.h | 6
bridges/source/jni_uno/jni_bridge.cxx | 6
bridges/source/jni_uno/jni_bridge.h | 2
cli_ure/source/uno_bridge/cli_base.h | 2
cli_ure/source/uno_bridge/cli_bridge.cxx | 6
cli_ure/source/uno_bridge/cli_bridge.h | 2
codemaker/source/cppumaker/cpputype.cxx | 14 -
connectivity/inc/connectivity/CommonTools.hxx | 8
connectivity/inc/connectivity/FValue.hxx | 8
connectivity/inc/connectivity/sqliterator.hxx | 8
connectivity/source/drivers/mozab/bootstrap/MNSINIParser.hxx | 4
connectivity/source/drivers/postgresql/pq_driver.cxx | 2
connectivity/source/inc/OColumn.hxx | 8
connectivity/source/inc/OTypeInfo.hxx | 8
connectivity/source/inc/TKeyValue.hxx | 8
connectivity/source/inc/TSkipDeletedSet.hxx | 8
connectivity/source/inc/TSortIndex.hxx | 8
connectivity/source/inc/file/fanalyzer.hxx | 8
connectivity/source/inc/file/fcode.hxx | 8
connectivity/source/inc/file/fcomp.hxx | 8
connectivity/source/inc/sqlscan.hxx | 8
connectivity/workben/iniParser/main.cxx | 4
cppu/inc/com/sun/star/uno/Any.h | 104 ++++-----
cppu/inc/com/sun/star/uno/Any.hxx | 82 +++----
cppu/inc/com/sun/star/uno/Reference.h | 54 ++--
cppu/inc/com/sun/star/uno/Reference.hxx | 36 +--
cppu/inc/com/sun/star/uno/Sequence.h | 40 +--
cppu/inc/com/sun/star/uno/Sequence.hxx | 24 +-
cppu/inc/com/sun/star/uno/Type.h | 92 ++++----
cppu/inc/com/sun/star/uno/Type.hxx | 68 +++---
cppu/inc/com/sun/star/uno/genfunc.h | 6
cppu/inc/com/sun/star/uno/genfunc.hxx | 6
cppu/inc/cppu/EnvGuards.hxx | 2
cppu/inc/typelib/typedescription.hxx | 56 ++---
cppu/inc/uno/current_context.hxx | 14 -
cppu/inc/uno/environment.hxx | 62 ++---
cppu/inc/uno/mapping.hxx | 68 +++---
cppu/source/helper/purpenv/Proxy.hxx | 2
cppu/source/helper/purpenv/helper_purpenv_Mapping.cxx | 4
cppu/source/helper/purpenv/helper_purpenv_Proxy.cxx | 2
cppu/source/threadpool/current.cxx | 14 -
cppu/source/threadpool/current.hxx | 2
cppu/source/typelib/static_types.cxx | 6
cppu/source/typelib/typelib.cxx | 30 +-
cppu/source/uno/assign.hxx | 10
cppu/source/uno/constr.hxx | 8
cppu/source/uno/copy.hxx | 12 -
cppu/source/uno/data.cxx | 12 -
cppu/source/uno/destr.hxx | 12 -
cppu/source/uno/eq.hxx | 12 -
cppu/source/uno/lbmap.cxx | 58 ++---
cppu/source/uno/prim.hxx | 14 -
cppuhelper/inc/cppuhelper/access_control.hxx | 6
cppuhelper/inc/cppuhelper/bootstrap.hxx | 6
cppuhelper/inc/cppuhelper/compbase.hxx | 4
cppuhelper/inc/cppuhelper/compbase_ex.hxx | 24 +-
cppuhelper/inc/cppuhelper/component.hxx | 6
cppuhelper/inc/cppuhelper/component_context.hxx | 6
cppuhelper/inc/cppuhelper/factory.hxx | 14 -
cppuhelper/inc/cppuhelper/implbase.hxx | 22 +-
cppuhelper/inc/cppuhelper/implbase_ex.hxx | 2
cppuhelper/inc/cppuhelper/implbase_ex_post.hxx | 4
cppuhelper/inc/cppuhelper/interfacecontainer.h | 110 +++++-----
cppuhelper/inc/cppuhelper/interfacecontainer.hxx | 16 -
cppuhelper/inc/cppuhelper/propshlp.hxx | 66 +++---
cppuhelper/inc/cppuhelper/queryinterface.hxx | 24 +-
cppuhelper/inc/cppuhelper/stdidlclass.hxx | 22 +-
cppuhelper/inc/cppuhelper/typeprovider.hxx | 54 ++--
cppuhelper/inc/cppuhelper/weak.hxx | 18 -
cppuhelper/inc/cppuhelper/weakagg.hxx | 6
cppuhelper/inc/cppuhelper/weakref.hxx | 28 +-
cppuhelper/source/bootstrap.cxx | 6
cppuhelper/source/component.cxx | 2
cppuhelper/source/component_context.cxx | 8
cppuhelper/source/factory.cxx | 28 +-
cppuhelper/source/implbase.cxx | 28 +-
cppuhelper/source/implbase_ex.cxx | 8
cppuhelper/source/interfacecontainer.cxx | 62 ++---
cppuhelper/source/macro_expander.cxx | 10
cppuhelper/source/propshlp.cxx | 26 +-
cppuhelper/source/servicefactory.cxx | 8
cppuhelper/source/shlib.cxx | 6
cppuhelper/source/tdmgr.cxx | 4
cppuhelper/source/typeprovider.cxx | 30 +-
cppuhelper/source/weak.cxx | 34 +--
cppuhelper/test/cfg_test.cxx | 6
cpputools/source/regsingleton/regsingleton.cxx | 2
desktop/source/migration/services/basicmigration.cxx | 2
desktop/source/migration/services/oo3extensionmigration.cxx | 2
desktop/source/migration/services/wordbookmigration.cxx | 2
extensions/test/stm/datatest.cxx | 18 -
extensions/test/stm/marktest.cxx | 20 -
extensions/test/stm/pipetest.cxx | 10
extensions/test/stm/testfactreg.hxx | 34 +--
framework/inc/uielement/constitemcontainer.hxx | 2
framework/source/fwi/uielement/constitemcontainer.cxx | 8
framework/source/recording/dispatchrecorder.cxx | 2
lingucomponent/source/languageguessing/guesslang.cxx | 2
odk/examples/DevelopersGuide/Components/CppComponent/service1_impl.cxx | 4
odk/examples/DevelopersGuide/Components/CppComponent/service2_impl.cxx | 4
odk/examples/DevelopersGuide/Database/DriverSkeleton/OTypeInfo.hxx | 8
pyuno/source/module/pyuno.cxx | 2
pyuno/source/module/pyuno_impl.hxx | 2
sal/inc/rtl/bootstrap.hxx | 14 -
sal/inc/rtl/byteseq.h | 34 +--
sal/inc/rtl/byteseq.hxx | 16 -
sal/inc/rtl/ustring.hxx | 2
sal/inc/sal/types.h | 2
scripting/source/basprov/basprov.cxx | 2
scripting/source/dlgprov/dlgprov.cxx | 2
scripting/source/provider/BrowseNodeFactoryImpl.cxx | 4
scripting/source/provider/MasterScriptProvider.cxx | 8
scripting/source/provider/MasterScriptProviderFactory.cxx | 4
scripting/source/runtimemgr/ScriptNameResolverImpl.cxx | 4
scripting/source/runtimemgr/ScriptRuntimeManager.cxx | 20 -
scripting/source/stringresource/stringresource.cxx | 6
scripting/source/vbaevents/eventhelper.cxx | 4
scripting/source/vbaevents/service.cxx | 4
stoc/inc/bootstrapservices.hxx | 8
stoc/source/invocation_adapterfactory/iafactory.cxx | 20 -
stoc/source/registry_tdprovider/tdprovider.cxx | 4
stoc/source/security/access_controller.cxx | 62 ++---
stoc/source/security/file_policy.cxx | 22 +-
stoc/source/security/lru_cache.h | 36 +--
stoc/source/security/permissions.cxx | 54 ++--
stoc/source/security/permissions.h | 20 -
stoc/source/servicemanager/servicemanager.cxx | 6
stoc/source/typeconv/convert.cxx | 4
stoc/test/security/test_security.cxx | 8
ucb/source/ucp/ftp/ftpdirp.hxx | 2
ucb/source/ucp/tdoc/tdoc_storage.cxx | 2
unotools/inc/unotools/sharedunocomponent.hxx | 4
vbahelper/inc/vbahelper/weakreference.hxx | 8
xmlscript/inc/xmlscript/xml_helper.hxx | 14 -
xmlscript/source/inc/xml_import.hxx | 2
xmlscript/source/xml_helper/xml_byteseq.cxx | 8
xmlscript/source/xml_helper/xml_element.cxx | 6
xmlscript/source/xml_helper/xml_impctx.cxx | 4
xmlscript/source/xmldlg_imexp/exp_share.hxx | 10
xmlscript/source/xmldlg_imexp/imp_share.hxx | 84 +++----
xmlscript/source/xmldlg_imexp/xmldlg_export.cxx | 4
xmlscript/source/xmldlg_imexp/xmldlg_impmodels.cxx | 2
xmlscript/source/xmldlg_imexp/xmldlg_import.cxx | 12 -
xmlscript/source/xmlflat_imexp/xmlbas_export.cxx | 4
xmlscript/source/xmlflat_imexp/xmlbas_import.cxx | 4
xmlscript/source/xmllib_imexp/imp_share.hxx | 16 -
xmlscript/source/xmllib_imexp/xmllib_import.cxx | 6
xmlscript/source/xmlmod_imexp/imp_share.hxx | 8
xmlscript/source/xmlmod_imexp/xmlmod_import.cxx | 6
173 files changed, 1406 insertions(+), 1406 deletions(-)
New commits:
commit 0439af27e1f37b19d4409f34f974d6ade49f99bf
Author: Alexander Bergmann <myaddons at gmx.de>
Date: Thu Jan 26 16:00:09 2012 +0100
Code cleanup: ( () ) replaced by (())
diff --git a/bridges/inc/bridges/cpp_uno/bridge.hxx b/bridges/inc/bridges/cpp_uno/bridge.hxx
index 42bca5d..1412664 100644
--- a/bridges/inc/bridges/cpp_uno/bridge.hxx
+++ b/bridges/inc/bridges/cpp_uno/bridge.hxx
@@ -40,7 +40,7 @@ namespace CPPU_CURRENT_NAMESPACE
{
//--------------------------------------------------------------------------------------------------
-inline void SAL_CALL cppu_cppInterfaceProxy_free( uno_ExtEnvironment * pEnv, void * pProxy ) SAL_THROW( () )
+inline void SAL_CALL cppu_cppInterfaceProxy_free( uno_ExtEnvironment * pEnv, void * pProxy ) SAL_THROW(())
{
cppu_cppInterfaceProxy * pThis =
static_cast< cppu_cppInterfaceProxy * >(
@@ -60,7 +60,7 @@ inline void SAL_CALL cppu_cppInterfaceProxy_free( uno_ExtEnvironment * pEnv, voi
//--------------------------------------------------------------------------------------------------
inline void SAL_CALL cppu_Mapping_uno2cpp(
uno_Mapping * pMapping, void ** ppCppI,
- void * pUnoI, typelib_InterfaceTypeDescription * pTypeDescr ) SAL_THROW( () )
+ void * pUnoI, typelib_InterfaceTypeDescription * pTypeDescr ) SAL_THROW(())
{
OSL_ASSERT( ppCppI && pTypeDescr );
if (*ppCppI)
@@ -100,7 +100,7 @@ inline void SAL_CALL cppu_Mapping_uno2cpp(
}
}
//__________________________________________________________________________________________________
-inline void cppu_cppInterfaceProxy::acquireProxy() SAL_THROW( () )
+inline void cppu_cppInterfaceProxy::acquireProxy() SAL_THROW(())
{
if (1 == osl_incrementInterlockedCount( &nRef ))
{
@@ -114,7 +114,7 @@ inline void cppu_cppInterfaceProxy::acquireProxy() SAL_THROW( () )
}
}
//__________________________________________________________________________________________________
-inline void cppu_cppInterfaceProxy::releaseProxy() SAL_THROW( () )
+inline void cppu_cppInterfaceProxy::releaseProxy() SAL_THROW(())
{
if (! osl_decrementInterlockedCount( &nRef )) // last release
{
@@ -126,7 +126,7 @@ inline void cppu_cppInterfaceProxy::releaseProxy() SAL_THROW( () )
//__________________________________________________________________________________________________
inline cppu_cppInterfaceProxy::cppu_cppInterfaceProxy(
cppu_Bridge * pBridge_, uno_Interface * pUnoI_,
- typelib_InterfaceTypeDescription * pTypeDescr_, const ::rtl::OUString & rOId_ ) SAL_THROW( () )
+ typelib_InterfaceTypeDescription * pTypeDescr_, const ::rtl::OUString & rOId_ ) SAL_THROW(())
: nRef( 1 )
, pBridge( pBridge_ )
, pUnoI( pUnoI_ )
@@ -150,7 +150,7 @@ inline cppu_cppInterfaceProxy::cppu_cppInterfaceProxy(
//--------------------------------------------------------------------------------------------------
-inline void SAL_CALL cppu_unoInterfaceProxy_free( uno_ExtEnvironment * pEnv, void * pProxy ) SAL_THROW( () )
+inline void SAL_CALL cppu_unoInterfaceProxy_free( uno_ExtEnvironment * pEnv, void * pProxy ) SAL_THROW(())
{
cppu_unoInterfaceProxy * pThis =
static_cast< cppu_unoInterfaceProxy * >(
@@ -168,7 +168,7 @@ inline void SAL_CALL cppu_unoInterfaceProxy_free( uno_ExtEnvironment * pEnv, voi
delete pThis;
}
//--------------------------------------------------------------------------------------------------
-inline void SAL_CALL cppu_unoInterfaceProxy_acquire( uno_Interface * pUnoI ) SAL_THROW( () )
+inline void SAL_CALL cppu_unoInterfaceProxy_acquire( uno_Interface * pUnoI ) SAL_THROW(())
{
if (1 == osl_incrementInterlockedCount( & static_cast< cppu_unoInterfaceProxy * >( pUnoI )->nRef ))
{
@@ -189,7 +189,7 @@ inline void SAL_CALL cppu_unoInterfaceProxy_acquire( uno_Interface * pUnoI ) SAL
}
}
//--------------------------------------------------------------------------------------------------
-inline void SAL_CALL cppu_unoInterfaceProxy_release( uno_Interface * pUnoI ) SAL_THROW( () )
+inline void SAL_CALL cppu_unoInterfaceProxy_release( uno_Interface * pUnoI ) SAL_THROW(())
{
if (! osl_decrementInterlockedCount( & static_cast< cppu_unoInterfaceProxy * >( pUnoI )->nRef ))
{
@@ -201,7 +201,7 @@ inline void SAL_CALL cppu_unoInterfaceProxy_release( uno_Interface * pUnoI ) SAL
//--------------------------------------------------------------------------------------------------
inline void SAL_CALL cppu_Mapping_cpp2uno(
uno_Mapping * pMapping, void ** ppUnoI,
- void * pCppI, typelib_InterfaceTypeDescription * pTypeDescr ) SAL_THROW( () )
+ void * pCppI, typelib_InterfaceTypeDescription * pTypeDescr ) SAL_THROW(())
{
OSL_ENSURE( ppUnoI && pTypeDescr, "### null ptr!" );
if (*ppUnoI)
@@ -243,7 +243,7 @@ inline void SAL_CALL cppu_Mapping_cpp2uno(
//__________________________________________________________________________________________________
inline cppu_unoInterfaceProxy::cppu_unoInterfaceProxy(
cppu_Bridge * pBridge_, ::com::sun::star::uno::XInterface * pCppI_,
- typelib_InterfaceTypeDescription * pTypeDescr_, const ::rtl::OUString & rOId_ ) SAL_THROW( () )
+ typelib_InterfaceTypeDescription * pTypeDescr_, const ::rtl::OUString & rOId_ ) SAL_THROW(())
: nRef( 1 )
, pBridge( pBridge_ )
, pCppI( pCppI_ )
@@ -272,19 +272,19 @@ inline cppu_unoInterfaceProxy::cppu_unoInterfaceProxy(
//--------------------------------------------------------------------------------------------------
-inline void SAL_CALL cppu_Mapping_acquire( uno_Mapping * pMapping ) SAL_THROW( () )
+inline void SAL_CALL cppu_Mapping_acquire( uno_Mapping * pMapping ) SAL_THROW(())
{
static_cast< cppu_Mapping * >( pMapping )->pBridge->acquire();
}
//--------------------------------------------------------------------------------------------------
-inline void SAL_CALL cppu_Mapping_release( uno_Mapping * pMapping ) SAL_THROW( () )
+inline void SAL_CALL cppu_Mapping_release( uno_Mapping * pMapping ) SAL_THROW(())
{
static_cast< cppu_Mapping * >( pMapping )->pBridge->release();
}
//__________________________________________________________________________________________________
inline cppu_Bridge::cppu_Bridge(
uno_ExtEnvironment * pCppEnv_, uno_ExtEnvironment * pUnoEnv_,
- sal_Bool bExportCpp2Uno_ ) SAL_THROW( () )
+ sal_Bool bExportCpp2Uno_ ) SAL_THROW(())
: nRef( 1 )
, pCppEnv( pCppEnv_ )
, pUnoEnv( pUnoEnv_ )
@@ -306,19 +306,19 @@ inline cppu_Bridge::cppu_Bridge(
(*((uno_Environment *)pUnoEnv)->acquire)( (uno_Environment *)pUnoEnv );
}
//__________________________________________________________________________________________________
-inline cppu_Bridge::~cppu_Bridge() SAL_THROW( () )
+inline cppu_Bridge::~cppu_Bridge() SAL_THROW(())
{
(*((uno_Environment *)pUnoEnv)->release)( (uno_Environment *)pUnoEnv );
(*((uno_Environment *)pCppEnv)->release)( (uno_Environment *)pCppEnv );
g_moduleCount.modCnt.release( &g_moduleCount.modCnt );
}
//__________________________________________________________________________________________________
-inline void SAL_CALL cppu_Bridge_free( uno_Mapping * pMapping ) SAL_THROW( () )
+inline void SAL_CALL cppu_Bridge_free( uno_Mapping * pMapping ) SAL_THROW(())
{
delete static_cast< cppu_Mapping * >( pMapping )->pBridge;
}
//__________________________________________________________________________________________________
-inline void cppu_Bridge::acquire() SAL_THROW( () )
+inline void cppu_Bridge::acquire() SAL_THROW(())
{
if (1 == osl_incrementInterlockedCount( &nRef ))
{
@@ -339,7 +339,7 @@ inline void cppu_Bridge::acquire() SAL_THROW( () )
}
}
//__________________________________________________________________________________________________
-inline void cppu_Bridge::release() SAL_THROW( () )
+inline void cppu_Bridge::release() SAL_THROW(())
{
if (! osl_decrementInterlockedCount( &nRef ))
{
@@ -349,7 +349,7 @@ inline void cppu_Bridge::release() SAL_THROW( () )
//##################################################################################################
inline void SAL_CALL cppu_ext_getMapping(
- uno_Mapping ** ppMapping, uno_Environment * pFrom, uno_Environment * pTo ) SAL_THROW( () )
+ uno_Mapping ** ppMapping, uno_Environment * pFrom, uno_Environment * pTo ) SAL_THROW(())
{
OSL_ASSERT( ppMapping && pFrom && pTo );
if (ppMapping && pFrom && pTo && pFrom->pExtEnv && pTo->pExtEnv)
@@ -397,7 +397,7 @@ static ::rtl::OUString * s_pStaticOidPart = 0;
// environment init stuff
//--------------------------------------------------------------------------------------------------
-inline const ::rtl::OUString & SAL_CALL cppu_cppenv_getStaticOIdPart() SAL_THROW( () )
+inline const ::rtl::OUString & SAL_CALL cppu_cppenv_getStaticOIdPart() SAL_THROW(())
{
#if ! (defined(__SUNPRO_CC) && (__SUNPRO_CC == 0x500))
static ::rtl::OUString * s_pStaticOidPart = 0;
@@ -429,7 +429,7 @@ inline const ::rtl::OUString & SAL_CALL cppu_cppenv_getStaticOIdPart() SAL_THROW
// functions set at environment init
//--------------------------------------------------------------------------------------------------
inline void SAL_CALL cppu_cppenv_computeObjectIdentifier(
- uno_ExtEnvironment * pEnv, rtl_uString ** ppOId, void * pInterface ) SAL_THROW( () )
+ uno_ExtEnvironment * pEnv, rtl_uString ** ppOId, void * pInterface ) SAL_THROW(())
{
OSL_ENSURE( pEnv && ppOId && pInterface, "### null ptr!" );
if (pEnv && ppOId && pInterface)
@@ -471,22 +471,22 @@ inline void SAL_CALL cppu_cppenv_computeObjectIdentifier(
}
}
//--------------------------------------------------------------------------------------------------
-inline void SAL_CALL cppu_cppenv_acquireInterface( uno_ExtEnvironment *, void * pCppI ) SAL_THROW( () )
+inline void SAL_CALL cppu_cppenv_acquireInterface( uno_ExtEnvironment *, void * pCppI ) SAL_THROW(())
{
reinterpret_cast< ::com::sun::star::uno::XInterface * >( pCppI )->acquire();
}
//--------------------------------------------------------------------------------------------------
-inline void SAL_CALL cppu_cppenv_releaseInterface( uno_ExtEnvironment *, void * pCppI ) SAL_THROW( () )
+inline void SAL_CALL cppu_cppenv_releaseInterface( uno_ExtEnvironment *, void * pCppI ) SAL_THROW(())
{
reinterpret_cast< ::com::sun::star::uno::XInterface * >( pCppI )->release();
}
//--------------------------------------------------------------------------------------------------
-inline void SAL_CALL cppu_cppenv_environmentDisposing( uno_Environment * ) SAL_THROW( () )
+inline void SAL_CALL cppu_cppenv_environmentDisposing( uno_Environment * ) SAL_THROW(())
{
g_moduleCount.modCnt.release( &g_moduleCount.modCnt );
}
//--------------------------------------------------------------------------------------------------
-inline void SAL_CALL cppu_cppenv_initEnvironment( uno_Environment * pCppEnv ) SAL_THROW( () )
+inline void SAL_CALL cppu_cppenv_initEnvironment( uno_Environment * pCppEnv ) SAL_THROW(())
{
OSL_ENSURE( pCppEnv->pExtEnv, "### expected extended environment!" );
OSL_ENSURE( ::rtl_ustr_ascii_compare( pCppEnv->pTypeName->buffer, CPPU_CURRENT_LANGUAGE_BINDING_NAME ) == 0, "### wrong environment type!" );
diff --git a/bridges/inc/bridges/cpp_uno/type_misc.hxx b/bridges/inc/bridges/cpp_uno/type_misc.hxx
index 5fbd0da..f721fb1 100644
--- a/bridges/inc/bridges/cpp_uno/type_misc.hxx
+++ b/bridges/inc/bridges/cpp_uno/type_misc.hxx
@@ -37,7 +37,7 @@
@param pTypeDescr type description of type
@return true if type might relate to an interface, false otherwise
*/
-inline bool cppu_relatesToInterface( typelib_TypeDescription * pTypeDescr ) SAL_THROW( () )
+inline bool cppu_relatesToInterface( typelib_TypeDescription * pTypeDescr ) SAL_THROW(())
{
switch (pTypeDescr->eTypeClass)
{
@@ -111,7 +111,7 @@ inline bool cppu_relatesToInterface( typelib_TypeDescription * pTypeDescr ) SAL_
@param eTypeClass type class of type
@return true if type is a cpp simple type, false otherwise
*/
-inline bool cppu_isSimpleType( typelib_TypeClass eTypeClass ) SAL_THROW( () )
+inline bool cppu_isSimpleType( typelib_TypeClass eTypeClass ) SAL_THROW(())
{
return (eTypeClass <= typelib_TypeClass_ENUM &&
eTypeClass != typelib_TypeClass_STRING &&
@@ -122,7 +122,7 @@ inline bool cppu_isSimpleType( typelib_TypeClass eTypeClass ) SAL_THROW( () )
@param pTypeDescr type description of type
@return true if type is a cpp simple type, false otherwise
*/
-inline bool cppu_isSimpleType( typelib_TypeDescription * pTypeDescr ) SAL_THROW( () )
+inline bool cppu_isSimpleType( typelib_TypeDescription * pTypeDescr ) SAL_THROW(())
{
return cppu_isSimpleType( pTypeDescr->eTypeClass );
}
diff --git a/bridges/source/cpp_uno/gcc3_aix_powerpc/except.cxx b/bridges/source/cpp_uno/gcc3_aix_powerpc/except.cxx
index 9cf236c..fe0a556 100644
--- a/bridges/source/cpp_uno/gcc3_aix_powerpc/except.cxx
+++ b/bridges/source/cpp_uno/gcc3_aix_powerpc/except.cxx
@@ -61,7 +61,7 @@ void dummy_can_throw_anything( char const * )
}
//==================================================================================================
-static OUString toUNOname( char const * p ) SAL_THROW( () )
+static OUString toUNOname( char const * p ) SAL_THROW(())
{
#ifdef DEBUG
char const * start = p;
@@ -110,24 +110,24 @@ class RTTI
void * m_hApp;
public:
- RTTI() SAL_THROW( () );
- ~RTTI() SAL_THROW( () );
+ RTTI() SAL_THROW(());
+ ~RTTI() SAL_THROW(());
- type_info * getRTTI( typelib_CompoundTypeDescription * ) SAL_THROW( () );
+ type_info * getRTTI( typelib_CompoundTypeDescription * ) SAL_THROW(());
};
//__________________________________________________________________________________________________
-RTTI::RTTI() SAL_THROW( () )
+RTTI::RTTI() SAL_THROW(())
: m_hApp( dlopen( 0, RTLD_LAZY ) )
{
}
//__________________________________________________________________________________________________
-RTTI::~RTTI() SAL_THROW( () )
+RTTI::~RTTI() SAL_THROW(())
{
dlclose( m_hApp );
}
//__________________________________________________________________________________________________
-type_info * RTTI::getRTTI( typelib_CompoundTypeDescription *pTypeDescr ) SAL_THROW( () )
+type_info * RTTI::getRTTI( typelib_CompoundTypeDescription *pTypeDescr ) SAL_THROW(())
{
type_info * rtti;
diff --git a/bridges/source/cpp_uno/gcc3_ios_arm/except.cxx b/bridges/source/cpp_uno/gcc3_ios_arm/except.cxx
index df5b324..f28d9e2 100644
--- a/bridges/source/cpp_uno/gcc3_ios_arm/except.cxx
+++ b/bridges/source/cpp_uno/gcc3_ios_arm/except.cxx
@@ -61,7 +61,7 @@ void dummy_can_throw_anything( char const * )
}
//==================================================================================================
-static OUString toUNOname( char const * p ) SAL_THROW( () )
+static OUString toUNOname( char const * p ) SAL_THROW(())
{
#if OSL_DEBUG_LEVEL > 1
char const * start = p;
@@ -110,24 +110,24 @@ class RTTI
void * m_hApp;
public:
- RTTI() SAL_THROW( () );
- ~RTTI() SAL_THROW( () );
+ RTTI() SAL_THROW(());
+ ~RTTI() SAL_THROW(());
- type_info * getRTTI( typelib_CompoundTypeDescription * ) SAL_THROW( () );
+ type_info * getRTTI( typelib_CompoundTypeDescription * ) SAL_THROW(());
};
//__________________________________________________________________________________________________
-RTTI::RTTI() SAL_THROW( () )
+RTTI::RTTI() SAL_THROW(())
: m_hApp( dlopen( 0, RTLD_LAZY ) )
{
}
//__________________________________________________________________________________________________
-RTTI::~RTTI() SAL_THROW( () )
+RTTI::~RTTI() SAL_THROW(())
{
dlclose( m_hApp );
}
//__________________________________________________________________________________________________
-type_info * RTTI::getRTTI( typelib_CompoundTypeDescription *pTypeDescr ) SAL_THROW( () )
+type_info * RTTI::getRTTI( typelib_CompoundTypeDescription *pTypeDescr ) SAL_THROW(())
{
type_info * rtti;
diff --git a/bridges/source/cpp_uno/gcc3_linux_alpha/except.cxx b/bridges/source/cpp_uno/gcc3_linux_alpha/except.cxx
index 13bc93c..09cdb45 100644
--- a/bridges/source/cpp_uno/gcc3_linux_alpha/except.cxx
+++ b/bridges/source/cpp_uno/gcc3_linux_alpha/except.cxx
@@ -61,7 +61,7 @@ void dummy_can_throw_anything( char const * )
}
//==================================================================================================
-static OUString toUNOname( char const * p ) SAL_THROW( () )
+static OUString toUNOname( char const * p ) SAL_THROW(())
{
#if OSL_DEBUG_LEVEL > 1
char const * start = p;
@@ -110,24 +110,24 @@ class RTTI
void * m_hApp;
public:
- RTTI() SAL_THROW( () );
- ~RTTI() SAL_THROW( () );
+ RTTI() SAL_THROW(());
+ ~RTTI() SAL_THROW(());
- type_info * getRTTI( typelib_CompoundTypeDescription * ) SAL_THROW( () );
+ type_info * getRTTI( typelib_CompoundTypeDescription * ) SAL_THROW(());
};
//__________________________________________________________________________________________________
-RTTI::RTTI() SAL_THROW( () )
+RTTI::RTTI() SAL_THROW(())
: m_hApp( dlopen( 0, RTLD_LAZY ) )
{
}
//__________________________________________________________________________________________________
-RTTI::~RTTI() SAL_THROW( () )
+RTTI::~RTTI() SAL_THROW(())
{
dlclose( m_hApp );
}
//__________________________________________________________________________________________________
-type_info * RTTI::getRTTI( typelib_CompoundTypeDescription *pTypeDescr ) SAL_THROW( () )
+type_info * RTTI::getRTTI( typelib_CompoundTypeDescription *pTypeDescr ) SAL_THROW(())
{
type_info * rtti;
diff --git a/bridges/source/cpp_uno/gcc3_linux_arm/except.cxx b/bridges/source/cpp_uno/gcc3_linux_arm/except.cxx
index cbf3353..6773228 100644
--- a/bridges/source/cpp_uno/gcc3_linux_arm/except.cxx
+++ b/bridges/source/cpp_uno/gcc3_linux_arm/except.cxx
@@ -62,7 +62,7 @@ namespace CPPU_CURRENT_NAMESPACE
}
//===================================================================
- static OUString toUNOname( char const * p ) SAL_THROW( () )
+ static OUString toUNOname( char const * p ) SAL_THROW(())
{
#if OSL_DEBUG_LEVEL > 1
char const * start = p;
@@ -113,20 +113,20 @@ namespace CPPU_CURRENT_NAMESPACE
#endif
public:
- RTTI() SAL_THROW( () );
- ~RTTI() SAL_THROW( () );
+ RTTI() SAL_THROW(());
+ ~RTTI() SAL_THROW(());
- type_info * getRTTI(typelib_CompoundTypeDescription *) SAL_THROW( () );
+ type_info * getRTTI(typelib_CompoundTypeDescription *) SAL_THROW(());
};
//____________________________________________________________________
- RTTI::RTTI() SAL_THROW( () )
+ RTTI::RTTI() SAL_THROW(())
#ifndef ANDROID
: m_hApp( dlopen( 0, RTLD_LAZY ) )
#endif
{
}
//____________________________________________________________________
- RTTI::~RTTI() SAL_THROW( () )
+ RTTI::~RTTI() SAL_THROW(())
{
#ifndef ANDROID
dlclose( m_hApp );
@@ -134,7 +134,7 @@ namespace CPPU_CURRENT_NAMESPACE
}
//____________________________________________________________________
- type_info * RTTI::getRTTI( typelib_CompoundTypeDescription *pTypeDescr ) SAL_THROW( () )
+ type_info * RTTI::getRTTI( typelib_CompoundTypeDescription *pTypeDescr ) SAL_THROW(())
{
type_info * rtti;
diff --git a/bridges/source/cpp_uno/gcc3_linux_hppa/except.cxx b/bridges/source/cpp_uno/gcc3_linux_hppa/except.cxx
index 84c642e..b743471 100644
--- a/bridges/source/cpp_uno/gcc3_linux_hppa/except.cxx
+++ b/bridges/source/cpp_uno/gcc3_linux_hppa/except.cxx
@@ -62,7 +62,7 @@ namespace CPPU_CURRENT_NAMESPACE
}
//===================================================================
- static OUString toUNOname( char const * p ) SAL_THROW( () )
+ static OUString toUNOname( char const * p ) SAL_THROW(())
{
#if OSL_DEBUG_LEVEL > 1
char const * start = p;
@@ -111,24 +111,24 @@ namespace CPPU_CURRENT_NAMESPACE
void * m_hApp;
public:
- RTTI() SAL_THROW( () );
- ~RTTI() SAL_THROW( () );
+ RTTI() SAL_THROW(());
+ ~RTTI() SAL_THROW(());
- type_info * getRTTI(typelib_CompoundTypeDescription *) SAL_THROW( () );
+ type_info * getRTTI(typelib_CompoundTypeDescription *) SAL_THROW(());
};
//____________________________________________________________________
- RTTI::RTTI() SAL_THROW( () )
+ RTTI::RTTI() SAL_THROW(())
: m_hApp( dlopen( 0, RTLD_LAZY ) )
{
}
//____________________________________________________________________
- RTTI::~RTTI() SAL_THROW( () )
+ RTTI::~RTTI() SAL_THROW(())
{
dlclose( m_hApp );
}
//____________________________________________________________________
- type_info * RTTI::getRTTI( typelib_CompoundTypeDescription *pTypeDescr ) SAL_THROW( () )
+ type_info * RTTI::getRTTI( typelib_CompoundTypeDescription *pTypeDescr ) SAL_THROW(())
{
type_info * rtti;
diff --git a/bridges/source/cpp_uno/gcc3_linux_ia64/except.cxx b/bridges/source/cpp_uno/gcc3_linux_ia64/except.cxx
index b7c2356..73ea00a 100644
--- a/bridges/source/cpp_uno/gcc3_linux_ia64/except.cxx
+++ b/bridges/source/cpp_uno/gcc3_linux_ia64/except.cxx
@@ -61,7 +61,7 @@ void dummy_can_throw_anything( char const * )
}
//==================================================================================================
-static OUString toUNOname( char const * p ) SAL_THROW( () )
+static OUString toUNOname( char const * p ) SAL_THROW(())
{
#if OSL_DEBUG_LEVEL > 1
char const * start = p;
@@ -110,24 +110,24 @@ class RTTI
void * m_hApp;
public:
- RTTI() SAL_THROW( () );
- ~RTTI() SAL_THROW( () );
+ RTTI() SAL_THROW(());
+ ~RTTI() SAL_THROW(());
- type_info * getRTTI( typelib_CompoundTypeDescription * ) SAL_THROW( () );
+ type_info * getRTTI( typelib_CompoundTypeDescription * ) SAL_THROW(());
};
//__________________________________________________________________________________________________
-RTTI::RTTI() SAL_THROW( () )
+RTTI::RTTI() SAL_THROW(())
: m_hApp( dlopen( 0, RTLD_LAZY ) )
{
}
//__________________________________________________________________________________________________
-RTTI::~RTTI() SAL_THROW( () )
+RTTI::~RTTI() SAL_THROW(())
{
dlclose( m_hApp );
}
//__________________________________________________________________________________________________
-type_info * RTTI::getRTTI( typelib_CompoundTypeDescription *pTypeDescr ) SAL_THROW( () )
+type_info * RTTI::getRTTI( typelib_CompoundTypeDescription *pTypeDescr ) SAL_THROW(())
{
type_info * rtti;
diff --git a/bridges/source/cpp_uno/gcc3_linux_intel/except.cxx b/bridges/source/cpp_uno/gcc3_linux_intel/except.cxx
index 26755f3..c21df26 100644
--- a/bridges/source/cpp_uno/gcc3_linux_intel/except.cxx
+++ b/bridges/source/cpp_uno/gcc3_linux_intel/except.cxx
@@ -62,7 +62,7 @@ void dummy_can_throw_anything( char const * )
}
//==================================================================================================
-static OUString toUNOname( char const * p ) SAL_THROW( () )
+static OUString toUNOname( char const * p ) SAL_THROW(())
{
#if OSL_DEBUG_LEVEL > 1
char const * start = p;
@@ -111,13 +111,13 @@ class RTTI
void * m_hApp;
public:
- RTTI() SAL_THROW( () );
- ~RTTI() SAL_THROW( () );
+ RTTI() SAL_THROW(());
+ ~RTTI() SAL_THROW(());
- type_info * getRTTI( typelib_CompoundTypeDescription * ) SAL_THROW( () );
+ type_info * getRTTI( typelib_CompoundTypeDescription * ) SAL_THROW(());
};
//__________________________________________________________________________________________________
-RTTI::RTTI() SAL_THROW( () )
+RTTI::RTTI() SAL_THROW(())
#if defined(FREEBSD) && __FreeBSD_version < 702104
: m_hApp( dlopen( 0, RTLD_NOW | RTLD_GLOBAL ) )
#else
@@ -126,13 +126,13 @@ RTTI::RTTI() SAL_THROW( () )
{
}
//__________________________________________________________________________________________________
-RTTI::~RTTI() SAL_THROW( () )
+RTTI::~RTTI() SAL_THROW(())
{
dlclose( m_hApp );
}
//__________________________________________________________________________________________________
-type_info * RTTI::getRTTI( typelib_CompoundTypeDescription *pTypeDescr ) SAL_THROW( () )
+type_info * RTTI::getRTTI( typelib_CompoundTypeDescription *pTypeDescr ) SAL_THROW(())
{
type_info * rtti;
diff --git a/bridges/source/cpp_uno/gcc3_linux_m68k/except.cxx b/bridges/source/cpp_uno/gcc3_linux_m68k/except.cxx
index 84c642e..b743471 100644
--- a/bridges/source/cpp_uno/gcc3_linux_m68k/except.cxx
+++ b/bridges/source/cpp_uno/gcc3_linux_m68k/except.cxx
@@ -62,7 +62,7 @@ namespace CPPU_CURRENT_NAMESPACE
}
//===================================================================
- static OUString toUNOname( char const * p ) SAL_THROW( () )
+ static OUString toUNOname( char const * p ) SAL_THROW(())
{
#if OSL_DEBUG_LEVEL > 1
char const * start = p;
@@ -111,24 +111,24 @@ namespace CPPU_CURRENT_NAMESPACE
void * m_hApp;
public:
- RTTI() SAL_THROW( () );
- ~RTTI() SAL_THROW( () );
+ RTTI() SAL_THROW(());
+ ~RTTI() SAL_THROW(());
- type_info * getRTTI(typelib_CompoundTypeDescription *) SAL_THROW( () );
+ type_info * getRTTI(typelib_CompoundTypeDescription *) SAL_THROW(());
};
//____________________________________________________________________
- RTTI::RTTI() SAL_THROW( () )
+ RTTI::RTTI() SAL_THROW(())
: m_hApp( dlopen( 0, RTLD_LAZY ) )
{
}
//____________________________________________________________________
- RTTI::~RTTI() SAL_THROW( () )
+ RTTI::~RTTI() SAL_THROW(())
{
dlclose( m_hApp );
}
//____________________________________________________________________
- type_info * RTTI::getRTTI( typelib_CompoundTypeDescription *pTypeDescr ) SAL_THROW( () )
+ type_info * RTTI::getRTTI( typelib_CompoundTypeDescription *pTypeDescr ) SAL_THROW(())
{
type_info * rtti;
diff --git a/bridges/source/cpp_uno/gcc3_linux_mips/except.cxx b/bridges/source/cpp_uno/gcc3_linux_mips/except.cxx
index 804433d..c94d32d 100644
--- a/bridges/source/cpp_uno/gcc3_linux_mips/except.cxx
+++ b/bridges/source/cpp_uno/gcc3_linux_mips/except.cxx
@@ -59,7 +59,7 @@ void dummy_can_throw_anything( char const * )
}
//==================================================================================================
-static OUString toUNOname( char const * p ) SAL_THROW( () )
+static OUString toUNOname( char const * p ) SAL_THROW(())
{
#if defined BRIDGES_DEBUG
char const * start = p;
@@ -108,24 +108,24 @@ class RTTI
void * m_hApp;
public:
- RTTI() SAL_THROW( () );
- ~RTTI() SAL_THROW( () );
+ RTTI() SAL_THROW(());
+ ~RTTI() SAL_THROW(());
- type_info * getRTTI( typelib_CompoundTypeDescription * ) SAL_THROW( () );
+ type_info * getRTTI( typelib_CompoundTypeDescription * ) SAL_THROW(());
};
//__________________________________________________________________________________________________
-RTTI::RTTI() SAL_THROW( () )
+RTTI::RTTI() SAL_THROW(())
: m_hApp( dlopen( 0, RTLD_LAZY ) )
{
}
//__________________________________________________________________________________________________
-RTTI::~RTTI() SAL_THROW( () )
+RTTI::~RTTI() SAL_THROW(())
{
dlclose( m_hApp );
}
//__________________________________________________________________________________________________
-type_info * RTTI::getRTTI( typelib_CompoundTypeDescription *pTypeDescr ) SAL_THROW( () )
+type_info * RTTI::getRTTI( typelib_CompoundTypeDescription *pTypeDescr ) SAL_THROW(())
{
type_info * rtti;
diff --git a/bridges/source/cpp_uno/gcc3_linux_powerpc/except.cxx b/bridges/source/cpp_uno/gcc3_linux_powerpc/except.cxx
index b7c2356..73ea00a 100644
--- a/bridges/source/cpp_uno/gcc3_linux_powerpc/except.cxx
+++ b/bridges/source/cpp_uno/gcc3_linux_powerpc/except.cxx
@@ -61,7 +61,7 @@ void dummy_can_throw_anything( char const * )
}
//==================================================================================================
-static OUString toUNOname( char const * p ) SAL_THROW( () )
+static OUString toUNOname( char const * p ) SAL_THROW(())
{
#if OSL_DEBUG_LEVEL > 1
char const * start = p;
@@ -110,24 +110,24 @@ class RTTI
void * m_hApp;
public:
- RTTI() SAL_THROW( () );
- ~RTTI() SAL_THROW( () );
+ RTTI() SAL_THROW(());
+ ~RTTI() SAL_THROW(());
- type_info * getRTTI( typelib_CompoundTypeDescription * ) SAL_THROW( () );
+ type_info * getRTTI( typelib_CompoundTypeDescription * ) SAL_THROW(());
};
//__________________________________________________________________________________________________
-RTTI::RTTI() SAL_THROW( () )
+RTTI::RTTI() SAL_THROW(())
: m_hApp( dlopen( 0, RTLD_LAZY ) )
{
}
//__________________________________________________________________________________________________
-RTTI::~RTTI() SAL_THROW( () )
+RTTI::~RTTI() SAL_THROW(())
{
dlclose( m_hApp );
}
//__________________________________________________________________________________________________
-type_info * RTTI::getRTTI( typelib_CompoundTypeDescription *pTypeDescr ) SAL_THROW( () )
+type_info * RTTI::getRTTI( typelib_CompoundTypeDescription *pTypeDescr ) SAL_THROW(())
{
type_info * rtti;
diff --git a/bridges/source/cpp_uno/gcc3_linux_powerpc64/except.cxx b/bridges/source/cpp_uno/gcc3_linux_powerpc64/except.cxx
index b7c2356..73ea00a 100644
--- a/bridges/source/cpp_uno/gcc3_linux_powerpc64/except.cxx
+++ b/bridges/source/cpp_uno/gcc3_linux_powerpc64/except.cxx
@@ -61,7 +61,7 @@ void dummy_can_throw_anything( char const * )
}
//==================================================================================================
-static OUString toUNOname( char const * p ) SAL_THROW( () )
+static OUString toUNOname( char const * p ) SAL_THROW(())
{
#if OSL_DEBUG_LEVEL > 1
char const * start = p;
@@ -110,24 +110,24 @@ class RTTI
void * m_hApp;
public:
- RTTI() SAL_THROW( () );
- ~RTTI() SAL_THROW( () );
+ RTTI() SAL_THROW(());
+ ~RTTI() SAL_THROW(());
- type_info * getRTTI( typelib_CompoundTypeDescription * ) SAL_THROW( () );
+ type_info * getRTTI( typelib_CompoundTypeDescription * ) SAL_THROW(());
};
//__________________________________________________________________________________________________
-RTTI::RTTI() SAL_THROW( () )
+RTTI::RTTI() SAL_THROW(())
: m_hApp( dlopen( 0, RTLD_LAZY ) )
{
}
//__________________________________________________________________________________________________
-RTTI::~RTTI() SAL_THROW( () )
+RTTI::~RTTI() SAL_THROW(())
{
dlclose( m_hApp );
}
//__________________________________________________________________________________________________
-type_info * RTTI::getRTTI( typelib_CompoundTypeDescription *pTypeDescr ) SAL_THROW( () )
+type_info * RTTI::getRTTI( typelib_CompoundTypeDescription *pTypeDescr ) SAL_THROW(())
{
type_info * rtti;
diff --git a/bridges/source/cpp_uno/gcc3_linux_s390/except.cxx b/bridges/source/cpp_uno/gcc3_linux_s390/except.cxx
index b7c2356..73ea00a 100644
--- a/bridges/source/cpp_uno/gcc3_linux_s390/except.cxx
+++ b/bridges/source/cpp_uno/gcc3_linux_s390/except.cxx
@@ -61,7 +61,7 @@ void dummy_can_throw_anything( char const * )
}
//==================================================================================================
-static OUString toUNOname( char const * p ) SAL_THROW( () )
+static OUString toUNOname( char const * p ) SAL_THROW(())
{
#if OSL_DEBUG_LEVEL > 1
char const * start = p;
@@ -110,24 +110,24 @@ class RTTI
void * m_hApp;
public:
- RTTI() SAL_THROW( () );
- ~RTTI() SAL_THROW( () );
+ RTTI() SAL_THROW(());
+ ~RTTI() SAL_THROW(());
- type_info * getRTTI( typelib_CompoundTypeDescription * ) SAL_THROW( () );
+ type_info * getRTTI( typelib_CompoundTypeDescription * ) SAL_THROW(());
};
//__________________________________________________________________________________________________
-RTTI::RTTI() SAL_THROW( () )
+RTTI::RTTI() SAL_THROW(())
: m_hApp( dlopen( 0, RTLD_LAZY ) )
{
}
//__________________________________________________________________________________________________
-RTTI::~RTTI() SAL_THROW( () )
+RTTI::~RTTI() SAL_THROW(())
{
dlclose( m_hApp );
}
//__________________________________________________________________________________________________
-type_info * RTTI::getRTTI( typelib_CompoundTypeDescription *pTypeDescr ) SAL_THROW( () )
+type_info * RTTI::getRTTI( typelib_CompoundTypeDescription *pTypeDescr ) SAL_THROW(())
{
type_info * rtti;
diff --git a/bridges/source/cpp_uno/gcc3_linux_s390x/except.cxx b/bridges/source/cpp_uno/gcc3_linux_s390x/except.cxx
index 13bc93c..09cdb45 100644
--- a/bridges/source/cpp_uno/gcc3_linux_s390x/except.cxx
+++ b/bridges/source/cpp_uno/gcc3_linux_s390x/except.cxx
@@ -61,7 +61,7 @@ void dummy_can_throw_anything( char const * )
}
//==================================================================================================
-static OUString toUNOname( char const * p ) SAL_THROW( () )
+static OUString toUNOname( char const * p ) SAL_THROW(())
{
#if OSL_DEBUG_LEVEL > 1
char const * start = p;
@@ -110,24 +110,24 @@ class RTTI
void * m_hApp;
public:
- RTTI() SAL_THROW( () );
- ~RTTI() SAL_THROW( () );
+ RTTI() SAL_THROW(());
+ ~RTTI() SAL_THROW(());
- type_info * getRTTI( typelib_CompoundTypeDescription * ) SAL_THROW( () );
+ type_info * getRTTI( typelib_CompoundTypeDescription * ) SAL_THROW(());
};
//__________________________________________________________________________________________________
-RTTI::RTTI() SAL_THROW( () )
+RTTI::RTTI() SAL_THROW(())
: m_hApp( dlopen( 0, RTLD_LAZY ) )
{
}
//__________________________________________________________________________________________________
-RTTI::~RTTI() SAL_THROW( () )
+RTTI::~RTTI() SAL_THROW(())
{
dlclose( m_hApp );
}
//__________________________________________________________________________________________________
-type_info * RTTI::getRTTI( typelib_CompoundTypeDescription *pTypeDescr ) SAL_THROW( () )
+type_info * RTTI::getRTTI( typelib_CompoundTypeDescription *pTypeDescr ) SAL_THROW(())
{
type_info * rtti;
diff --git a/bridges/source/cpp_uno/gcc3_linux_sparc/except.cxx b/bridges/source/cpp_uno/gcc3_linux_sparc/except.cxx
index 15b0ff8..d8fc0a4 100644
--- a/bridges/source/cpp_uno/gcc3_linux_sparc/except.cxx
+++ b/bridges/source/cpp_uno/gcc3_linux_sparc/except.cxx
@@ -60,7 +60,7 @@ void dummy_can_throw_anything( char const * )
}
//==================================================================================================
-static OUString toUNOname( char const * p ) SAL_THROW( () )
+static OUString toUNOname( char const * p ) SAL_THROW(())
{
#if defined BRIDGES_DEBUG
char const * start = p;
@@ -109,24 +109,24 @@ class RTTI
void * m_hApp;
public:
- RTTI() SAL_THROW( () );
- ~RTTI() SAL_THROW( () );
+ RTTI() SAL_THROW(());
+ ~RTTI() SAL_THROW(());
- type_info * getRTTI( typelib_CompoundTypeDescription * ) SAL_THROW( () );
+ type_info * getRTTI( typelib_CompoundTypeDescription * ) SAL_THROW(());
};
//__________________________________________________________________________________________________
-RTTI::RTTI() SAL_THROW( () )
+RTTI::RTTI() SAL_THROW(())
: m_hApp( dlopen( 0, RTLD_LAZY ) )
{
}
//__________________________________________________________________________________________________
-RTTI::~RTTI() SAL_THROW( () )
+RTTI::~RTTI() SAL_THROW(())
{
dlclose( m_hApp );
}
//__________________________________________________________________________________________________
-type_info * RTTI::getRTTI( typelib_CompoundTypeDescription *pTypeDescr ) SAL_THROW( () )
+type_info * RTTI::getRTTI( typelib_CompoundTypeDescription *pTypeDescr ) SAL_THROW(())
{
type_info * rtti;
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 0b92ab6..91cf804 100644
--- a/bridges/source/cpp_uno/gcc3_linux_x86-64/cpp2uno.cxx
+++ b/bridges/source/cpp_uno/gcc3_linux_x86-64/cpp2uno.cxx
@@ -414,7 +414,7 @@ const int codeSnippetSize = 24;
// unwinding info.
unsigned char * codeSnippet( unsigned char * code,
sal_Int32 nFunctionIndex, sal_Int32 nVtableOffset,
- bool bHasHiddenParam ) SAL_THROW( () )
+ bool bHasHiddenParam ) SAL_THROW(())
{
sal_uInt64 nOffsetAndIndex = ( ( (sal_uInt64) nVtableOffset ) << 32 ) | ( (sal_uInt64) nFunctionIndex );
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 341a128..fca8cb9 100644
--- a/bridges/source/cpp_uno/gcc3_linux_x86-64/except.cxx
+++ b/bridges/source/cpp_uno/gcc3_linux_x86-64/except.cxx
@@ -62,7 +62,7 @@ void dummy_can_throw_anything( SAL_UNUSED_PARAMETER char const * )
}
//==================================================================================================
-static OUString toUNOname( char const * p ) SAL_THROW( () )
+static OUString toUNOname( char const * p ) SAL_THROW(())
{
#if OSL_DEBUG_LEVEL > 1
char const * start = p;
@@ -111,13 +111,13 @@ class RTTI
void * m_hApp;
public:
- RTTI() SAL_THROW( () );
- ~RTTI() SAL_THROW( () );
+ RTTI() SAL_THROW(());
+ ~RTTI() SAL_THROW(());
- type_info * getRTTI( typelib_CompoundTypeDescription * ) SAL_THROW( () );
+ type_info * getRTTI( typelib_CompoundTypeDescription * ) SAL_THROW(());
};
//__________________________________________________________________________________________________
-RTTI::RTTI() SAL_THROW( () )
+RTTI::RTTI() SAL_THROW(())
#if defined(FREEBSD) && __FreeBSD_version < 702104
: m_hApp( dlopen( 0, RTLD_NOW | RTLD_GLOBAL ) )
#else
@@ -126,13 +126,13 @@ RTTI::RTTI() SAL_THROW( () )
{
}
//__________________________________________________________________________________________________
-RTTI::~RTTI() SAL_THROW( () )
+RTTI::~RTTI() SAL_THROW(())
{
dlclose( m_hApp );
}
//__________________________________________________________________________________________________
-type_info * RTTI::getRTTI( typelib_CompoundTypeDescription *pTypeDescr ) SAL_THROW( () )
+type_info * RTTI::getRTTI( typelib_CompoundTypeDescription *pTypeDescr ) SAL_THROW(())
{
type_info * rtti;
diff --git a/bridges/source/cpp_uno/gcc3_macosx_intel/except.cxx b/bridges/source/cpp_uno/gcc3_macosx_intel/except.cxx
index e950f34..f2785d4 100644
--- a/bridges/source/cpp_uno/gcc3_macosx_intel/except.cxx
+++ b/bridges/source/cpp_uno/gcc3_macosx_intel/except.cxx
@@ -115,7 +115,7 @@ void dummy_can_throw_anything( char const * )
}
//==================================================================================================
-static OUString toUNOname( char const * p ) SAL_THROW( () )
+static OUString toUNOname( char const * p ) SAL_THROW(())
{
#if OSL_DEBUG_LEVEL > 1
char const * start = p;
@@ -164,24 +164,24 @@ class RTTI
void * m_hApp;
public:
- RTTI() SAL_THROW( () );
- ~RTTI() SAL_THROW( () );
+ RTTI() SAL_THROW(());
+ ~RTTI() SAL_THROW(());
- type_info * getRTTI( typelib_CompoundTypeDescription * ) SAL_THROW( () );
+ type_info * getRTTI( typelib_CompoundTypeDescription * ) SAL_THROW(());
};
//__________________________________________________________________________________________________
-RTTI::RTTI() SAL_THROW( () )
+RTTI::RTTI() SAL_THROW(())
: m_hApp( dlopen( 0, RTLD_LAZY ) )
{
}
//__________________________________________________________________________________________________
-RTTI::~RTTI() SAL_THROW( () )
+RTTI::~RTTI() SAL_THROW(())
{
dlclose( m_hApp );
}
//__________________________________________________________________________________________________
-type_info * RTTI::getRTTI( typelib_CompoundTypeDescription *pTypeDescr ) SAL_THROW( () )
+type_info * RTTI::getRTTI( typelib_CompoundTypeDescription *pTypeDescr ) SAL_THROW(())
{
type_info * rtti;
diff --git a/bridges/source/cpp_uno/gcc3_macosx_powerpc/except.cxx b/bridges/source/cpp_uno/gcc3_macosx_powerpc/except.cxx
index b229a95..19b2dc6 100644
--- a/bridges/source/cpp_uno/gcc3_macosx_powerpc/except.cxx
+++ b/bridges/source/cpp_uno/gcc3_macosx_powerpc/except.cxx
@@ -60,7 +60,7 @@ void dummy_can_throw_anything( char const * )
}
//==================================================================================================
-static OUString toUNOname( char const * p ) SAL_THROW( () )
+static OUString toUNOname( char const * p ) SAL_THROW(())
{
#ifdef DEBUG
char const * start = p;
@@ -109,24 +109,24 @@ class RTTI
void * m_hApp;
public:
- RTTI() SAL_THROW( () );
- ~RTTI() SAL_THROW( () );
+ RTTI() SAL_THROW(());
+ ~RTTI() SAL_THROW(());
- type_info * getRTTI( typelib_CompoundTypeDescription * ) SAL_THROW( () );
+ type_info * getRTTI( typelib_CompoundTypeDescription * ) SAL_THROW(());
};
//__________________________________________________________________________________________________
-RTTI::RTTI() SAL_THROW( () )
+RTTI::RTTI() SAL_THROW(())
: m_hApp( dlopen( 0, RTLD_LAZY ) )
{
}
//__________________________________________________________________________________________________
-RTTI::~RTTI() SAL_THROW( () )
+RTTI::~RTTI() SAL_THROW(())
{
dlclose( m_hApp );
}
//__________________________________________________________________________________________________
-type_info * RTTI::getRTTI( typelib_CompoundTypeDescription *pTypeDescr ) SAL_THROW( () )
+type_info * RTTI::getRTTI( typelib_CompoundTypeDescription *pTypeDescr ) SAL_THROW(())
{
type_info * rtti;
diff --git a/bridges/source/cpp_uno/gcc3_solaris_intel/except.cxx b/bridges/source/cpp_uno/gcc3_solaris_intel/except.cxx
index 8989fe6..3ce09c3 100644
--- a/bridges/source/cpp_uno/gcc3_solaris_intel/except.cxx
+++ b/bridges/source/cpp_uno/gcc3_solaris_intel/except.cxx
@@ -61,7 +61,7 @@ void dummy_can_throw_anything( char const * )
}
//==================================================================================================
-static OUString toUNOname( char const * p ) SAL_THROW( () )
+static OUString toUNOname( char const * p ) SAL_THROW(())
{
#if OSL_DEBUG_LEVEL > 1
char const * start = p;
@@ -110,24 +110,24 @@ class RTTI
void * m_hApp;
public:
- RTTI() SAL_THROW( () );
- ~RTTI() SAL_THROW( () );
+ RTTI() SAL_THROW(());
+ ~RTTI() SAL_THROW(());
- type_info * getRTTI( typelib_CompoundTypeDescription * ) SAL_THROW( () );
+ type_info * getRTTI( typelib_CompoundTypeDescription * ) SAL_THROW(());
};
//__________________________________________________________________________________________________
-RTTI::RTTI() SAL_THROW( () )
+RTTI::RTTI() SAL_THROW(())
: m_hApp( dlopen( 0, RTLD_LAZY ) )
{
}
//__________________________________________________________________________________________________
-RTTI::~RTTI() SAL_THROW( () )
+RTTI::~RTTI() SAL_THROW(())
{
dlclose( m_hApp );
}
//__________________________________________________________________________________________________
-type_info * RTTI::getRTTI( typelib_CompoundTypeDescription *pTypeDescr ) SAL_THROW( () )
+type_info * RTTI::getRTTI( typelib_CompoundTypeDescription *pTypeDescr ) SAL_THROW(())
{
type_info * rtti;
diff --git a/bridges/source/cpp_uno/gcc3_solaris_sparc/except.cxx b/bridges/source/cpp_uno/gcc3_solaris_sparc/except.cxx
index 29f33a8..bcf23e2 100644
--- a/bridges/source/cpp_uno/gcc3_solaris_sparc/except.cxx
+++ b/bridges/source/cpp_uno/gcc3_solaris_sparc/except.cxx
@@ -59,7 +59,7 @@ void dummy_can_throw_anything( char const * )
}
//==================================================================================================
-static OUString toUNOname( char const * p ) SAL_THROW( () )
+static OUString toUNOname( char const * p ) SAL_THROW(())
{
#if defined BRIDGES_DEBUG
char const * start = p;
@@ -108,24 +108,24 @@ class RTTI
void * m_hApp;
public:
- RTTI() SAL_THROW( () );
- ~RTTI() SAL_THROW( () );
+ RTTI() SAL_THROW(());
+ ~RTTI() SAL_THROW(());
- type_info * getRTTI( typelib_CompoundTypeDescription * ) SAL_THROW( () );
+ type_info * getRTTI( typelib_CompoundTypeDescription * ) SAL_THROW(());
};
//__________________________________________________________________________________________________
-RTTI::RTTI() SAL_THROW( () )
+RTTI::RTTI() SAL_THROW(())
: m_hApp( dlopen( 0, RTLD_LAZY ) )
{
}
//__________________________________________________________________________________________________
-RTTI::~RTTI() SAL_THROW( () )
+RTTI::~RTTI() SAL_THROW(())
{
dlclose( m_hApp );
}
//__________________________________________________________________________________________________
-type_info * RTTI::getRTTI( typelib_CompoundTypeDescription *pTypeDescr ) SAL_THROW( () )
+type_info * RTTI::getRTTI( typelib_CompoundTypeDescription *pTypeDescr ) SAL_THROW(())
{
type_info * rtti;
diff --git a/bridges/source/cpp_uno/mingw_intel/except.cxx b/bridges/source/cpp_uno/mingw_intel/except.cxx
index 40a3b13..4b74588 100644
--- a/bridges/source/cpp_uno/mingw_intel/except.cxx
+++ b/bridges/source/cpp_uno/mingw_intel/except.cxx
@@ -61,7 +61,7 @@ void dummy_can_throw_anything( char const * )
}
//==================================================================================================
-static OUString toUNOname( char const * p ) SAL_THROW( () )
+static OUString toUNOname( char const * p ) SAL_THROW(())
{
#if OSL_DEBUG_LEVEL > 1
char const * start = p;
@@ -108,22 +108,22 @@ class RTTI
t_rtti_map m_generatedRttis;
public:
- RTTI() SAL_THROW( () );
- ~RTTI() SAL_THROW( () );
+ RTTI() SAL_THROW(());
+ ~RTTI() SAL_THROW(());
- type_info * getRTTI( typelib_CompoundTypeDescription * ) SAL_THROW( () );
+ type_info * getRTTI( typelib_CompoundTypeDescription * ) SAL_THROW(());
};
//__________________________________________________________________________________________________
-RTTI::RTTI() SAL_THROW( () )
+RTTI::RTTI() SAL_THROW(())
{
}
//__________________________________________________________________________________________________
-RTTI::~RTTI() SAL_THROW( () )
+RTTI::~RTTI() SAL_THROW(())
{
}
//__________________________________________________________________________________________________
-type_info * RTTI::getRTTI( typelib_CompoundTypeDescription *pTypeDescr ) SAL_THROW( () )
+type_info * RTTI::getRTTI( typelib_CompoundTypeDescription *pTypeDescr ) SAL_THROW(())
{
type_info * rtti;
diff --git a/bridges/source/cpp_uno/shared/component.cxx b/bridges/source/cpp_uno/shared/component.cxx
index b6914de..6f6bf25 100644
--- a/bridges/source/cpp_uno/shared/component.cxx
+++ b/bridges/source/cpp_uno/shared/component.cxx
@@ -61,7 +61,7 @@ namespace {
static ::rtl::OUString * s_pStaticOidPart = 0;
#endif
-const ::rtl::OUString & SAL_CALL cppu_cppenv_getStaticOIdPart() SAL_THROW( () )
+const ::rtl::OUString & SAL_CALL cppu_cppenv_getStaticOIdPart() SAL_THROW(())
{
#if ! ((defined(__SUNPRO_CC) && (__SUNPRO_CC == 0x500)) \
|| (defined(__GNUC__) && defined(__APPLE__)))
@@ -99,7 +99,7 @@ const ::rtl::OUString & SAL_CALL cppu_cppenv_getStaticOIdPart() SAL_THROW( () )
extern "C" {
static void s_stub_computeObjectIdentifier(va_list * pParam)
- SAL_THROW( () )
+ SAL_THROW(())
{
uno_ExtEnvironment * pEnv = va_arg(*pParam, uno_ExtEnvironment *);
rtl_uString ** ppOId = va_arg(*pParam, rtl_uString **);
@@ -154,13 +154,13 @@ static void s_stub_computeObjectIdentifier(va_list * pParam)
static void SAL_CALL computeObjectIdentifier(
uno_ExtEnvironment * pExtEnv, rtl_uString ** ppOId, void * pInterface )
- SAL_THROW( () )
+ SAL_THROW(())
{
uno_Environment_invoke(&pExtEnv->aBase, s_stub_computeObjectIdentifier, pExtEnv, ppOId, pInterface);
}
static void s_stub_acquireInterface(va_list * pParam)
- SAL_THROW( () )
+ SAL_THROW(())
{
/*uno_ExtEnvironment * pExtEnv = */va_arg(*pParam, uno_ExtEnvironment *);
void * pCppI = va_arg(*pParam, void *);
@@ -169,13 +169,13 @@ static void s_stub_acquireInterface(va_list * pParam)
}
static void SAL_CALL acquireInterface( uno_ExtEnvironment * pExtEnv, void * pCppI )
- SAL_THROW( () )
+ SAL_THROW(())
{
uno_Environment_invoke(&pExtEnv->aBase, s_stub_acquireInterface, pExtEnv, pCppI);
}
static void s_stub_releaseInterface(va_list * pParam)
- SAL_THROW( () )
+ SAL_THROW(())
{
/*uno_ExtEnvironment * pExtEnv = */va_arg(*pParam, uno_ExtEnvironment *);
void * pCppI = va_arg(*pParam, void *);
@@ -184,13 +184,13 @@ static void s_stub_releaseInterface(va_list * pParam)
}
static void SAL_CALL releaseInterface( uno_ExtEnvironment * pExtEnv, void * pCppI )
- SAL_THROW( () )
+ SAL_THROW(())
{
uno_Environment_invoke(&pExtEnv->aBase, s_stub_releaseInterface, pExtEnv, pCppI);
}
static void SAL_CALL environmentDisposing(
- SAL_UNUSED_PARAMETER uno_Environment * ) SAL_THROW( () )
+ SAL_UNUSED_PARAMETER uno_Environment * ) SAL_THROW(())
{
bridges::cpp_uno::shared::g_moduleCount.modCnt.release(
&bridges::cpp_uno::shared::g_moduleCount.modCnt );
diff --git a/bridges/source/jni_uno/jni_base.h b/bridges/source/jni_uno/jni_base.h
index cc23cd1..e9345a3 100644
--- a/bridges/source/jni_uno/jni_base.h
+++ b/bridges/source/jni_uno/jni_base.h
@@ -169,7 +169,7 @@ public:
m_jo( jo )
{}
inline JLocalAutoRef( JLocalAutoRef & auto_ref );
- inline ~JLocalAutoRef() SAL_THROW( () );
+ inline ~JLocalAutoRef() SAL_THROW(());
inline jobject get() const
{ return m_jo; }
@@ -182,7 +182,7 @@ public:
};
//______________________________________________________________________________
-inline JLocalAutoRef::~JLocalAutoRef() SAL_THROW( () )
+inline JLocalAutoRef::~JLocalAutoRef() SAL_THROW(())
{
if (0 != m_jo)
m_jni->DeleteLocalRef( m_jo );
@@ -268,7 +268,7 @@ class TypeDescr
public:
inline explicit TypeDescr( typelib_TypeDescriptionReference * td_ref );
- inline ~TypeDescr() SAL_THROW( () )
+ inline ~TypeDescr() SAL_THROW(())
{ TYPELIB_DANGER_RELEASE( m_td ); }
inline typelib_TypeDescription * get() const
diff --git a/bridges/source/jni_uno/jni_bridge.cxx b/bridges/source/jni_uno/jni_bridge.cxx
index 3fee956..a4548e1 100644
--- a/bridges/source/jni_uno/jni_bridge.cxx
+++ b/bridges/source/jni_uno/jni_bridge.cxx
@@ -212,7 +212,7 @@ namespace jni_uno
{
//______________________________________________________________________________
-void Bridge::acquire() const SAL_THROW( () )
+void Bridge::acquire() const SAL_THROW(())
{
if (1 == osl_incrementInterlockedCount( &m_ref ))
{
@@ -234,7 +234,7 @@ void Bridge::acquire() const SAL_THROW( () )
}
//______________________________________________________________________________
-void Bridge::release() const SAL_THROW( () )
+void Bridge::release() const SAL_THROW(())
{
if (! osl_decrementInterlockedCount( &m_ref ))
{
@@ -278,7 +278,7 @@ Bridge::Bridge(
}
//______________________________________________________________________________
-Bridge::~Bridge() SAL_THROW( () )
+Bridge::~Bridge() SAL_THROW(())
{
(*m_java_env->release)( m_java_env );
(*((uno_Environment *)m_uno_env)->release)( (uno_Environment *)m_uno_env );
diff --git a/bridges/source/jni_uno/jni_bridge.h b/bridges/source/jni_uno/jni_bridge.h
index f2298fb..08d22e1 100644
--- a/bridges/source/jni_uno/jni_bridge.h
+++ b/bridges/source/jni_uno/jni_bridge.h
@@ -67,7 +67,7 @@ struct Bridge
JNI_info const * m_jni_info;
//
- ~Bridge() SAL_THROW( () );
+ ~Bridge() SAL_THROW(());
explicit Bridge(
uno_Environment * java_env, uno_ExtEnvironment * uno_env,
bool registered_java2uno );
diff --git a/cli_ure/source/uno_bridge/cli_base.h b/cli_ure/source/uno_bridge/cli_base.h
index 8d70d22..20a88d1 100644
--- a/cli_ure/source/uno_bridge/cli_base.h
+++ b/cli_ure/source/uno_bridge/cli_base.h
@@ -157,7 +157,7 @@ class TypeDescr
public:
inline explicit TypeDescr( typelib_TypeDescriptionReference * td_ref );
- inline ~TypeDescr() SAL_THROW( () )
+ inline ~TypeDescr() SAL_THROW(())
{ TYPELIB_DANGER_RELEASE( m_td ); }
inline typelib_TypeDescription * get() const
diff --git a/cli_ure/source/uno_bridge/cli_bridge.cxx b/cli_ure/source/uno_bridge/cli_bridge.cxx
index 19ed2e5..c910d8e 100644
--- a/cli_ure/source/uno_bridge/cli_bridge.cxx
+++ b/cli_ure/source/uno_bridge/cli_bridge.cxx
@@ -199,7 +199,7 @@ namespace cli_uno
calls acquire then they must have kept an unacquired pointer which is
illegal.
*/
-void Bridge::acquire() const SAL_THROW( () )
+void Bridge::acquire() const SAL_THROW(())
{
if (1 == osl_incrementInterlockedCount( &m_ref ))
{
@@ -218,7 +218,7 @@ void Bridge::acquire() const SAL_THROW( () )
}
}
//__________________________________________________________________________________________________
-void Bridge::release() const SAL_THROW( () )
+void Bridge::release() const SAL_THROW(())
{
if (! osl_decrementInterlockedCount( &m_ref ))
{
@@ -255,7 +255,7 @@ Bridge::Bridge(
}
//__________________________________________________________________________________________________
-Bridge::~Bridge() SAL_THROW( () )
+Bridge::~Bridge() SAL_THROW(())
{
//System::GC::Collect();
(*m_uno_cli_env->release)( m_uno_cli_env );
diff --git a/cli_ure/source/uno_bridge/cli_bridge.h b/cli_ure/source/uno_bridge/cli_bridge.h
index 34d6ed2..0306e4d 100644
--- a/cli_ure/source/uno_bridge/cli_bridge.h
+++ b/cli_ure/source/uno_bridge/cli_bridge.h
@@ -74,7 +74,7 @@ struct Bridge
Mapping m_uno2cli;
bool m_registered_cli2uno;
- ~Bridge() SAL_THROW( () );
+ ~Bridge() SAL_THROW(());
Bridge( uno_Environment * java_env, uno_ExtEnvironment * uno_env, bool registered_java2uno );
void acquire() const;
diff --git a/codemaker/source/cppumaker/cpputype.cxx b/codemaker/source/cppumaker/cpputype.cxx
index ccc7a81..763441b 100644
--- a/codemaker/source/cppumaker/cpputype.cxx
+++ b/codemaker/source/cppumaker/cpputype.cxx
@@ -2588,7 +2588,7 @@ sal_Bool StructureType::dumpHxxFile(
dumpTemplateHead(o);
o << "inline " << m_name;
dumpTemplateParameters(o);
- o << "::" << m_name << "() SAL_THROW( () )\n";
+ o << "::" << m_name << "() SAL_THROW(())\n";
inc();
OString superType;
if (m_reader.getSuperTypeCount() >= 1) {
@@ -2668,7 +2668,7 @@ sal_Bool StructureType::dumpHxxFile(
// o << " __" << fieldName;
o << " " << fieldName << "_";
}
- o << ") SAL_THROW( () )\n";
+ o << ") SAL_THROW(())\n";
inc();
first = sal_True;
@@ -3254,7 +3254,7 @@ void ExceptionType::dumpDeclaration(FileStream& o)
o << "\n{\npublic:\n";
inc();
o << indent() << "inline CPPU_GCC_DLLPRIVATE " << m_name
- << "() SAL_THROW( () );\n\n";
+ << "() SAL_THROW(());\n\n";
sal_uInt16 fieldCount = m_reader.getFieldCount();
RTFieldAccess access = RT_ACCESS_INVALID;
@@ -3289,7 +3289,7 @@ void ExceptionType::dumpDeclaration(FileStream& o)
// o << " __" << fieldName;
o << " " << fieldName << "_";
}
- o << ") SAL_THROW( () );\n\n";
+ o << ") SAL_THROW(());\n\n";
}
o << indent() << "inline CPPU_GCC_DLLPRIVATE " << m_name << "(" << m_name
<< " const &);\n\n"
@@ -3341,7 +3341,7 @@ sal_Bool ExceptionType::dumpHxxFile(
}
o << "\n";
- o << "inline " << m_name << "::" << m_name << "() SAL_THROW( () )\n";
+ o << "inline " << m_name << "::" << m_name << "() SAL_THROW(())\n";
inc();
OString superType;
if (m_reader.getSuperTypeCount() >= 1) {
@@ -3421,7 +3421,7 @@ sal_Bool ExceptionType::dumpHxxFile(
// o << " __" << fieldName;
o << " " << fieldName << "_";
}
- o << ") SAL_THROW( () )\n";
+ o << ") SAL_THROW(())\n";
inc();
first = sal_True;
@@ -3795,7 +3795,7 @@ sal_Bool TypeDefType::dumpHFile(
// o << "\nnamespace com { namespace sun { namespace star { namespace uno {\n"
// << "class Type;\n} } } }\n\n";
// o << "inline const ::com::sun::star::uno::Type& SAL_CALL get_" << m_typeName.replace('/', '_')
-// << "_Type( ) SAL_THROW( () );\n\n";
+// << "_Type( ) SAL_THROW(());\n\n";
o << "#endif // "<< headerDefine << "\n";
diff --git a/connectivity/inc/connectivity/CommonTools.hxx b/connectivity/inc/connectivity/CommonTools.hxx
index e483ab9..79f666f 100644
--- a/connectivity/inc/connectivity/CommonTools.hxx
+++ b/connectivity/inc/connectivity/CommonTools.hxx
@@ -100,13 +100,13 @@ namespace connectivity
std::vector< VectorVal > & get() { return m_vector; }
std::vector< VectorVal > const & get() const { return m_vector; }
- inline static void * SAL_CALL operator new( size_t nSize ) SAL_THROW( () )
+ inline static void * SAL_CALL operator new( size_t nSize ) SAL_THROW(())
{ return ::rtl_allocateMemory( nSize ); }
- inline static void SAL_CALL operator delete( void * pMem ) SAL_THROW( () )
+ inline static void SAL_CALL operator delete( void * pMem ) SAL_THROW(())
{ ::rtl_freeMemory( pMem ); }
- inline static void * SAL_CALL operator new( size_t, void * pMem ) SAL_THROW( () )
+ inline static void * SAL_CALL operator new( size_t, void * pMem ) SAL_THROW(())
{ return pMem; }
- inline static void SAL_CALL operator delete( void *, void * ) SAL_THROW( () )
+ inline static void SAL_CALL operator delete( void *, void * ) SAL_THROW(())
{}
void acquire()
diff --git a/connectivity/inc/connectivity/FValue.hxx b/connectivity/inc/connectivity/FValue.hxx
index 955f822..64f44d4 100644
--- a/connectivity/inc/connectivity/FValue.hxx
+++ b/connectivity/inc/connectivity/FValue.hxx
@@ -228,13 +228,13 @@ namespace connectivity
free();
}
- inline static void * SAL_CALL operator new( size_t nSize ) SAL_THROW( () )
+ inline static void * SAL_CALL operator new( size_t nSize ) SAL_THROW(())
{ return ::rtl_allocateMemory( nSize ); }
- inline static void * SAL_CALL operator new( size_t,void* _pHint ) SAL_THROW( () )
+ inline static void * SAL_CALL operator new( size_t,void* _pHint ) SAL_THROW(())
{ return _pHint; }
- inline static void SAL_CALL operator delete( void * pMem ) SAL_THROW( () )
+ inline static void SAL_CALL operator delete( void * pMem ) SAL_THROW(())
{ ::rtl_freeMemory( pMem ); }
- inline static void SAL_CALL operator delete( void *,void* ) SAL_THROW( () )
+ inline static void SAL_CALL operator delete( void *,void* ) SAL_THROW(())
{ }
ORowSetValue& operator=(const ORowSetValue& _rRH);
diff --git a/connectivity/inc/connectivity/sqliterator.hxx b/connectivity/inc/connectivity/sqliterator.hxx
index eb316a8..b7cc0c0 100644
--- a/connectivity/inc/connectivity/sqliterator.hxx
+++ b/connectivity/inc/connectivity/sqliterator.hxx
@@ -142,13 +142,13 @@ namespace connectivity
const OSQLParseNode* pRoot = NULL );
~OSQLParseTreeIterator();
- inline static void * SAL_CALL operator new( size_t nSize ) SAL_THROW( () )
+ inline static void * SAL_CALL operator new( size_t nSize ) SAL_THROW(())
{ return ::rtl_allocateMemory( nSize ); }
- inline static void * SAL_CALL operator new( size_t,void* _pHint ) SAL_THROW( () )
+ inline static void * SAL_CALL operator new( size_t,void* _pHint ) SAL_THROW(())
{ return _pHint; }
- inline static void SAL_CALL operator delete( void * pMem ) SAL_THROW( () )
+ inline static void SAL_CALL operator delete( void * pMem ) SAL_THROW(())
{ ::rtl_freeMemory( pMem ); }
- inline static void SAL_CALL operator delete( void *,void* ) SAL_THROW( () )
+ inline static void SAL_CALL operator delete( void *,void* ) SAL_THROW(())
{ }
void dispose();
diff --git a/connectivity/source/drivers/mozab/bootstrap/MNSINIParser.hxx b/connectivity/source/drivers/mozab/bootstrap/MNSINIParser.hxx
index 6acf674..b5bab38 100644
--- a/connectivity/source/drivers/mozab/bootstrap/MNSINIParser.hxx
+++ b/connectivity/source/drivers/mozab/bootstrap/MNSINIParser.hxx
@@ -47,10 +47,10 @@ struct ini_NameValue
rtl::OUString sName;
rtl::OUString sValue;
- inline ini_NameValue() SAL_THROW( () )
+ inline ini_NameValue() SAL_THROW(())
{}
inline ini_NameValue(
- OUString const & name, OUString const & value ) SAL_THROW( () )
+ OUString const & name, OUString const & value ) SAL_THROW(())
: sName( name ),
sValue( value )
{}
diff --git a/connectivity/source/drivers/postgresql/pq_driver.cxx b/connectivity/source/drivers/postgresql/pq_driver.cxx
index 93ca427..dce19c7 100644
--- a/connectivity/source/drivers/postgresql/pq_driver.cxx
+++ b/connectivity/source/drivers/postgresql/pq_driver.cxx
@@ -324,7 +324,7 @@ void OOneInstanceComponentFactory::disposing()
// ::rtl::OUString const & rImplementationName,
// ::com::sun::star::uno::Sequence< ::rtl::OUString > const & rServiceNames,
// rtl_ModuleCount * pModCount = 0 )
-// SAL_THROW( () )
+// SAL_THROW(())
// {
// return new OOneInstanceComponentFactory( rImplementationName, fptr , rServiceNames);
// }
diff --git a/connectivity/source/inc/OColumn.hxx b/connectivity/source/inc/OColumn.hxx
index 7efae97..076a4e6 100644
--- a/connectivity/source/inc/OColumn.hxx
+++ b/connectivity/source/inc/OColumn.hxx
@@ -108,13 +108,13 @@ namespace connectivity
m_ColumnLabel = _aColumnName;
}
- inline static void * SAL_CALL operator new( size_t nSize ) SAL_THROW( () )
+ inline static void * SAL_CALL operator new( size_t nSize ) SAL_THROW(())
{ return ::rtl_allocateMemory( nSize ); }
- inline static void * SAL_CALL operator new( size_t ,void* _pHint ) SAL_THROW( () )
+ inline static void * SAL_CALL operator new( size_t ,void* _pHint ) SAL_THROW(())
{ return _pHint; }
- inline static void SAL_CALL operator delete( void * pMem ) SAL_THROW( () )
+ inline static void SAL_CALL operator delete( void * pMem ) SAL_THROW(())
{ ::rtl_freeMemory( pMem ); }
- inline static void SAL_CALL operator delete( void *,void* ) SAL_THROW( () )
+ inline static void SAL_CALL operator delete( void *,void* ) SAL_THROW(())
{ }
sal_Bool isAutoIncrement() const { return m_AutoIncrement; }
diff --git a/connectivity/source/inc/OTypeInfo.hxx b/connectivity/source/inc/OTypeInfo.hxx
index 13f0fd2..825bf4e 100644
--- a/connectivity/source/inc/OTypeInfo.hxx
+++ b/connectivity/source/inc/OTypeInfo.hxx
@@ -73,13 +73,13 @@ namespace connectivity
,bUnsigned(sal_False)
{}
- inline static void * SAL_CALL operator new( size_t nSize ) SAL_THROW( () )
+ inline static void * SAL_CALL operator new( size_t nSize ) SAL_THROW(())
{ return ::rtl_allocateMemory( nSize ); }
- inline static void * SAL_CALL operator new( size_t /*nSize*/,void* _pHint ) SAL_THROW( () )
+ inline static void * SAL_CALL operator new( size_t /*nSize*/,void* _pHint ) SAL_THROW(())
{ return _pHint; }
- inline static void SAL_CALL operator delete( void * pMem ) SAL_THROW( () )
+ inline static void SAL_CALL operator delete( void * pMem ) SAL_THROW(())
{ ::rtl_freeMemory( pMem ); }
- inline static void SAL_CALL operator delete( void * /*pMem*/,void* /*_pHint*/ ) SAL_THROW( () )
+ inline static void SAL_CALL operator delete( void * /*pMem*/,void* /*_pHint*/ ) SAL_THROW(())
{ }
sal_Bool operator == (const OTypeInfo& lh) const { return lh.nType == nType; }
diff --git a/connectivity/source/inc/TKeyValue.hxx b/connectivity/source/inc/TKeyValue.hxx
index b5fa33b..150a8ab 100644
--- a/connectivity/source/inc/TKeyValue.hxx
+++ b/connectivity/source/inc/TKeyValue.hxx
@@ -46,13 +46,13 @@ namespace connectivity
~OKeyValue();
- inline static void * SAL_CALL operator new( size_t nSize ) SAL_THROW( () )
+ inline static void * SAL_CALL operator new( size_t nSize ) SAL_THROW(())
{ return ::rtl_allocateMemory( nSize ); }
- inline static void * SAL_CALL operator new( size_t,void* _pHint ) SAL_THROW( () )
+ inline static void * SAL_CALL operator new( size_t,void* _pHint ) SAL_THROW(())
{ return _pHint; }
- inline static void SAL_CALL operator delete( void * pMem ) SAL_THROW( () )
+ inline static void SAL_CALL operator delete( void * pMem ) SAL_THROW(())
{ ::rtl_freeMemory( pMem ); }
- inline static void SAL_CALL operator delete( void *,void* ) SAL_THROW( () )
+ inline static void SAL_CALL operator delete( void *,void* ) SAL_THROW(())
{ }
static OKeyValue* createKeyValue(sal_Int32 nVal);
diff --git a/connectivity/source/inc/TSkipDeletedSet.hxx b/connectivity/source/inc/TSkipDeletedSet.hxx
index 19548a5..90e69d2 100644
--- a/connectivity/source/inc/TSkipDeletedSet.hxx
+++ b/connectivity/source/inc/TSkipDeletedSet.hxx
@@ -50,13 +50,13 @@ namespace connectivity
OSkipDeletedSet(IResultSetHelper* _pHelper);
~OSkipDeletedSet();
- inline static void * SAL_CALL operator new( size_t nSize ) SAL_THROW( () )
+ inline static void * SAL_CALL operator new( size_t nSize ) SAL_THROW(())
{ return ::rtl_allocateMemory( nSize ); }
- inline static void * SAL_CALL operator new( size_t,void* _pHint ) SAL_THROW( () )
+ inline static void * SAL_CALL operator new( size_t,void* _pHint ) SAL_THROW(())
{ return _pHint; }
- inline static void SAL_CALL operator delete( void * pMem ) SAL_THROW( () )
+ inline static void SAL_CALL operator delete( void * pMem ) SAL_THROW(())
{ ::rtl_freeMemory( pMem ); }
- inline static void SAL_CALL operator delete( void *,void* ) SAL_THROW( () )
+ inline static void SAL_CALL operator delete( void *,void* ) SAL_THROW(())
{ }
/**
diff --git a/connectivity/source/inc/TSortIndex.hxx b/connectivity/source/inc/TSortIndex.hxx
index 21212bc..419966f 100644
--- a/connectivity/source/inc/TSortIndex.hxx
+++ b/connectivity/source/inc/TSortIndex.hxx
@@ -72,13 +72,13 @@ namespace connectivity
~OSortIndex();
- inline static void * SAL_CALL operator new( size_t nSize ) SAL_THROW( () )
+ inline static void * SAL_CALL operator new( size_t nSize ) SAL_THROW(())
{ return ::rtl_allocateMemory( nSize ); }
- inline static void * SAL_CALL operator new( size_t,void* _pHint ) SAL_THROW( () )
+ inline static void * SAL_CALL operator new( size_t,void* _pHint ) SAL_THROW(())
{ return _pHint; }
- inline static void SAL_CALL operator delete( void * pMem ) SAL_THROW( () )
+ inline static void SAL_CALL operator delete( void * pMem ) SAL_THROW(())
{ ::rtl_freeMemory( pMem ); }
- inline static void SAL_CALL operator delete( void *,void* ) SAL_THROW( () )
+ inline static void SAL_CALL operator delete( void *,void* ) SAL_THROW(())
{ }
diff --git a/connectivity/source/inc/file/fanalyzer.hxx b/connectivity/source/inc/file/fanalyzer.hxx
index 386807c..03045f7 100644
--- a/connectivity/source/inc/file/fanalyzer.hxx
+++ b/connectivity/source/inc/file/fanalyzer.hxx
@@ -55,13 +55,13 @@ namespace connectivity
public:
OSQLAnalyzer(OConnection* _pConnection);
virtual ~OSQLAnalyzer();
- inline static void * SAL_CALL operator new( size_t nSize ) SAL_THROW( () )
+ inline static void * SAL_CALL operator new( size_t nSize ) SAL_THROW(())
{ return ::rtl_allocateMemory( nSize ); }
- inline static void * SAL_CALL operator new( size_t /*nSize*/,void* _pHint ) SAL_THROW( () )
+ inline static void * SAL_CALL operator new( size_t /*nSize*/,void* _pHint ) SAL_THROW(())
{ return _pHint; }
- inline static void SAL_CALL operator delete( void * pMem ) SAL_THROW( () )
+ inline static void SAL_CALL operator delete( void * pMem ) SAL_THROW(())
{ ::rtl_freeMemory( pMem ); }
- inline static void SAL_CALL operator delete( void * /*pMem*/,void* /*_pHint*/ ) SAL_THROW( () )
+ inline static void SAL_CALL operator delete( void * /*pMem*/,void* /*_pHint*/ ) SAL_THROW(())
{ }
OConnection* getConnection() const { return m_pConnection; }
diff --git a/connectivity/source/inc/file/fcode.hxx b/connectivity/source/inc/file/fcode.hxx
index ce489a3..c74e633 100644
--- a/connectivity/source/inc/file/fcode.hxx
+++ b/connectivity/source/inc/file/fcode.hxx
@@ -62,13 +62,13 @@ namespace connectivity
OCode();
virtual ~OCode();
- inline static void * SAL_CALL operator new( size_t nSize ) SAL_THROW( () )
+ inline static void * SAL_CALL operator new( size_t nSize ) SAL_THROW(())
{ return ::rtl_allocateMemory( nSize ); }
- inline static void * SAL_CALL operator new( size_t /*nSize*/,void* _pHint ) SAL_THROW( () )
+ inline static void * SAL_CALL operator new( size_t /*nSize*/,void* _pHint ) SAL_THROW(())
{ return _pHint; }
- inline static void SAL_CALL operator delete( void * pMem ) SAL_THROW( () )
+ inline static void SAL_CALL operator delete( void * pMem ) SAL_THROW(())
{ ::rtl_freeMemory( pMem ); }
- inline static void SAL_CALL operator delete( void * /*pMem*/,void* /*_pHint*/ ) SAL_THROW( () )
+ inline static void SAL_CALL operator delete( void * /*pMem*/,void* /*_pHint*/ ) SAL_THROW(())
{ }
TYPEINFO();
diff --git a/connectivity/source/inc/file/fcomp.hxx b/connectivity/source/inc/file/fcomp.hxx
index 8a09061..ebf6c3b 100644
--- a/connectivity/source/inc/file/fcomp.hxx
+++ b/connectivity/source/inc/file/fcomp.hxx
@@ -60,13 +60,13 @@ namespace connectivity
virtual ~OPredicateCompiler();
- inline static void * SAL_CALL operator new( size_t nSize ) SAL_THROW( () )
+ inline static void * SAL_CALL operator new( size_t nSize ) SAL_THROW(())
{ return ::rtl_allocateMemory( nSize ); }
- inline static void * SAL_CALL operator new( size_t /*nSize*/,void* _pHint ) SAL_THROW( () )
+ inline static void * SAL_CALL operator new( size_t /*nSize*/,void* _pHint ) SAL_THROW(())
{ return _pHint; }
- inline static void SAL_CALL operator delete( void * pMem ) SAL_THROW( () )
+ inline static void SAL_CALL operator delete( void * pMem ) SAL_THROW(())
{ ::rtl_freeMemory( pMem ); }
- inline static void SAL_CALL operator delete( void * /*pMem*/,void* /*_pHint*/ ) SAL_THROW( () )
+ inline static void SAL_CALL operator delete( void * /*pMem*/,void* /*_pHint*/ ) SAL_THROW(())
{ }
void dispose();
diff --git a/connectivity/source/inc/sqlscan.hxx b/connectivity/source/inc/sqlscan.hxx
index 87ab6e7..66f2b76 100644
--- a/connectivity/source/inc/sqlscan.hxx
+++ b/connectivity/source/inc/sqlscan.hxx
@@ -53,13 +53,13 @@ namespace connectivity
OSQLScanner();
virtual ~OSQLScanner();
- inline static void * SAL_CALL operator new( size_t nSize ) SAL_THROW( () )
+ inline static void * SAL_CALL operator new( size_t nSize ) SAL_THROW(())
{ return ::rtl_allocateMemory( nSize ); }
- inline static void * SAL_CALL operator new( size_t,void* _pHint ) SAL_THROW( () )
+ inline static void * SAL_CALL operator new( size_t,void* _pHint ) SAL_THROW(())
{ return _pHint; }
- inline static void SAL_CALL operator delete( void * pMem ) SAL_THROW( () )
+ inline static void SAL_CALL operator delete( void * pMem ) SAL_THROW(())
{ ::rtl_freeMemory( pMem ); }
- inline static void SAL_CALL operator delete( void *,void* ) SAL_THROW( () )
+ inline static void SAL_CALL operator delete( void *,void* ) SAL_THROW(())
{ }
virtual sal_Int32 SQLyygetc(void);
diff --git a/connectivity/workben/iniParser/main.cxx b/connectivity/workben/iniParser/main.cxx
index 0515959..93148b9 100644
--- a/connectivity/workben/iniParser/main.cxx
+++ b/connectivity/workben/iniParser/main.cxx
@@ -44,10 +44,10 @@ struct ini_NameValue
rtl::OUString sName;
rtl::OUString sValue;
- inline ini_NameValue() SAL_THROW( () )
+ inline ini_NameValue() SAL_THROW(())
{}
inline ini_NameValue(
- OUString const & name, OUString const & value ) SAL_THROW( () )
+ OUString const & name, OUString const & value ) SAL_THROW(())
: sName( name ),
sValue( value )
{}
diff --git a/cppu/inc/com/sun/star/uno/Any.h b/cppu/inc/com/sun/star/uno/Any.h
index b904d08..f5f2f72 100644
--- a/cppu/inc/com/sun/star/uno/Any.h
+++ b/cppu/inc/com/sun/star/uno/Any.h
@@ -57,19 +57,19 @@ class Any : public uno_Any
public:
/// @cond INTERNAL
// these are here to force memory de/allocation to sal lib.
- inline static void * SAL_CALL operator new ( size_t nSize ) SAL_THROW( () )
+ inline static void * SAL_CALL operator new ( size_t nSize ) SAL_THROW(())
{ return ::rtl_allocateMemory( nSize ); }
- inline static void SAL_CALL operator delete ( void * pMem ) SAL_THROW( () )
+ inline static void SAL_CALL operator delete ( void * pMem ) SAL_THROW(())
{ ::rtl_freeMemory( pMem ); }
- inline static void * SAL_CALL operator new ( size_t, void * pMem ) SAL_THROW( () )
+ inline static void * SAL_CALL operator new ( size_t, void * pMem ) SAL_THROW(())
{ return pMem; }
- inline static void SAL_CALL operator delete ( void *, void * ) SAL_THROW( () )
+ inline static void SAL_CALL operator delete ( void *, void * ) SAL_THROW(())
{}
/// @endcond
/** Default constructor: Any holds no value; its type is void.
*/
- inline Any() SAL_THROW( () );
+ inline Any() SAL_THROW(());
/** Templated ctor. Sets a copy of the given value.
@@ -84,51 +84,51 @@ public:
@param rAny another any
*/
- inline Any( const Any & rAny ) SAL_THROW( () );
+ inline Any( const Any & rAny ) SAL_THROW(());
/** Constructor: Sets a copy of the given data.
@param pData_ value
@param rType type of value
*/
- inline Any( const void * pData_, const Type & rType ) SAL_THROW( () );
+ inline Any( const void * pData_, const Type & rType ) SAL_THROW(());
/** Constructor: Sets a copy of the given data.
@param pData_ value
@param pTypeDescr type of value
*/
- inline Any( const void * pData_, typelib_TypeDescription * pTypeDescr ) SAL_THROW( () );
+ inline Any( const void * pData_, typelib_TypeDescription * pTypeDescr ) SAL_THROW(());
/** Constructor: Sets a copy of the given data.
@param pData_ value
@param pType type of value
*/
- inline Any( const void * pData_, typelib_TypeDescriptionReference * pType ) SAL_THROW( () );
+ inline Any( const void * pData_, typelib_TypeDescriptionReference * pType ) SAL_THROW(());
/** Destructor: Destructs any content and frees memory.
*/
- inline ~Any() SAL_THROW( () );
+ inline ~Any() SAL_THROW(());
/** Assignment operator: Sets the value of the given any.
@param rAny another any (right side)
@return this any
*/
- inline Any & SAL_CALL operator = ( const Any & rAny ) SAL_THROW( () );
+ inline Any & SAL_CALL operator = ( const Any & rAny ) SAL_THROW(());
/** Gets the type of the set value.
@return a Type object of the set value
*/
- inline const Type & SAL_CALL getValueType() const SAL_THROW( () )
+ inline const Type & SAL_CALL getValueType() const SAL_THROW(())
{ return * reinterpret_cast< const Type * >( &pType ); }
/** Gets the type of the set value.
@return the UNacquired type description reference of the set value
*/
- inline typelib_TypeDescriptionReference * SAL_CALL getValueTypeRef() const SAL_THROW( () )
+ inline typelib_TypeDescriptionReference * SAL_CALL getValueTypeRef() const SAL_THROW(())
{ return pType; }
/** Gets the type description of the set value. Provides ownership of the type description!
@@ -136,34 +136,34 @@ public:
@param a pointer to type description pointer
*/
- inline void SAL_CALL getValueTypeDescription( typelib_TypeDescription ** ppTypeDescr ) const SAL_THROW( () )
+ inline void SAL_CALL getValueTypeDescription( typelib_TypeDescription ** ppTypeDescr ) const SAL_THROW(())
{ ::typelib_typedescriptionreference_getDescription( ppTypeDescr, pType ); }
/** Gets the type class of the set value.
@return the type class of the set value
*/
- inline TypeClass SAL_CALL getValueTypeClass() const SAL_THROW( () )
+ inline TypeClass SAL_CALL getValueTypeClass() const SAL_THROW(())
{ return (TypeClass)pType->eTypeClass; }
/** Gets the type name of the set value.
@return the type name of the set value
*/
- inline ::rtl::OUString SAL_CALL getValueTypeName() const SAL_THROW( () );
+ inline ::rtl::OUString SAL_CALL getValueTypeName() const SAL_THROW(());
/** Tests if any contains a value.
@return true if any has a value, false otherwise
*/
- inline sal_Bool SAL_CALL hasValue() const SAL_THROW( () )
+ inline sal_Bool SAL_CALL hasValue() const SAL_THROW(())
{ return (typelib_TypeClass_VOID != pType->eTypeClass); }
/** Gets a pointer to the set value.
@return a pointer to the set value
*/
- inline const void * SAL_CALL getValue() const SAL_THROW( () )
+ inline const void * SAL_CALL getValue() const SAL_THROW(())
{ return pData; }
#if ! defined(EXCEPTIONS_OFF)
@@ -190,26 +190,26 @@ public:
@param pData_ pointer to value
@param rType type of value
*/
- inline void SAL_CALL setValue( const void * pData_, const Type & rType ) SAL_THROW( () );
+ inline void SAL_CALL setValue( const void * pData_, const Type & rType ) SAL_THROW(());
/** Sets a value. If the any already contains a value, that value will be destructed
and its memory freed.
@param pData_ pointer to value
@param pType type of value
*/
- inline void SAL_CALL setValue( const void * pData_, typelib_TypeDescriptionReference * pType ) SAL_THROW( () );
+ inline void SAL_CALL setValue( const void * pData_, typelib_TypeDescriptionReference * pType ) SAL_THROW(());
/** Sets a value. If the any already contains a value, that value will be destructed
and its memory freed.
@param pData_ pointer to value
@param pTypeDescr type description of value
*/
- inline void SAL_CALL setValue( const void * pData_, typelib_TypeDescription * pTypeDescr ) SAL_THROW( () );
+ inline void SAL_CALL setValue( const void * pData_, typelib_TypeDescription * pTypeDescr ) SAL_THROW(());
/** Clears this any. If the any already contains a value, that value will be destructed
and its memory freed. After this has been called, the any does not contain a value.
*/
- inline void SAL_CALL clear() SAL_THROW( () );
+ inline void SAL_CALL clear() SAL_THROW(());
/** Tests whether this any is extractable to a value of given type.
Widening conversion without data loss is taken into account.
@@ -217,7 +217,7 @@ public:
@param rType destination type
@return true if this any is extractable to value of given type (e.g. using >>= operator)
*/
- inline sal_Bool SAL_CALL isExtractableTo( const Type & rType ) const SAL_THROW( () );
+ inline sal_Bool SAL_CALL isExtractableTo( const Type & rType ) const SAL_THROW(());
/** Tests whether this any can provide a value of specified type.
Widening conversion without data loss is taken into account.
@@ -234,14 +234,14 @@ public:
@param rAny another any (right side)
@return true if both any contains equal values
*/
- inline sal_Bool SAL_CALL operator == ( const Any & rAny ) const SAL_THROW( () );
+ inline sal_Bool SAL_CALL operator == ( const Any & rAny ) const SAL_THROW(());
/** Unequality operator: compares two anys.
The values need not be of equal type, e.g. a short integer is compared to a long integer.
@param rAny another any (right side)
@return true if both any contains unequal values
*/
- inline sal_Bool SAL_CALL operator != ( const Any & rAny ) const SAL_THROW( () );
+ inline sal_Bool SAL_CALL operator != ( const Any & rAny ) const SAL_THROW(());
private:
// not impl: forbid use with ambiguous type (sal_Unicode, sal_uInt16)
@@ -266,11 +266,11 @@ private:
@return an any
*/
template< class C >
-inline Any SAL_CALL makeAny( const C & value ) SAL_THROW( () );
+inline Any SAL_CALL makeAny( const C & value ) SAL_THROW(());
// additionally specialized for C++ bool
template<>
-inline Any SAL_CALL makeAny( bool const & value ) SAL_THROW( () );
+inline Any SAL_CALL makeAny( bool const & value ) SAL_THROW(());
class BaseReference;
class Type;
@@ -282,11 +282,11 @@ class Type;
@param value source value (right side)
*/
template< class C >
-inline void SAL_CALL operator <<= ( Any & rAny, const C & value ) SAL_THROW( () );
+inline void SAL_CALL operator <<= ( Any & rAny, const C & value ) SAL_THROW(());
// additionally for C++ bool:
inline void SAL_CALL operator <<= ( Any & rAny, bool const & value )
- SAL_THROW( () );
+ SAL_THROW(());
/** Template binary >>= operator to assign a value from an any.
If the any does not contain a value that can be assigned without data loss, then this
@@ -298,7 +298,7 @@ inline void SAL_CALL operator <<= ( Any & rAny, bool const & value )
@return true if assignment was possible without data loss
*/
template< class C >
-inline sal_Bool SAL_CALL operator >>= ( const Any & rAny, C & value ) SAL_THROW( () );
+inline sal_Bool SAL_CALL operator >>= ( const Any & rAny, C & value ) SAL_THROW(());
/** Template equality operator: compares set value of left side any to right side value.
The values need not be of equal type, e.g. a short integer is compared to a long integer.
@@ -311,7 +311,7 @@ inline sal_Bool SAL_CALL operator >>= ( const Any & rAny, C & value ) SAL_THROW(
@return true if values are equal, false otherwise
*/
template< class C >
-inline sal_Bool SAL_CALL operator == ( const Any & rAny, const C & value ) SAL_THROW( () );
+inline sal_Bool SAL_CALL operator == ( const Any & rAny, const C & value ) SAL_THROW(());
/** Template unequality operator: compares set value of left side any to right side value.
The values need not be of equal type, e.g. a short integer is compared to a long integer.
This operator can be implemented as template member function, if all supported compilers
@@ -323,43 +323,43 @@ inline sal_Bool SAL_CALL operator == ( const Any & rAny, const C & value ) SAL_T
@return true if values are unequal, false otherwise
*/
template< class C >
-inline sal_Bool SAL_CALL operator != ( const Any & rAny, const C & value ) SAL_THROW( () );
+inline sal_Bool SAL_CALL operator != ( const Any & rAny, const C & value ) SAL_THROW(());
// additional specialized >>= and == operators
// bool
-inline sal_Bool SAL_CALL operator >>= ( const Any & rAny, sal_Bool & value ) SAL_THROW( () );
-inline sal_Bool SAL_CALL operator == ( const Any & rAny, const sal_Bool & value ) SAL_THROW( () );
+inline sal_Bool SAL_CALL operator >>= ( const Any & rAny, sal_Bool & value ) SAL_THROW(());
+inline sal_Bool SAL_CALL operator == ( const Any & rAny, const sal_Bool & value ) SAL_THROW(());
template<>
inline sal_Bool SAL_CALL operator >>= ( Any const & rAny, bool & value )
- SAL_THROW( () );
+ SAL_THROW(());
template<>
inline sal_Bool SAL_CALL operator == ( Any const & rAny, bool const & value )
- SAL_THROW( () );
+ SAL_THROW(());
// byte
-inline sal_Bool SAL_CALL operator >>= ( const Any & rAny, sal_Int8 & value ) SAL_THROW( () );
+inline sal_Bool SAL_CALL operator >>= ( const Any & rAny, sal_Int8 & value ) SAL_THROW(());
// short
-inline sal_Bool SAL_CALL operator >>= ( const Any & rAny, sal_Int16 & value ) SAL_THROW( () );
-inline sal_Bool SAL_CALL operator >>= ( const Any & rAny, sal_uInt16 & value ) SAL_THROW( () );
+inline sal_Bool SAL_CALL operator >>= ( const Any & rAny, sal_Int16 & value ) SAL_THROW(());
+inline sal_Bool SAL_CALL operator >>= ( const Any & rAny, sal_uInt16 & value ) SAL_THROW(());
// long
-inline sal_Bool SAL_CALL operator >>= ( const Any & rAny, sal_Int32 & value ) SAL_THROW( () );
-inline sal_Bool SAL_CALL operator >>= ( const Any & rAny, sal_uInt32 & value ) SAL_THROW( () );
+inline sal_Bool SAL_CALL operator >>= ( const Any & rAny, sal_Int32 & value ) SAL_THROW(());
+inline sal_Bool SAL_CALL operator >>= ( const Any & rAny, sal_uInt32 & value ) SAL_THROW(());
// hyper
-inline sal_Bool SAL_CALL operator >>= ( const Any & rAny, sal_Int64 & value ) SAL_THROW( () );
-inline sal_Bool SAL_CALL operator >>= ( const Any & rAny, sal_uInt64 & value ) SAL_THROW( () );
+inline sal_Bool SAL_CALL operator >>= ( const Any & rAny, sal_Int64 & value ) SAL_THROW(());
+inline sal_Bool SAL_CALL operator >>= ( const Any & rAny, sal_uInt64 & value ) SAL_THROW(());
// float
-inline sal_Bool SAL_CALL operator >>= ( const Any & rAny, float & value ) SAL_THROW( () );
+inline sal_Bool SAL_CALL operator >>= ( const Any & rAny, float & value ) SAL_THROW(());
// double
-inline sal_Bool SAL_CALL operator >>= ( const Any & rAny, double & value ) SAL_THROW( () );
+inline sal_Bool SAL_CALL operator >>= ( const Any & rAny, double & value ) SAL_THROW(());
// string
-inline sal_Bool SAL_CALL operator >>= ( const Any & rAny, ::rtl::OUString & value ) SAL_THROW( () );
-inline sal_Bool SAL_CALL operator == ( const Any & rAny, const ::rtl::OUString & value ) SAL_THROW( () );
+inline sal_Bool SAL_CALL operator >>= ( const Any & rAny, ::rtl::OUString & value ) SAL_THROW(());
+inline sal_Bool SAL_CALL operator == ( const Any & rAny, const ::rtl::OUString & value ) SAL_THROW(());
// type
-inline sal_Bool SAL_CALL operator >>= ( const Any & rAny, Type & value ) SAL_THROW( () );
-inline sal_Bool SAL_CALL operator == ( const Any & rAny, const Type & value ) SAL_THROW( () );
+inline sal_Bool SAL_CALL operator >>= ( const Any & rAny, Type & value ) SAL_THROW(());
+inline sal_Bool SAL_CALL operator == ( const Any & rAny, const Type & value ) SAL_THROW(());
// any
-inline sal_Bool SAL_CALL operator >>= ( const Any & rAny, Any & value ) SAL_THROW( () );
+inline sal_Bool SAL_CALL operator >>= ( const Any & rAny, Any & value ) SAL_THROW(());
// interface
-inline sal_Bool SAL_CALL operator == ( const Any & rAny, const BaseReference & value ) SAL_THROW( () );
+inline sal_Bool SAL_CALL operator == ( const Any & rAny, const BaseReference & value ) SAL_THROW(());
}
}
@@ -375,7 +375,7 @@ inline sal_Bool SAL_CALL operator == ( const Any & rAny, const BaseReference & v
@return type of IDL type any
*/
-inline const ::com::sun::star::uno::Type & SAL_CALL getCppuType( SAL_UNUSED_PARAMETER const ::com::sun::star::uno::Any * ) SAL_THROW( () )
+inline const ::com::sun::star::uno::Type & SAL_CALL getCppuType( SAL_UNUSED_PARAMETER const ::com::sun::star::uno::Any * ) SAL_THROW(())
{
return ::cppu::UnoType< ::com::sun::star::uno::Any >::get();
}
diff --git a/cppu/inc/com/sun/star/uno/Any.hxx b/cppu/inc/com/sun/star/uno/Any.hxx
index 8ea8c43..56a782e 100644
--- a/cppu/inc/com/sun/star/uno/Any.hxx
+++ b/cppu/inc/com/sun/star/uno/Any.hxx
@@ -45,7 +45,7 @@ namespace uno
{
//__________________________________________________________________________________________________
-inline Any::Any() SAL_THROW( () )
+inline Any::Any() SAL_THROW(())
{
::uno_any_construct( this, 0, 0, (uno_AcquireFunc)cpp_acquire );
}
@@ -69,37 +69,37 @@ inline Any::Any( bool value )
}
//__________________________________________________________________________________________________
-inline Any::Any( const Any & rAny ) SAL_THROW( () )
+inline Any::Any( const Any & rAny ) SAL_THROW(())
{
::uno_type_any_construct( this, rAny.pData, rAny.pType, (uno_AcquireFunc)cpp_acquire );
}
//__________________________________________________________________________________________________
-inline Any::Any( const void * pData_, const Type & rType ) SAL_THROW( () )
+inline Any::Any( const void * pData_, const Type & rType ) SAL_THROW(())
{
::uno_type_any_construct(
this, const_cast< void * >( pData_ ), rType.getTypeLibType(),
(uno_AcquireFunc)cpp_acquire );
}
//__________________________________________________________________________________________________
-inline Any::Any( const void * pData_, typelib_TypeDescription * pTypeDescr ) SAL_THROW( () )
+inline Any::Any( const void * pData_, typelib_TypeDescription * pTypeDescr ) SAL_THROW(())
{
::uno_any_construct(
this, const_cast< void * >( pData_ ), pTypeDescr, (uno_AcquireFunc)cpp_acquire );
}
//__________________________________________________________________________________________________
-inline Any::Any( const void * pData_, typelib_TypeDescriptionReference * pType_ ) SAL_THROW( () )
+inline Any::Any( const void * pData_, typelib_TypeDescriptionReference * pType_ ) SAL_THROW(())
{
::uno_type_any_construct(
this, const_cast< void * >( pData_ ), pType_, (uno_AcquireFunc)cpp_acquire );
}
//__________________________________________________________________________________________________
-inline Any::~Any() SAL_THROW( () )
+inline Any::~Any() SAL_THROW(())
{
::uno_any_destruct(
this, (uno_ReleaseFunc)cpp_release );
}
//__________________________________________________________________________________________________
-inline Any & Any::operator = ( const Any & rAny ) SAL_THROW( () )
+inline Any & Any::operator = ( const Any & rAny ) SAL_THROW(())
{
if (this != &rAny)
{
@@ -110,39 +110,39 @@ inline Any & Any::operator = ( const Any & rAny ) SAL_THROW( () )
return *this;
}
//__________________________________________________________________________________________________
-inline ::rtl::OUString Any::getValueTypeName() const SAL_THROW( () )
+inline ::rtl::OUString Any::getValueTypeName() const SAL_THROW(())
{
return ::rtl::OUString( pType->pTypeName );
}
//__________________________________________________________________________________________________
-inline void Any::setValue( const void * pData_, const Type & rType ) SAL_THROW( () )
+inline void Any::setValue( const void * pData_, const Type & rType ) SAL_THROW(())
{
::uno_type_any_assign(
this, const_cast< void * >( pData_ ), rType.getTypeLibType(),
(uno_AcquireFunc)cpp_acquire, (uno_ReleaseFunc)cpp_release );
}
//__________________________________________________________________________________________________
-inline void Any::setValue( const void * pData_, typelib_TypeDescriptionReference * pType_ ) SAL_THROW( () )
+inline void Any::setValue( const void * pData_, typelib_TypeDescriptionReference * pType_ ) SAL_THROW(())
{
::uno_type_any_assign(
this, const_cast< void * >( pData_ ), pType_,
(uno_AcquireFunc)cpp_acquire, (uno_ReleaseFunc)cpp_release );
}
//__________________________________________________________________________________________________
-inline void Any::setValue( const void * pData_, typelib_TypeDescription * pTypeDescr ) SAL_THROW( () )
+inline void Any::setValue( const void * pData_, typelib_TypeDescription * pTypeDescr ) SAL_THROW(())
{
::uno_any_assign(
this, const_cast< void * >( pData_ ), pTypeDescr,
(uno_AcquireFunc)cpp_acquire, (uno_ReleaseFunc)cpp_release );
}
//__________________________________________________________________________________________________
-inline void Any::clear() SAL_THROW( () )
+inline void Any::clear() SAL_THROW(())
{
::uno_any_clear(
this, (uno_ReleaseFunc)cpp_release );
}
//__________________________________________________________________________________________________
-inline sal_Bool Any::isExtractableTo( const Type & rType ) const SAL_THROW( () )
+inline sal_Bool Any::isExtractableTo( const Type & rType ) const SAL_THROW(())
{
return ::uno_type_isAssignableFromData(
rType.getTypeLibType(), pData, pType,
@@ -166,14 +166,14 @@ bool Any::has<sal_uInt16>() const;
#endif // ! defined(__SUNPRO_CC)
//__________________________________________________________________________________________________
-inline sal_Bool Any::operator == ( const Any & rAny ) const SAL_THROW( () )
+inline sal_Bool Any::operator == ( const Any & rAny ) const SAL_THROW(())
{
return ::uno_type_equalData(
pData, pType, rAny.pData, rAny.pType,
(uno_QueryInterfaceFunc)cpp_queryInterface, (uno_ReleaseFunc)cpp_release );
}
//__________________________________________________________________________________________________
-inline sal_Bool Any::operator != ( const Any & rAny ) const SAL_THROW( () )
+inline sal_Bool Any::operator != ( const Any & rAny ) const SAL_THROW(())
{
return (! ::uno_type_equalData(
pData, pType, rAny.pData, rAny.pType,
@@ -182,7 +182,7 @@ inline sal_Bool Any::operator != ( const Any & rAny ) const SAL_THROW( () )
//__________________________________________________________________________________________________
template< class C >
-inline Any SAL_CALL makeAny( const C & value ) SAL_THROW( () )
+inline Any SAL_CALL makeAny( const C & value ) SAL_THROW(())
{
return Any( &value, ::cppu::getTypeFavourUnsigned(&value) );
}
@@ -190,7 +190,7 @@ inline Any SAL_CALL makeAny( const C & value ) SAL_THROW( () )
// additionally specialized for C++ bool
//______________________________________________________________________________
template<>
-inline Any SAL_CALL makeAny( bool const & value ) SAL_THROW( () )
+inline Any SAL_CALL makeAny( bool const & value ) SAL_THROW(())
{
const sal_Bool b = value;
return Any( &b, ::getCppuBooleanType() );
@@ -198,7 +198,7 @@ inline Any SAL_CALL makeAny( bool const & value ) SAL_THROW( () )
//__________________________________________________________________________________________________
template< class C >
-inline void SAL_CALL operator <<= ( Any & rAny, const C & value ) SAL_THROW( () )
+inline void SAL_CALL operator <<= ( Any & rAny, const C & value ) SAL_THROW(())
{
const Type & rType = ::cppu::getTypeFavourUnsigned(&value);
::uno_type_any_assign(
@@ -209,7 +209,7 @@ inline void SAL_CALL operator <<= ( Any & rAny, const C & value ) SAL_THROW( ()
// additionally for C++ bool:
//______________________________________________________________________________
inline void SAL_CALL operator <<= ( Any & rAny, bool const & value )
- SAL_THROW( () )
+ SAL_THROW(())
{
sal_Bool b = value;
::uno_type_any_assign(
@@ -219,7 +219,7 @@ inline void SAL_CALL operator <<= ( Any & rAny, bool const & value )
//__________________________________________________________________________________________________
template< class C >
-inline sal_Bool SAL_CALL operator >>= ( const Any & rAny, C & value ) SAL_THROW( () )
+inline sal_Bool SAL_CALL operator >>= ( const Any & rAny, C & value ) SAL_THROW(())
{
const Type & rType = ::cppu::getTypeFavourUnsigned(&value);
return ::uno_type_assignData(
@@ -231,7 +231,7 @@ inline sal_Bool SAL_CALL operator >>= ( const Any & rAny, C & value ) SAL_THROW(
// bool
//__________________________________________________________________________________________________
-inline sal_Bool SAL_CALL operator >>= ( const ::com::sun::star::uno::Any & rAny, sal_Bool & value ) SAL_THROW( () )
+inline sal_Bool SAL_CALL operator >>= ( const ::com::sun::star::uno::Any & rAny, sal_Bool & value ) SAL_THROW(())
{
if (typelib_TypeClass_BOOLEAN == rAny.pType->eTypeClass)
{
@@ -241,7 +241,7 @@ inline sal_Bool SAL_CALL operator >>= ( const ::com::sun::star::uno::Any & rAny,
return sal_False;
}
//__________________________________________________________________________________________________
-inline sal_Bool SAL_CALL operator == ( const Any & rAny, const sal_Bool & value ) SAL_THROW( () )
+inline sal_Bool SAL_CALL operator == ( const Any & rAny, const sal_Bool & value ) SAL_THROW(())
{
return (typelib_TypeClass_BOOLEAN == rAny.pType->eTypeClass &&
(value != sal_False) == (* reinterpret_cast< const sal_Bool * >( rAny.pData ) != sal_False));
@@ -250,7 +250,7 @@ inline sal_Bool SAL_CALL operator == ( const Any & rAny, const sal_Bool & value
//______________________________________________________________________________
template<>
inline sal_Bool SAL_CALL operator >>= ( Any const & rAny, bool & value )
- SAL_THROW( () )
+ SAL_THROW(())
{
if (rAny.pType->eTypeClass == typelib_TypeClass_BOOLEAN)
{
@@ -264,7 +264,7 @@ inline sal_Bool SAL_CALL operator >>= ( Any const & rAny, bool & value )
//______________________________________________________________________________
template<>
inline sal_Bool SAL_CALL operator == ( Any const & rAny, bool const & value )
- SAL_THROW( () )
+ SAL_THROW(())
{
return (rAny.pType->eTypeClass == typelib_TypeClass_BOOLEAN &&
(value ==
@@ -274,7 +274,7 @@ inline sal_Bool SAL_CALL operator == ( Any const & rAny, bool const & value )
// byte
//__________________________________________________________________________________________________
-inline sal_Bool SAL_CALL operator >>= ( const ::com::sun::star::uno::Any & rAny, sal_Int8 & value ) SAL_THROW( () )
+inline sal_Bool SAL_CALL operator >>= ( const ::com::sun::star::uno::Any & rAny, sal_Int8 & value ) SAL_THROW(())
{
if (typelib_TypeClass_BYTE == rAny.pType->eTypeClass)
{
@@ -285,7 +285,7 @@ inline sal_Bool SAL_CALL operator >>= ( const ::com::sun::star::uno::Any & rAny,
}
// short
//__________________________________________________________________________________________________
-inline sal_Bool SAL_CALL operator >>= ( const Any & rAny, sal_Int16 & value ) SAL_THROW( () )
+inline sal_Bool SAL_CALL operator >>= ( const Any & rAny, sal_Int16 & value ) SAL_THROW(())
{
switch (rAny.pType->eTypeClass)
{
@@ -301,7 +301,7 @@ inline sal_Bool SAL_CALL operator >>= ( const Any & rAny, sal_Int16 & value ) SA
}
}
//__________________________________________________________________________________________________
-inline sal_Bool SAL_CALL operator >>= ( const Any & rAny, sal_uInt16 & value ) SAL_THROW( () )
... etc. - the rest is truncated
More information about the Libreoffice-commits
mailing list