std::exception retrofit sequel
Change-Id: Ide9234c50592fe4f12eb1f6ea836ad60ce4697df
This commit is contained in:
@@ -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:
|
|||||||
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:
|
|||||||
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:
|
|||||||
}
|
}
|
||||||
|
|
||||||
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 > >())
|
||||||
|
Reference in New Issue
Block a user