diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-06-19 11:36:39 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-06-19 14:11:50 +0100 |
commit | 447e5b4b36271b197660a9383a0f88c2761896c6 (patch) | |
tree | dfbdfcfacf2e890fe51db57684927f345c1a4acb /sot | |
parent | reduce amount of static Strings (diff) | |
download | core-447e5b4b36271b197660a9383a0f88c2761896c6.tar.gz core-447e5b4b36271b197660a9383a0f88c2761896c6.zip |
death to some UniStrings
Change-Id: I0fa0c60e12c418d25f8bd96cc04c6abd74b1a608
Diffstat (limited to 'sot')
-rw-r--r-- | sot/source/sdstor/stgelem.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
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 ); |