diff options
author | Noel Grandin <noel@peralex.com> | 2015-10-20 11:02:14 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-10-21 06:36:39 +0000 |
commit | 08233bd25849cc7d5d092aa073362c7766cbcc19 (patch) | |
tree | ef27b8d8b00e531e31eea084f7cce81b6cb0bcb2 /include/cppuhelper/access_control.hxx | |
parent | com::sun::star->css in include/cppu (diff) | |
download | core-08233bd25849cc7d5d092aa073362c7766cbcc19.tar.gz core-08233bd25849cc7d5d092aa073362c7766cbcc19.zip |
com::sun::star->css in include/cppuhelper
Change-Id: I3d9dcd4cd756a3f0d9cedd894377a117c9dbeecc
Reviewed-on: https://gerrit.libreoffice.org/19486
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/cppuhelper/access_control.hxx')
-rw-r--r-- | include/cppuhelper/access_control.hxx | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/include/cppuhelper/access_control.hxx b/include/cppuhelper/access_control.hxx index 55404a9cc47d..464b95d2367c 100644 --- a/include/cppuhelper/access_control.hxx +++ b/include/cppuhelper/access_control.hxx @@ -31,7 +31,7 @@ namespace cppu */ class CPPUHELPER_DLLPUBLIC AccessControl { - ::com::sun::star::uno::Reference< ::com::sun::star::security::XAccessController > m_xController; + css::uno::Reference< css::security::XAccessController > m_xController; public: /** Ctor. @@ -39,15 +39,13 @@ public: @param xContext component context to retrieve access controller singleton */ AccessControl( - ::com::sun::star::uno::Reference< - ::com::sun::star::uno::XComponentContext > const & xContext ); + css::uno::Reference< css::uno::XComponentContext > const & xContext ); /** Ctor. @param xController access controller */ AccessControl( - ::com::sun::star::uno::Reference< - ::com::sun::star::security::XAccessController > const & xController ); + css::uno::Reference< css::security::XAccessController > const & xController ); /** Copy ctor. @param ac another object @@ -63,15 +61,14 @@ public: @return access controller */ - inline ::com::sun::star::uno::Reference< - ::com::sun::star::security::XAccessController > const & SAL_CALL get() const + inline css::uno::Reference< css::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 + inline css::security::XAccessController * SAL_CALL operator -> () const { return m_xController.get(); } |