summaryrefslogtreecommitdiff
path: root/xmlhelp/source/cxxhelp/provider/resultsetbase.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmlhelp/source/cxxhelp/provider/resultsetbase.cxx')
-rw-r--r--xmlhelp/source/cxxhelp/provider/resultsetbase.cxx76
1 files changed, 38 insertions, 38 deletions
diff --git a/xmlhelp/source/cxxhelp/provider/resultsetbase.cxx b/xmlhelp/source/cxxhelp/provider/resultsetbase.cxx
index 9cd9cf2e8ae1..d0eabfb071d7 100644
--- a/xmlhelp/source/cxxhelp/provider/resultsetbase.cxx
+++ b/xmlhelp/source/cxxhelp/provider/resultsetbase.cxx
@@ -82,7 +82,7 @@ ResultSetBase::release(
uno::Any SAL_CALL
ResultSetBase::queryInterface(
const uno::Type& rType )
- throw( uno::RuntimeException )
+ throw( uno::RuntimeException, std::exception )
{
uno::Any aRet = cppu::queryInterface( rType,
(static_cast< lang::XComponent* >(this)),
@@ -102,7 +102,7 @@ ResultSetBase::queryInterface(
void SAL_CALL
ResultSetBase::addEventListener(
const uno::Reference< lang::XEventListener >& Listener )
- throw( uno::RuntimeException )
+ throw( uno::RuntimeException, std::exception )
{
osl::MutexGuard aGuard( m_aMutex );
@@ -117,7 +117,7 @@ ResultSetBase::addEventListener(
void SAL_CALL
ResultSetBase::removeEventListener(
const uno::Reference< lang::XEventListener >& Listener )
- throw( uno::RuntimeException )
+ throw( uno::RuntimeException, std::exception )
{
osl::MutexGuard aGuard( m_aMutex );
@@ -129,7 +129,7 @@ ResultSetBase::removeEventListener(
void SAL_CALL
ResultSetBase::dispose()
- throw( uno::RuntimeException )
+ throw( uno::RuntimeException, std::exception )
{
osl::MutexGuard aGuard( m_aMutex );
@@ -158,7 +158,7 @@ sal_Bool SAL_CALL
ResultSetBase::next(
void )
throw( sdbc::SQLException,
- uno::RuntimeException )
+ uno::RuntimeException, std::exception )
{
sal_Bool test;
m_nRow++;
@@ -174,7 +174,7 @@ sal_Bool SAL_CALL
ResultSetBase::isBeforeFirst(
void )
throw( sdbc::SQLException,
- uno::RuntimeException )
+ uno::RuntimeException, std::exception )
{
return m_nRow == -1;
}
@@ -184,7 +184,7 @@ sal_Bool SAL_CALL
ResultSetBase::isAfterLast(
void )
throw( sdbc::SQLException,
- uno::RuntimeException )
+ uno::RuntimeException, std::exception )
{
return sal::static_int_cast<sal_uInt32>( m_nRow ) >= m_aItems.size(); // Cannot happen, if m_aFolder.isOpen()
}
@@ -194,7 +194,7 @@ sal_Bool SAL_CALL
ResultSetBase::isFirst(
void )
throw( sdbc::SQLException,
- uno::RuntimeException )
+ uno::RuntimeException, std::exception )
{
return m_nRow == 0;
}
@@ -204,7 +204,7 @@ sal_Bool SAL_CALL
ResultSetBase::isLast(
void )
throw( sdbc::SQLException,
- uno::RuntimeException)
+ uno::RuntimeException, std::exception)
{
if( sal::static_int_cast<sal_uInt32>( m_nRow ) == m_aItems.size() - 1 )
return true;
@@ -217,7 +217,7 @@ void SAL_CALL
ResultSetBase::beforeFirst(
void )
throw( sdbc::SQLException,
- uno::RuntimeException)
+ uno::RuntimeException, std::exception)
{
m_nRow = -1;
}
@@ -227,7 +227,7 @@ void SAL_CALL
ResultSetBase::afterLast(
void )
throw( sdbc::SQLException,
- uno::RuntimeException )
+ uno::RuntimeException, std::exception )
{
m_nRow = m_aItems.size();
}
@@ -237,7 +237,7 @@ sal_Bool SAL_CALL
ResultSetBase::first(
void )
throw( sdbc::SQLException,
- uno::RuntimeException)
+ uno::RuntimeException, std::exception)
{
m_nRow = -1;
return next();
@@ -248,7 +248,7 @@ sal_Bool SAL_CALL
ResultSetBase::last(
void )
throw( sdbc::SQLException,
- uno::RuntimeException )
+ uno::RuntimeException, std::exception )
{
m_nRow = m_aItems.size() - 1;
return true;
@@ -259,7 +259,7 @@ sal_Int32 SAL_CALL
ResultSetBase::getRow(
void )
throw( sdbc::SQLException,
- uno::RuntimeException)
+ uno::RuntimeException, std::exception)
{
// Test, whether behind last row
if( -1 == m_nRow || sal::static_int_cast<sal_uInt32>( m_nRow ) >= m_aItems.size() )
@@ -270,7 +270,7 @@ ResultSetBase::getRow(
sal_Bool SAL_CALL ResultSetBase::absolute( sal_Int32 row )
- throw( sdbc::SQLException, uno::RuntimeException)
+ throw( sdbc::SQLException, uno::RuntimeException, std::exception)
{
if( row >= 0 )
m_nRow = row - 1;
@@ -292,7 +292,7 @@ sal_Bool SAL_CALL
ResultSetBase::relative(
sal_Int32 row )
throw( sdbc::SQLException,
- uno::RuntimeException)
+ uno::RuntimeException, std::exception)
{
if( isAfterLast() || isBeforeFirst() )
throw sdbc::SQLException();
@@ -313,7 +313,7 @@ sal_Bool SAL_CALL
ResultSetBase::previous(
void )
throw( sdbc::SQLException,
- uno::RuntimeException)
+ uno::RuntimeException, std::exception)
{
if( sal::static_int_cast<sal_uInt32>( m_nRow ) > m_aItems.size() )
m_nRow = m_aItems.size(); // Correct Handling of afterLast
@@ -327,7 +327,7 @@ void SAL_CALL
ResultSetBase::refreshRow(
void )
throw( sdbc::SQLException,
- uno::RuntimeException)
+ uno::RuntimeException, std::exception)
{
}
@@ -336,7 +336,7 @@ sal_Bool SAL_CALL
ResultSetBase::rowUpdated(
void )
throw( sdbc::SQLException,
- uno::RuntimeException )
+ uno::RuntimeException, std::exception )
{
return false;
}
@@ -345,7 +345,7 @@ sal_Bool SAL_CALL
ResultSetBase::rowInserted(
void )
throw( sdbc::SQLException,
- uno::RuntimeException )
+ uno::RuntimeException, std::exception )
{
return false;
}
@@ -354,7 +354,7 @@ sal_Bool SAL_CALL
ResultSetBase::rowDeleted(
void )
throw( sdbc::SQLException,
- uno::RuntimeException )
+ uno::RuntimeException, std::exception )
{
return false;
}
@@ -364,7 +364,7 @@ uno::Reference< uno::XInterface > SAL_CALL
ResultSetBase::getStatement(
void )
throw( sdbc::SQLException,
- uno::RuntimeException )
+ uno::RuntimeException, std::exception )
{
uno::Reference< uno::XInterface > test( 0 );
return test;
@@ -377,7 +377,7 @@ void SAL_CALL
ResultSetBase::close(
void )
throw( sdbc::SQLException,
- uno::RuntimeException)
+ uno::RuntimeException, std::exception)
{
}
@@ -385,7 +385,7 @@ ResultSetBase::close(
OUString SAL_CALL
ResultSetBase::queryContentIdentifierString(
void )
- throw( uno::RuntimeException )
+ throw( uno::RuntimeException, std::exception )
{
if( 0 <= m_nRow && sal::static_int_cast<sal_uInt32>( m_nRow ) < m_aItems.size() )
return m_aPath[m_nRow];
@@ -397,7 +397,7 @@ ResultSetBase::queryContentIdentifierString(
uno::Reference< ucb::XContentIdentifier > SAL_CALL
ResultSetBase::queryContentIdentifier(
void )
- throw( uno::RuntimeException )
+ throw( uno::RuntimeException, std::exception )
{
if( 0 <= m_nRow && sal::static_int_cast<sal_uInt32>( m_nRow ) < m_aItems.size() )
{
@@ -415,7 +415,7 @@ ResultSetBase::queryContentIdentifier(
uno::Reference< ucb::XContent > SAL_CALL
ResultSetBase::queryContent(
void )
- throw( uno::RuntimeException )
+ throw( uno::RuntimeException, std::exception )
{
if( 0 <= m_nRow && sal::static_int_cast<sal_uInt32>( m_nRow ) < m_aItems.size() )
return m_xProvider->queryContent( queryContentIdentifier() );
@@ -450,7 +450,7 @@ public:
}
uno::Any SAL_CALL queryInterface( const uno::Type& rType )
- throw( uno::RuntimeException )
+ throw( uno::RuntimeException, std::exception )
{
uno::Any aRet = cppu::queryInterface( rType,
(static_cast< beans::XPropertySetInfo* >(this)) );
@@ -458,14 +458,14 @@ public:
}
uno::Sequence< beans::Property > SAL_CALL getProperties()
- throw( uno::RuntimeException )
+ throw( uno::RuntimeException, std::exception )
{
return m_aSeq;
}
beans::Property SAL_CALL getPropertyByName( const OUString& aName )
throw( beans::UnknownPropertyException,
- uno::RuntimeException)
+ uno::RuntimeException, std::exception)
{
for( int i = 0; i < m_aSeq.getLength(); ++i )
if( aName == m_aSeq[i].Name )
@@ -474,7 +474,7 @@ public:
}
sal_Bool SAL_CALL hasPropertyByName( const OUString& Name )
- throw( uno::RuntimeException )
+ throw( uno::RuntimeException, std::exception )
{
for( int i = 0; i < m_aSeq.getLength(); ++i )
if( Name == m_aSeq[i].Name )
@@ -492,7 +492,7 @@ private:
// XPropertySet
uno::Reference< beans::XPropertySetInfo > SAL_CALL
ResultSetBase::getPropertySetInfo()
- throw( uno::RuntimeException)
+ throw( uno::RuntimeException, std::exception)
{
uno::Sequence< beans::Property > seq(2);
seq[0].Name = "RowCount";
@@ -517,7 +517,7 @@ void SAL_CALL ResultSetBase::setPropertyValue(
beans::PropertyVetoException,
lang::IllegalArgumentException,
lang::WrappedTargetException,
- uno::RuntimeException)
+ uno::RuntimeException, std::exception)
{
(void)aValue;
@@ -533,7 +533,7 @@ uno::Any SAL_CALL ResultSetBase::getPropertyValue(
const OUString& PropertyName )
throw( beans::UnknownPropertyException,
lang::WrappedTargetException,
- uno::RuntimeException)
+ uno::RuntimeException, std::exception)
{
if( PropertyName == "IsRowCountFinal" )
{
@@ -558,7 +558,7 @@ void SAL_CALL ResultSetBase::addPropertyChangeListener(
const uno::Reference< beans::XPropertyChangeListener >& xListener )
throw( beans::UnknownPropertyException,
lang::WrappedTargetException,
- uno::RuntimeException)
+ uno::RuntimeException, std::exception)
{
if( aPropertyName == "IsRowCountFinal" )
{
@@ -587,7 +587,7 @@ void SAL_CALL ResultSetBase::removePropertyChangeListener(
const uno::Reference< beans::XPropertyChangeListener >& aListener )
throw( beans::UnknownPropertyException,
lang::WrappedTargetException,
- uno::RuntimeException)
+ uno::RuntimeException, std::exception)
{
if( aPropertyName == "IsRowCountFinal" &&
m_pIsFinalListeners )
@@ -611,7 +611,7 @@ void SAL_CALL ResultSetBase::addVetoableChangeListener(
const uno::Reference< beans::XVetoableChangeListener >& aListener )
throw( beans::UnknownPropertyException,
lang::WrappedTargetException,
- uno::RuntimeException)
+ uno::RuntimeException, std::exception)
{
(void)PropertyName;
(void)aListener;
@@ -623,7 +623,7 @@ void SAL_CALL ResultSetBase::removeVetoableChangeListener(
const uno::Reference< beans::XVetoableChangeListener >& aListener )
throw( beans::UnknownPropertyException,
lang::WrappedTargetException,
- uno::RuntimeException)
+ uno::RuntimeException, std::exception)
{
(void)PropertyName;
(void)aListener;
@@ -636,7 +636,7 @@ uno::Reference< sdbc::XResultSetMetaData > SAL_CALL
ResultSetBase::getMetaData(
void )
throw( sdbc::SQLException,
- uno::RuntimeException )
+ uno::RuntimeException, std::exception )
{
::ucbhelper::ResultSetMetaData* p =
new ::ucbhelper::ResultSetMetaData( m_xContext, m_sProperty );