diff options
Diffstat (limited to 'connectivity/source/sdbcx/VKey.cxx')
-rw-r--r-- | connectivity/source/sdbcx/VKey.cxx | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/connectivity/source/sdbcx/VKey.cxx b/connectivity/source/sdbcx/VKey.cxx index a3c15cd83427..2f1de9327912 100644 --- a/connectivity/source/sdbcx/VKey.cxx +++ b/connectivity/source/sdbcx/VKey.cxx @@ -36,14 +36,14 @@ using namespace ::com::sun::star::container; using namespace ::com::sun::star::lang; -OUString SAL_CALL OKey::getImplementationName( ) throw (css::uno::RuntimeException, std::exception) +OUString SAL_CALL OKey::getImplementationName( ) { if(isNew()) return OUString("com.sun.star.sdbcx.VKeyDescription"); return OUString("com.sun.star.sdbcx.VKey"); } -css::uno::Sequence< OUString > SAL_CALL OKey::getSupportedServiceNames( ) throw(css::uno::RuntimeException, std::exception) +css::uno::Sequence< OUString > SAL_CALL OKey::getSupportedServiceNames( ) { css::uno::Sequence< OUString > aSupported(1); if(isNew()) @@ -54,7 +54,7 @@ css::uno::Sequence< OUString > SAL_CALL OKey::getSupportedServiceNames( ) throw return aSupported; } -sal_Bool SAL_CALL OKey::supportsService( const OUString& _rServiceName ) throw(css::uno::RuntimeException, std::exception) +sal_Bool SAL_CALL OKey::supportsService( const OUString& _rServiceName ) { return cppu::supportsService(this, _rServiceName); } @@ -94,7 +94,7 @@ OKey::~OKey( ) { } -Any SAL_CALL OKey::queryInterface( const Type & rType ) throw(RuntimeException, std::exception) +Any SAL_CALL OKey::queryInterface( const Type & rType ) { Any aRet = ODescriptor::queryInterface( rType); if(!aRet.hasValue()) @@ -108,7 +108,7 @@ Any SAL_CALL OKey::queryInterface( const Type & rType ) throw(RuntimeException, return aRet; } -Sequence< Type > SAL_CALL OKey::getTypes( ) throw(RuntimeException, std::exception) +Sequence< Type > SAL_CALL OKey::getTypes( ) { if(isNew()) return ::comphelper::concatSequences(ODescriptor::getTypes(),ODescriptor_BASE::getTypes()); @@ -150,7 +150,7 @@ void SAL_CALL OKey::disposing() return *getArrayHelper(isNew() ? 1 : 0); } -Reference< css::container::XNameAccess > SAL_CALL OKey::getColumns( ) throw(RuntimeException, std::exception) +Reference< css::container::XNameAccess > SAL_CALL OKey::getColumns( ) { ::osl::MutexGuard aGuard(m_aMutex); checkDisposed(ODescriptor_BASE::rBHelper.bDisposed); @@ -173,7 +173,7 @@ Reference< css::container::XNameAccess > SAL_CALL OKey::getColumns( ) throw(Run return m_pColumns.get(); } -Reference< XPropertySet > SAL_CALL OKey::createDataDescriptor( ) throw(RuntimeException, std::exception) +Reference< XPropertySet > SAL_CALL OKey::createDataDescriptor( ) { ::osl::MutexGuard aGuard(m_aMutex); checkDisposed(ODescriptor_BASE::rBHelper.bDisposed); @@ -182,17 +182,17 @@ Reference< XPropertySet > SAL_CALL OKey::createDataDescriptor( ) throw(RuntimeE return this; } -css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL OKey::getPropertySetInfo( ) throw(css::uno::RuntimeException, std::exception) +css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL OKey::getPropertySetInfo( ) { return ::cppu::OPropertySetHelper::createPropertySetInfo(getInfoHelper()); } -OUString SAL_CALL OKey::getName( ) throw(css::uno::RuntimeException, std::exception) +OUString SAL_CALL OKey::getName( ) { return m_Name; } -void SAL_CALL OKey::setName( const OUString& /*aName*/ ) throw(css::uno::RuntimeException, std::exception) +void SAL_CALL OKey::setName( const OUString& /*aName*/ ) { } |