diff options
Diffstat (limited to 'cli_ure/source/native')
-rw-r--r-- | cli_ure/source/native/native_share.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cli_ure/source/native/native_share.h b/cli_ure/source/native/native_share.h index e4aa0cf6babf..3c37f6c4f6bb 100644 --- a/cli_ure/source/native/native_share.h +++ b/cli_ure/source/native/native_share.h @@ -32,16 +32,16 @@ namespace util { //------------------------------------------------------------------------------ -inline ::System::String ^ ustring_to_String( ::rtl::OUString const & ustr ) +inline ::System::String ^ ustring_to_String( OUString const & ustr ) { return gcnew ::System::String( ustr.getStr(), 0, ustr.getLength() ); } //------------------------------------------------------------------------------ -inline ::rtl::OUString String_to_ustring( ::System::String ^ str ) +inline OUString String_to_ustring( ::System::String ^ str ) { OSL_ASSERT( sizeof (wchar_t) == sizeof (sal_Unicode) ); pin_ptr<wchar_t const> chars = PtrToStringChars( str ); - return ::rtl::OUString( chars, str->Length ); + return OUString( chars, str->Length ); } template< typename T > |