various: remove SAL_THROW macro

Change-Id: I9464179a736b91f5bc32eb5e5e89b3b4e3da3494
This commit is contained in:
Noel Grandin
2014-06-05 08:16:59 +02:00
parent db246b491c
commit 0e507ae031
98 changed files with 564 additions and 683 deletions

View File

@@ -46,7 +46,7 @@ namespace framework
*/
extern "C"
{
static int SAL_CALL compare_OUString_Property_Impl( const void *arg1, const void *arg2 ) SAL_THROW(())
static int SAL_CALL compare_OUString_Property_Impl( const void *arg1, const void *arg2 )
{
return ((OUString *)arg1)->compareTo( ((Property *)arg2)->Name );
}
@@ -58,7 +58,7 @@ class OPropertySetHelperInfo_Impl
Sequence < Property > aInfos;
public:
OPropertySetHelperInfo_Impl( IPropertyArrayHelper & rHelper_ ) SAL_THROW(());
OPropertySetHelperInfo_Impl( IPropertyArrayHelper & rHelper_ );
// XPropertySetInfo-Methoden
virtual Sequence< Property > SAL_CALL getProperties(void) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
@@ -71,7 +71,6 @@ public:
*/
OPropertySetHelperInfo_Impl::OPropertySetHelperInfo_Impl(
IPropertyArrayHelper & rHelper_ )
SAL_THROW(())
:aInfos( rHelper_.getProperties() )
{
}
@@ -408,7 +407,7 @@ const com::sun::star::uno::Sequence< com::sun::star::beans::Property > ConstItem
}
Reference < XPropertySetInfo > ConstItemContainer::createPropertySetInfo(
IPropertyArrayHelper & rProperties ) SAL_THROW(())
IPropertyArrayHelper & rProperties )
{
return static_cast< XPropertySetInfo * >( new OPropertySetHelperInfo_Impl( rProperties ) );
}

View File

@@ -50,7 +50,6 @@ DEFINE_INIT_SERVICE(
void flatten_struct_members(
::std::vector< Any > * vec, void const * data,
typelib_CompoundTypeDescription * pTD )
SAL_THROW(())
{
if (pTD->pBaseTypeDescription)
{
@@ -65,7 +64,6 @@ void flatten_struct_members(
Sequence< Any > make_seq_out_of_struct(
Any const & val )
SAL_THROW( (RuntimeException) )
{
Type const & type = val.getValueType();
TypeClass eTypeClass = type.getTypeClass();