summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-03-31 17:43:43 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-03-31 17:45:27 +0200
commit96f5b780f083ff97af5f570836267565d963e742 (patch)
tree036a18cfa6fa3bd63bec797088c76ef3db5c7758 /sal
parentb89681bef2e492bccb9502079e042ff495b40c39 (diff)
Use OUString::unacquired
found with git grep -E '\* *\<reinterpret_cast\>[^>]+\<OUString\>' Change-Id: I9306d4ad8e3b1664f54cb7df86f2d79bfd3c6cb9
Diffstat (limited to 'sal')
-rw-r--r--sal/rtl/bootstrap.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/rtl/bootstrap.cxx b/sal/rtl/bootstrap.cxx
index e2ff943afe3a..715555a64a13 100644
--- a/sal/rtl/bootstrap.cxx
+++ b/sal/rtl/bootstrap.cxx
@@ -816,7 +816,7 @@ void SAL_CALL rtl_bootstrap_expandMacros_from_handle(
handle = get_static_bootstrap_handle();
}
OUString expanded( expandMacros( static_cast< Bootstrap_Impl * >( handle ),
- * reinterpret_cast< OUString const * >( macro ),
+ OUString::unacquired( macro ),
LOOKUP_MODE_NORMAL, NULL ) );
rtl_uString_assign( macro, expanded.pData );
}