summaryrefslogtreecommitdiff
path: root/cli_ure/source/uno_bridge/cli_data.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'cli_ure/source/uno_bridge/cli_data.cxx')
-rw-r--r--cli_ure/source/uno_bridge/cli_data.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/cli_ure/source/uno_bridge/cli_data.cxx b/cli_ure/source/uno_bridge/cli_data.cxx
index c325fc762bb0..24b3753ef61d 100644
--- a/cli_ure/source/uno_bridge/cli_data.cxx
+++ b/cli_ure/source/uno_bridge/cli_data.cxx
@@ -718,7 +718,7 @@ OUString mapCliString(System::String ^ data)
{
OSL_ASSERT(sizeof(wchar_t) == sizeof(sal_Unicode));
pin_ptr<wchar_t const> pdata= PtrToStringChars(data);
- return OUString(pdata, const_cast<System::String^>(data)->Length);
+ return OUString(SAL_U(pdata), const_cast<System::String^>(data)->Length);
}
else
{
@@ -819,7 +819,7 @@ void Bridge::map_to_uno(void * uno_data, System::Object^ cli_data,
System::String ^s= safe_cast<System::String^>(cli_data);
pin_ptr<const wchar_t> pdata= PtrToStringChars(s);
rtl_uString_newFromStr_WithLength( (rtl_uString**) uno_data,
- pdata, s->Length );
+ SAL_U(pdata), s->Length );
}
break;
}
@@ -1294,7 +1294,7 @@ void Bridge::map_to_uno(void * uno_data, System::Object^ cli_data,
rtl_uString** pStr= & ((rtl_uString**) &
((uno_Sequence*) seq.get())->elements)[i];
*pStr= NULL;
- rtl_uString_newFromStr_WithLength( pStr, pdata,
+ rtl_uString_newFromStr_WithLength( pStr, SAL_U(pdata),
arStr[i]->Length);
}
break;