diff options
author | Noel Grandin <noel@peralex.com> | 2014-06-05 08:08:06 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-06-05 08:17:46 +0200 |
commit | da906ab93781928adc51c605825f91b16fe8dd19 (patch) | |
tree | d66505e7ca1c9894dd4fb10503f78a4edbd1be74 /include/cppuhelper/access_control.hxx | |
parent | comphelper: remove SAL_THROW macro (diff) | |
download | core-da906ab93781928adc51c605825f91b16fe8dd19.tar.gz core-da906ab93781928adc51c605825f91b16fe8dd19.zip |
cppuhelper: remove SAL_THROW macro
Change-Id: I54141071396d04e7bead56da14a665b8556ba6d2
Diffstat (limited to 'include/cppuhelper/access_control.hxx')
-rw-r--r-- | include/cppuhelper/access_control.hxx | 24 |
1 files changed, 9 insertions, 15 deletions
diff --git a/include/cppuhelper/access_control.hxx b/include/cppuhelper/access_control.hxx index 77b934937268..55404a9cc47d 100644 --- a/include/cppuhelper/access_control.hxx +++ b/include/cppuhelper/access_control.hxx @@ -40,26 +40,23 @@ public: */ AccessControl( ::com::sun::star::uno::Reference< - ::com::sun::star::uno::XComponentContext > const & xContext ) - SAL_THROW( (::com::sun::star::uno::RuntimeException) ); + ::com::sun::star::uno::XComponentContext > const & xContext ); /** Ctor. @param xController access controller */ AccessControl( ::com::sun::star::uno::Reference< - ::com::sun::star::security::XAccessController > const & xController ) - SAL_THROW( (::com::sun::star::uno::RuntimeException) ); + ::com::sun::star::security::XAccessController > const & xController ); /** Copy ctor. @param ac another object */ - AccessControl( ::cppu::AccessControl const & ac ) - SAL_THROW( (::com::sun::star::uno::RuntimeException) ); + AccessControl( ::cppu::AccessControl const & ac ); /** Clears the access controller reference being used. */ - inline void SAL_CALL clear() SAL_THROW(()) + inline void SAL_CALL clear() { m_xController.clear(); } /** Returns access to the access controller reference being used. @@ -67,14 +64,14 @@ public: @return access controller */ inline ::com::sun::star::uno::Reference< - ::com::sun::star::security::XAccessController > const & SAL_CALL get() const SAL_THROW(()) + ::com::sun::star::security::XAccessController > const & SAL_CALL get() const { return m_xController; } /** Returns access to the access controller reference being used. @return access controller */ - inline ::com::sun::star::security::XAccessController * SAL_CALL operator -> () const SAL_THROW(()) + inline ::com::sun::star::security::XAccessController * SAL_CALL operator -> () const { return m_xController.get(); } @@ -85,8 +82,7 @@ public: @param name name of permission */ void SAL_CALL checkRuntimePermission( - ::rtl::OUString const & name ) - SAL_THROW( (::com::sun::star::uno::RuntimeException) ); + ::rtl::OUString const & name ); /** A com.sun.star.io.FilePermission represents access to a file or directory. A FilePermission consists of a file url and a set of actions valid for that pathname. @@ -96,8 +92,7 @@ public: */ void SAL_CALL checkFilePermission( ::rtl::OUString const & url, - ::rtl::OUString const & actions ) - SAL_THROW( (::com::sun::star::uno::RuntimeException) ); + ::rtl::OUString const & actions ); /** A com.sun.star.connection.SocketPermission represents access to a network via sockets. A SocketPermission consists of a host specification and a set of "actions" @@ -108,8 +103,7 @@ public: */ void SAL_CALL checkSocketPermission( ::rtl::OUString const & host, - ::rtl::OUString const & actions ) - SAL_THROW( (::com::sun::star::uno::RuntimeException) ); + ::rtl::OUString const & actions ); }; } |