[Libreoffice-commits] core.git: connectivity/source
Stephan Bergmann
sbergman at redhat.com
Wed Feb 26 09:47:36 PST 2014
connectivity/source/drivers/macab/MacabStatement.cxx | 4 ++--
connectivity/source/drivers/macab/MacabStatement.hxx | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
New commits:
commit eb4187edbe411ed26861ec8c5b4f29708907cbf4
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Wed Feb 26 18:47:09 2014 +0100
std::exception fixup
Change-Id: I36c9f19580ef2a8e87d68fcc7f3cc3fd56ec7605
diff --git a/connectivity/source/drivers/macab/MacabStatement.cxx b/connectivity/source/drivers/macab/MacabStatement.cxx
index 6b85a0e..1081b8b 100644
--- a/connectivity/source/drivers/macab/MacabStatement.cxx
+++ b/connectivity/source/drivers/macab/MacabStatement.cxx
@@ -362,7 +362,7 @@ void MacabCommonStatement::sortRecords(MacabResultSet *pResult) const throw(SQLE
}
}
-Any SAL_CALL MacabCommonStatement::queryInterface( const Type & rType ) throw(RuntimeException)
+Any SAL_CALL MacabCommonStatement::queryInterface( const Type & rType ) throw(RuntimeException, std::exception)
{
Any aRet = MacabCommonStatement_BASE::queryInterface(rType);
if (!aRet.hasValue())
@@ -370,7 +370,7 @@ Any SAL_CALL MacabCommonStatement::queryInterface( const Type & rType ) throw(Ru
return aRet;
}
-Sequence< Type > SAL_CALL MacabCommonStatement::getTypes( ) throw(RuntimeException)
+Sequence< Type > SAL_CALL MacabCommonStatement::getTypes( ) throw(RuntimeException, std::exception)
{
::cppu::OTypeCollection aTypes( ::getCppuType( (const Reference< XMultiPropertySet > *)0 ),
::getCppuType( (const Reference< XFastPropertySet > *)0 ),
diff --git a/connectivity/source/drivers/macab/MacabStatement.hxx b/connectivity/source/drivers/macab/MacabStatement.hxx
index 75da079..415b426 100644
--- a/connectivity/source/drivers/macab/MacabStatement.hxx
+++ b/connectivity/source/drivers/macab/MacabStatement.hxx
@@ -107,11 +107,11 @@ namespace connectivity
virtual void SAL_CALL acquire() throw();
virtual ::com::sun::star::uno::Any SAL_CALL queryInterface(
const ::com::sun::star::uno::Type & rType
- ) throw(::com::sun::star::uno::RuntimeException);
+ ) throw(::com::sun::star::uno::RuntimeException, std::exception);
// XTypeProvider
virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes(
- ) throw(::com::sun::star::uno::RuntimeException);
+ ) throw(::com::sun::star::uno::RuntimeException, std::exception);
// XPropertySet
virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo(
More information about the Libreoffice-commits
mailing list