diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-04-01 08:38:16 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-04-01 08:38:16 +0200 |
commit | ead3062336673c449a70ff41895a5cd5e087883f (patch) | |
tree | febff3626561455fe5a0c52cf5c0a2922626d11a /cppuhelper/source/access_control.cxx | |
parent | bfcdcdb63a9f7800629e3143b52f4eed1b7b0b4f (diff) |
Replace remaining getCppuType et al with cppu::UnoType
Change-Id: I620bf5d46c19f0182e822265eadf8eb11001855e
Diffstat (limited to 'cppuhelper/source/access_control.cxx')
-rw-r--r-- | cppuhelper/source/access_control.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cppuhelper/source/access_control.cxx b/cppuhelper/source/access_control.cxx index b129c1aec160..e8a05a723f69 100644 --- a/cppuhelper/source/access_control.cxx +++ b/cppuhelper/source/access_control.cxx @@ -103,7 +103,7 @@ void AccessControl::checkRuntimePermission( { __checkPermission( m_xController, - ::getCppuType( (security::RuntimePermission *)0 ), name.pData, 0 ); + cppu::UnoType<security::RuntimePermission>::get(), name.pData, 0 ); } void AccessControl::checkFilePermission( @@ -112,7 +112,7 @@ void AccessControl::checkFilePermission( { __checkPermission( m_xController, - ::getCppuType( (io::FilePermission *)0 ), url.pData, actions.pData ); + cppu::UnoType<io::FilePermission>::get(), url.pData, actions.pData ); } void AccessControl::checkSocketPermission( @@ -121,7 +121,7 @@ void AccessControl::checkSocketPermission( { __checkPermission( m_xController, - ::getCppuType( (connection::SocketPermission *)0 ), host.pData, actions.pData ); + cppu::UnoType<connection::SocketPermission>::get(), host.pData, actions.pData ); } } |