Kaydet (Commit) 2e1faa12 authored tarafından Tor Lillqvist's avatar Tor Lillqvist Kaydeden (comit) Tor Lillqvist

WaE: unreferenced local variable

üst ece70bbf
......@@ -422,9 +422,9 @@ Any BaseResultSet::convertTo( const Any & val , const Type & type )
{
aRet = m_tc->convertTo( val , type );
}
catch( com::sun::star::lang::IllegalArgumentException & e )
catch( com::sun::star::lang::IllegalArgumentException & )
{}
catch( com::sun::star::script::CannotConvertException & e )
catch( com::sun::star::script::CannotConvertException & )
{}
return aRet;
}
......
......@@ -263,7 +263,7 @@ sal_Int32 ResultSetMetaData::getIntColumnProperty( const rtl::OUString & name, i
set->getPropertyValue( name ) >>= ret;
}
}
catch( com::sun::star::uno::Exception & e )
catch( com::sun::star::uno::Exception & )
{
}
return ret;
......@@ -282,7 +282,7 @@ sal_Bool ResultSetMetaData::getBoolColumnProperty( const rtl::OUString & name, i
set->getPropertyValue( name ) >>= ret;
}
}
catch( com::sun::star::uno::Exception & e )
catch( com::sun::star::uno::Exception & )
{
}
......@@ -462,7 +462,7 @@ sal_Int32 ResultSetMetaData::getColumnType( sal_Int32 column )
ret = m_colDesc[column-1].typeName;
}
}
catch( com::sun::star::uno::Exception & e )
catch( com::sun::star::uno::Exception & )
{
}
return ret;
......
......@@ -360,7 +360,7 @@ void disposeNoThrow( const com::sun::star::uno::Reference< com::sun::star::uno::
{
disposeObject( r );
}
catch( SQLException & e )
catch( SQLException & )
{
// ignore this
}
......@@ -437,7 +437,7 @@ TransactionGuard::~TransactionGuard()
if( ! m_commited )
m_stmt->executeUpdate( getStatics().ROLLBACK );
}
catch( com::sun::star::uno::Exception & e )
catch( com::sun::star::uno::Exception & )
{
// ignore, we are within a dtor
}
......
......@@ -491,13 +491,13 @@ void Container::fire( const EventBroadcastHelper &helper )
{
helper.fire( (XEventListener * ) iterator.next() );
}
catch ( com::sun::star::uno::RuntimeException & e )
catch ( com::sun::star::uno::RuntimeException & )
{
OSL_ENSURE( 0, "exception catched" );
// loose coupling, a runtime exception shall not break anything
// TODO: log away as warning !
}
catch( com::sun::star::uno::Exception & e )
catch( com::sun::star::uno::Exception & )
{
OSL_ENSURE( 0, "exception from listener flying through" );
throw;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment