diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-06-02 09:36:38 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-06-02 09:36:38 +0200 |
commit | a760d2d1d05e04085e66c30eaf4ac23a4a1faf51 (patch) | |
tree | 80ae8a619dd8f7308ba73067098a36ac483f7307 /stoc/source | |
parent | da76bb4f2ad68e36aaad1b6e451b53388141c845 (diff) |
Improved loplugin:redundantcast static_cast handling: stoc
Change-Id: I30b0c1a3f07d55f5f024fb2a595592eb0417ad9a
Diffstat (limited to 'stoc/source')
-rw-r--r-- | stoc/source/security/access_controller.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/stoc/source/security/access_controller.cxx b/stoc/source/security/access_controller.cxx index 6772d2ba2a8a..cbeb631d2be8 100644 --- a/stoc/source/security/access_controller.cxx +++ b/stoc/source/security/access_controller.cxx @@ -249,12 +249,12 @@ inline Reference< security::XAccessControlContext > getDynamicRestriction( if ( typeName == "com.sun.star.security.XAccessControlContext" ) { return Reference< security::XAccessControlContext >( - *static_cast< security::XAccessControlContext ** const >( acc.pData ) ); + *static_cast< security::XAccessControlContext ** >( acc.pData ) ); } else // try to query { return Reference< security::XAccessControlContext >::query( - *static_cast< XInterface ** const >( acc.pData ) ); + *static_cast< XInterface ** >( acc.pData ) ); } } } |