From 1946794ae09ba732022fe6a74ea45e304ab70b84 Mon Sep 17 00:00:00 2001 From: Luboš Luňák Date: Sun, 7 Apr 2013 12:06:47 +0200 Subject: mass removal of rtl:: prefixes for O(U)String* Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk have kept them, in order not to break external API (the automatic using declaration is LO-internal). Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09 --- cli_ure/source/native/native_share.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'cli_ure/source/native') 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 chars = PtrToStringChars( str ); - return ::rtl::OUString( chars, str->Length ); + return OUString( chars, str->Length ); } template< typename T > -- cgit