From 447e5b4b36271b197660a9383a0f88c2761896c6 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Tue, 19 Jun 2012 11:36:39 +0100 Subject: death to some UniStrings Change-Id: I0fa0c60e12c418d25f8bd96cc04c6abd74b1a608 --- sot/source/sdstor/stgelem.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sot') diff --git a/sot/source/sdstor/stgelem.cxx b/sot/source/sdstor/stgelem.cxx index e8eb0e59db45..1a212a780a81 100644 --- a/sot/source/sdstor/stgelem.cxx +++ b/sot/source/sdstor/stgelem.cxx @@ -293,7 +293,7 @@ void StgEntry::GetName( String& rName ) const sal_uInt16 n = nNameLen; if( n ) n = ( n >> 1 ) - 1; - rName = String( nName, n ); + rName = rtl::OUString(nName, n); } // Compare two entries. Do this case-insensitive. @@ -350,7 +350,7 @@ sal_Bool StgEntry::Load( const void* pFrom ) return sal_False; } - aName = String( nName, n ); + aName = rtl::OUString( nName, n ); // I don't know the locale, so en_US is hopefully fine aName = ToUpperUnicode( aName ); aName.Erase( nMaxLegalStr ); -- cgit v1.2.3