diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-03-31 17:43:43 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-03-31 17:45:27 +0200 |
commit | 96f5b780f083ff97af5f570836267565d963e742 (patch) | |
tree | 036a18cfa6fa3bd63bec797088c76ef3db5c7758 /stoc/source/security | |
parent | b89681bef2e492bccb9502079e042ff495b40c39 (diff) |
Use OUString::unacquired
found with
git grep -E '\* *\<reinterpret_cast\>[^>]+\<OUString\>'
Change-Id: I9306d4ad8e3b1664f54cb7df86f2d79bfd3c6cb9
Diffstat (limited to 'stoc/source/security')
-rw-r--r-- | stoc/source/security/access_controller.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stoc/source/security/access_controller.cxx b/stoc/source/security/access_controller.cxx index e772b9f161e1..82767f1b57ae 100644 --- a/stoc/source/security/access_controller.cxx +++ b/stoc/source/security/access_controller.cxx @@ -272,7 +272,7 @@ static inline Reference< security::XAccessControlContext > getDynamicRestriction { // avoid ref-counting OUString const & typeName = - *reinterpret_cast< OUString const * >( &acc.pType->pTypeName ); + OUString::unacquired( &acc.pType->pTypeName ); if ( typeName == "com.sun.star.security.XAccessControlContext" ) { return Reference< security::XAccessControlContext >( |