diff options
Diffstat (limited to 'editeng/source/uno/unopracc.cxx')
-rw-r--r-- | editeng/source/uno/unopracc.cxx | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/editeng/source/uno/unopracc.cxx b/editeng/source/uno/unopracc.cxx index bae44d0a982c..a26ddd2123a2 100644 --- a/editeng/source/uno/unopracc.cxx +++ b/editeng/source/uno/unopracc.cxx @@ -41,14 +41,13 @@ SvxAccessibleTextPropertySet::~SvxAccessibleTextPropertySet() throw() { } -uno::Reference< text::XText > SAL_CALL SvxAccessibleTextPropertySet::getText() throw (uno::RuntimeException, std::exception) +uno::Reference< text::XText > SAL_CALL SvxAccessibleTextPropertySet::getText() { // TODO (empty?) return uno::Reference< text::XText > (); } uno::Any SAL_CALL SvxAccessibleTextPropertySet::queryInterface( const uno::Type & rType ) - throw(uno::RuntimeException, std::exception) { return OWeakObject::queryInterface(rType); } @@ -66,7 +65,7 @@ void SAL_CALL SvxAccessibleTextPropertySet::release() } // XTypeProvider -uno::Sequence< uno::Type > SAL_CALL SvxAccessibleTextPropertySet::getTypes() throw ( uno::RuntimeException, std::exception ) +uno::Sequence< uno::Type > SAL_CALL SvxAccessibleTextPropertySet::getTypes() { static ::cppu::OTypeCollection* pTypeCollection = nullptr ; @@ -95,18 +94,17 @@ uno::Sequence< uno::Type > SAL_CALL SvxAccessibleTextPropertySet::getTypes() thr } uno::Sequence< sal_Int8 > SAL_CALL SvxAccessibleTextPropertySet::getImplementationId() - throw (uno::RuntimeException, std::exception) { return css::uno::Sequence<sal_Int8>(); } // XServiceInfo -OUString SAL_CALL SAL_CALL SvxAccessibleTextPropertySet::getImplementationName() throw (uno::RuntimeException, std::exception) +OUString SAL_CALL SAL_CALL SvxAccessibleTextPropertySet::getImplementationName() { return OUString("SvxAccessibleTextPropertySet"); } -sal_Bool SAL_CALL SvxAccessibleTextPropertySet::supportsService (const OUString& sServiceName) throw (uno::RuntimeException, std::exception) +sal_Bool SAL_CALL SvxAccessibleTextPropertySet::supportsService (const OUString& sServiceName) { return cppu::supportsService(this, sServiceName); } |