summaryrefslogtreecommitdiffstats
path: root/connectivity
diff options
context:
space:
mode:
authorTor Lillqvist <tlillqvist@suse.com>2012-02-09 10:41:16 +0200
committerTor Lillqvist <tml@iki.fi>2012-02-10 14:05:14 +0200
commit2e1faa12faf81c28dbf3ce005ecd16c27770b9ca (patch)
tree47489e5954b5151a7a650358740107199d2dce15 /connectivity
parentSilence silly MSVC "deprecation" warnings too (diff)
downloadcore-2e1faa12faf81c28dbf3ce005ecd16c27770b9ca.tar.gz
core-2e1faa12faf81c28dbf3ce005ecd16c27770b9ca.zip
WaE: unreferenced local variable
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/drivers/postgresql/pq_baseresultset.cxx4
-rw-r--r--connectivity/source/drivers/postgresql/pq_resultsetmetadata.cxx6
-rw-r--r--connectivity/source/drivers/postgresql/pq_tools.cxx4
-rw-r--r--connectivity/source/drivers/postgresql/pq_xcontainer.cxx4
4 files changed, 9 insertions, 9 deletions
diff --git a/connectivity/source/drivers/postgresql/pq_baseresultset.cxx b/connectivity/source/drivers/postgresql/pq_baseresultset.cxx
index 8318080dc95a..180c3c60a261 100644
--- a/connectivity/source/drivers/postgresql/pq_baseresultset.cxx
+++ b/connectivity/source/drivers/postgresql/pq_baseresultset.cxx
@@ -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;
}
diff --git a/connectivity/source/drivers/postgresql/pq_resultsetmetadata.cxx b/connectivity/source/drivers/postgresql/pq_resultsetmetadata.cxx
index a67ca4326476..8fde1d13fcb9 100644
--- a/connectivity/source/drivers/postgresql/pq_resultsetmetadata.cxx
+++ b/connectivity/source/drivers/postgresql/pq_resultsetmetadata.cxx
@@ -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;
diff --git a/connectivity/source/drivers/postgresql/pq_tools.cxx b/connectivity/source/drivers/postgresql/pq_tools.cxx
index c27bf154e0db..d54d6d33803f 100644
--- a/connectivity/source/drivers/postgresql/pq_tools.cxx
+++ b/connectivity/source/drivers/postgresql/pq_tools.cxx
@@ -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
}
diff --git a/connectivity/source/drivers/postgresql/pq_xcontainer.cxx b/connectivity/source/drivers/postgresql/pq_xcontainer.cxx
index a1dc2109bf79..e28c7f2cb8fa 100644
--- a/connectivity/source/drivers/postgresql/pq_xcontainer.cxx
+++ b/connectivity/source/drivers/postgresql/pq_xcontainer.cxx
@@ -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;