Kaydet (Commit) c6d114be authored tarafından Stephan Bergmann's avatar Stephan Bergmann

std::exception retrofit sequel

Change-Id: Ide9234c50592fe4f12eb1f6ea836ad60ce4697df
üst f73ffb91
...@@ -88,7 +88,7 @@ private: ...@@ -88,7 +88,7 @@ private:
class Impl1: public Interface1, private Base { class Impl1: public Interface1, private Base {
public: public:
virtual css::uno::Any SAL_CALL queryInterface(css::uno::Type const & type) virtual css::uno::Any SAL_CALL queryInterface(css::uno::Type const & type)
throw (css::uno::RuntimeException) throw (css::uno::RuntimeException, std::exception)
{ {
if (type if (type
== getCppuType< css::uno::Reference< css::uno::XInterface > >()) == getCppuType< css::uno::Reference< css::uno::XInterface > >())
...@@ -116,7 +116,7 @@ public: ...@@ -116,7 +116,7 @@ public:
class Impl2: public Interface2a, public Interface3, private Base { class Impl2: public Interface2a, public Interface3, private Base {
public: public:
virtual css::uno::Any SAL_CALL queryInterface(css::uno::Type const & type) virtual css::uno::Any SAL_CALL queryInterface(css::uno::Type const & type)
throw (css::uno::RuntimeException) throw (css::uno::RuntimeException, std::exception)
{ {
if (type if (type
== getCppuType< css::uno::Reference< css::uno::XInterface > >()) == getCppuType< css::uno::Reference< css::uno::XInterface > >())
...@@ -152,7 +152,7 @@ public: ...@@ -152,7 +152,7 @@ public:
class Impl2b: public Interface2b, private Base { class Impl2b: public Interface2b, private Base {
public: public:
virtual css::uno::Any SAL_CALL queryInterface(css::uno::Type const & type) virtual css::uno::Any SAL_CALL queryInterface(css::uno::Type const & type)
throw (css::uno::RuntimeException) throw (css::uno::RuntimeException, std::exception)
{ {
if (type if (type
== getCppuType< css::uno::Reference< css::uno::XInterface > >()) == getCppuType< css::uno::Reference< css::uno::XInterface > >())
......
...@@ -48,7 +48,7 @@ public: ...@@ -48,7 +48,7 @@ public:
} }
virtual Any SAL_CALL queryInterface(const Type & _type) virtual Any SAL_CALL queryInterface(const Type & _type)
throw (RuntimeException) throw (RuntimeException, std::exception)
{ {
Any aInterface; Any aInterface;
if (_type == getCppuType< Reference< XInterface > >()) if (_type == getCppuType< Reference< XInterface > >())
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment