summaryrefslogtreecommitdiff
path: root/connectivity/source/sdbcx/VIndex.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-02-25 21:31:58 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-02-26 18:22:20 +0100
commit5e21a413c788f839a66d9e4c14e745ed18058db8 (patch)
treed4451246461346a425ad6f796e08bf1514cdd942 /connectivity/source/sdbcx/VIndex.cxx
parent6fc2bd0094a23aafadeef3f4a8c2803d621a588d (diff)
cppuhelper: retrofit std::exception into overriding exception specs
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
Diffstat (limited to 'connectivity/source/sdbcx/VIndex.cxx')
-rw-r--r--connectivity/source/sdbcx/VIndex.cxx20
1 files changed, 10 insertions, 10 deletions
diff --git a/connectivity/source/sdbcx/VIndex.cxx b/connectivity/source/sdbcx/VIndex.cxx
index 7c5d9c0369fc..4de35b272835 100644
--- a/connectivity/source/sdbcx/VIndex.cxx
+++ b/connectivity/source/sdbcx/VIndex.cxx
@@ -38,14 +38,14 @@ using namespace ::com::sun::star::container;
using namespace ::com::sun::star::lang;
-OUString SAL_CALL OIndex::getImplementationName( ) throw (::com::sun::star::uno::RuntimeException)
+OUString SAL_CALL OIndex::getImplementationName( ) throw (::com::sun::star::uno::RuntimeException, std::exception)
{
if(isNew())
return OUString("com.sun.star.sdbcx.VIndexDescriptor");
return OUString("com.sun.star.sdbcx.VIndex");
}
-::com::sun::star::uno::Sequence< OUString > SAL_CALL OIndex::getSupportedServiceNames( ) throw(::com::sun::star::uno::RuntimeException)
+::com::sun::star::uno::Sequence< OUString > SAL_CALL OIndex::getSupportedServiceNames( ) throw(::com::sun::star::uno::RuntimeException, std::exception)
{
::com::sun::star::uno::Sequence< OUString > aSupported(1);
if(isNew())
@@ -56,7 +56,7 @@ OUString SAL_CALL OIndex::getImplementationName( ) throw (::com::sun::star::uno
return aSupported;
}
-sal_Bool SAL_CALL OIndex::supportsService( const OUString& _rServiceName ) throw(::com::sun::star::uno::RuntimeException)
+sal_Bool SAL_CALL OIndex::supportsService( const OUString& _rServiceName ) throw(::com::sun::star::uno::RuntimeException, std::exception)
{
return cppu::supportsService(this, _rServiceName);
}
@@ -101,7 +101,7 @@ OIndex::~OIndex( )
return *OIndex_PROP::getArrayHelper(isNew() ? 1 : 0);
}
-Any SAL_CALL OIndex::queryInterface( const Type & rType ) throw(RuntimeException)
+Any SAL_CALL OIndex::queryInterface( const Type & rType ) throw(RuntimeException, std::exception)
{
Any aRet = ODescriptor::queryInterface( rType);
if(!aRet.hasValue())
@@ -114,7 +114,7 @@ Any SAL_CALL OIndex::queryInterface( const Type & rType ) throw(RuntimeException
return aRet;
}
-Sequence< Type > SAL_CALL OIndex::getTypes( ) throw(RuntimeException)
+Sequence< Type > SAL_CALL OIndex::getTypes( ) throw(RuntimeException, std::exception)
{
if(isNew())
return ::comphelper::concatSequences(ODescriptor::getTypes(),ODescriptor_BASE::getTypes());
@@ -143,7 +143,7 @@ void OIndex::disposing(void)
m_pColumns->disposing();
}
-Reference< ::com::sun::star::container::XNameAccess > SAL_CALL OIndex::getColumns( ) throw(RuntimeException)
+Reference< ::com::sun::star::container::XNameAccess > SAL_CALL OIndex::getColumns( ) throw(RuntimeException, std::exception)
{
::osl::MutexGuard aGuard(m_aMutex);
checkDisposed(ODescriptor_BASE::rBHelper.bDisposed);
@@ -166,7 +166,7 @@ Reference< ::com::sun::star::container::XNameAccess > SAL_CALL OIndex::getColumn
return const_cast<OIndex*>(this)->m_pColumns;
}
-Reference< XPropertySet > SAL_CALL OIndex::createDataDescriptor( ) throw(RuntimeException)
+Reference< XPropertySet > SAL_CALL OIndex::createDataDescriptor( ) throw(RuntimeException, std::exception)
{
::osl::MutexGuard aGuard(m_aMutex);
checkDisposed(ODescriptor_BASE::rBHelper.bDisposed);
@@ -175,17 +175,17 @@ Reference< XPropertySet > SAL_CALL OIndex::createDataDescriptor( ) throw(Runtim
return this;
}
-::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > SAL_CALL OIndex::getPropertySetInfo( ) throw(::com::sun::star::uno::RuntimeException)
+::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > SAL_CALL OIndex::getPropertySetInfo( ) throw(::com::sun::star::uno::RuntimeException, std::exception)
{
return ::cppu::OPropertySetHelper::createPropertySetInfo(getInfoHelper());
}
-OUString SAL_CALL OIndex::getName( ) throw(::com::sun::star::uno::RuntimeException)
+OUString SAL_CALL OIndex::getName( ) throw(::com::sun::star::uno::RuntimeException, std::exception)
{
return m_Name;
}
-void SAL_CALL OIndex::setName( const OUString& /*aName*/ ) throw(::com::sun::star::uno::RuntimeException)
+void SAL_CALL OIndex::setName( const OUString& /*aName*/ ) throw(::com::sun::star::uno::RuntimeException, std::exception)
{
}