diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-05-12 13:25:06 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-05-12 13:25:06 +0200 |
commit | db05d1adfdac550ea8bf179686e65bebc8b349f7 (patch) | |
tree | dad28110e55bec0ef383ab594463e4d2802db36f /extensions/source/ole | |
parent | fix bug in ColorNameMap constructor (diff) | |
download | core-db05d1adfdac550ea8bf179686e65bebc8b349f7.tar.gz core-db05d1adfdac550ea8bf179686e65bebc8b349f7.zip |
Clean up uses of SAL_U/SAL_W: extensions
Change-Id: I08716e6976e205247064622cd9db46f5364a8c8c
Diffstat (limited to 'extensions/source/ole')
-rw-r--r-- | extensions/source/ole/unoconversionutilities.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/extensions/source/ole/unoconversionutilities.hxx b/extensions/source/ole/unoconversionutilities.hxx index 0249e5222124..58a2d9dcfb27 100644 --- a/extensions/source/ole/unoconversionutilities.hxx +++ b/extensions/source/ole/unoconversionutilities.hxx @@ -1993,7 +1993,8 @@ void UnoConversionUtilities<T>::dispatchExObject2Sequence( const VARIANTARG* pva for( sal_Int32 i= 0; i< length; i++) { OUString ousIndex=OUString::number( i); - OLECHAR* sindex = SAL_W(const_cast<sal_Unicode *>(ousIndex.getStr())); + OLECHAR* sindex = reinterpret_cast<wchar_t *>( + const_cast<sal_Unicode *>(ousIndex.getStr())); if( FAILED( hr= pdispEx->GetIDsOfNames(IID_NULL, &sindex , 1, LOCALE_USER_DEFAULT, &dispid))) { |