std::exception retrofit sequel

Change-Id: Ide9234c50592fe4f12eb1f6ea836ad60ce4697df
This commit is contained in:
Stephan Bergmann 2014-02-27 08:38:36 +01:00
parent f73ffb91b8
commit c6d114be1f
2 changed files with 4 additions and 4 deletions

View File

@ -88,7 +88,7 @@ private:
class Impl1: public Interface1, private Base {
public:
virtual css::uno::Any SAL_CALL queryInterface(css::uno::Type const & type)
throw (css::uno::RuntimeException)
throw (css::uno::RuntimeException, std::exception)
{
if (type
== getCppuType< css::uno::Reference< css::uno::XInterface > >())
@ -116,7 +116,7 @@ public:
class Impl2: public Interface2a, public Interface3, private Base {
public:
virtual css::uno::Any SAL_CALL queryInterface(css::uno::Type const & type)
throw (css::uno::RuntimeException)
throw (css::uno::RuntimeException, std::exception)
{
if (type
== getCppuType< css::uno::Reference< css::uno::XInterface > >())
@ -152,7 +152,7 @@ public:
class Impl2b: public Interface2b, private Base {
public:
virtual css::uno::Any SAL_CALL queryInterface(css::uno::Type const & type)
throw (css::uno::RuntimeException)
throw (css::uno::RuntimeException, std::exception)
{
if (type
== getCppuType< css::uno::Reference< css::uno::XInterface > >())

View File

@ -48,7 +48,7 @@ public:
}
virtual Any SAL_CALL queryInterface(const Type & _type)
throw (RuntimeException)
throw (RuntimeException, std::exception)
{
Any aInterface;
if (_type == getCppuType< Reference< XInterface > >())