summaryrefslogtreecommitdiff
path: root/sot
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-06-19 11:36:39 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-06-19 14:11:50 +0100
commit447e5b4b36271b197660a9383a0f88c2761896c6 (patch)
treedfbdfcfacf2e890fe51db57684927f345c1a4acb /sot
parentaae1b8ffade1ef0756899436497fa049b396fc26 (diff)
death to some UniStrings
Change-Id: I0fa0c60e12c418d25f8bd96cc04c6abd74b1a608
Diffstat (limited to 'sot')
-rw-r--r--sot/source/sdstor/stgelem.cxx4
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 );