diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-03-30 12:55:22 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-03-30 12:55:22 +0200 |
commit | 50b02731ca8494592a8d9a844530baca0e870e3c (patch) | |
tree | c2b36222f5d0ad66add5be6ab5f02da0e0d476d5 /cli_ure/source/uno_bridge/cli_base.h | |
parent | 6ec9e87ced60add494f8d397017f8f9ffc65a00a (diff) |
Replace scary reinterpret_casts with OUString::unacquired
...and actually fix some of them
Change-Id: I3493ceb65f305466d167304bd77058adb042067c
Diffstat (limited to 'cli_ure/source/uno_bridge/cli_base.h')
-rw-r--r-- | cli_ure/source/uno_bridge/cli_base.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli_ure/source/uno_bridge/cli_base.h b/cli_ure/source/uno_bridge/cli_base.h index 47aa720a519b..8c29e66f28c4 100644 --- a/cli_ure/source/uno_bridge/cli_base.h +++ b/cli_ure/source/uno_bridge/cli_base.h @@ -160,7 +160,7 @@ inline TypeDescr::TypeDescr( typelib_TypeDescriptionReference * td_ref ) { throw BridgeRuntimeError( "cannot get comprehensive type description for " + - *reinterpret_cast< OUString const * >( &td_ref->pTypeName ) ); + OUString::unacquired(&td_ref->pTypeName) ); } } |