summaryrefslogtreecommitdiff
path: root/sal/rtl/source/bootstrap.cxx
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2010-01-05 13:01:54 +0100
committerJens-Heiner Rechtien <hr@openoffice.org>2010-01-05 13:01:54 +0100
commitf52fb6272ab6d15a72b45707f2599359b7627604 (patch)
treedfea1075aab5962b568041cbc3a7a8f5ea763aeb /sal/rtl/source/bootstrap.cxx
parentfed92864b28a32bee9d7cd8bfffd5a4b523e18d4 (diff)
parent4a96552f4966f204a15287d3c1a9340012792661 (diff)
CWS-TOOLING: integrate CWS sb116
Diffstat (limited to 'sal/rtl/source/bootstrap.cxx')
-rw-r--r--sal/rtl/source/bootstrap.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sal/rtl/source/bootstrap.cxx b/sal/rtl/source/bootstrap.cxx
index 23dab839d558..769251a6c4ec 100644
--- a/sal/rtl/source/bootstrap.cxx
+++ b/sal/rtl/source/bootstrap.cxx
@@ -820,8 +820,8 @@ void SAL_CALL rtl_bootstrap_set (
rtl_uString * pValue
) SAL_THROW_EXTERN_C()
{
- OUString const & name = *reinterpret_cast< OUString const * >( &pName );
- OUString const & value = *reinterpret_cast< OUString const * >( &pValue );
+ const OUString name( pName );
+ const OUString value( pValue );
osl::MutexGuard guard( osl::Mutex::getGlobalMutex() );