diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-03-25 21:15:20 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-03-26 12:18:08 +0100 |
commit | 8a539e49c4fba49bbd810a90747e1993e69a9942 (patch) | |
tree | 77b2c2c6c132c1d2ecc7e3433b9b0a77d1bd424d /framework | |
parent | callcatcher: update list, Table::Seek gone (diff) | |
download | core-8a539e49c4fba49bbd810a90747e1993e69a9942.tar.gz core-8a539e49c4fba49bbd810a90747e1993e69a9942.zip |
ditch some UniStrings and intermediate temporaries
Diffstat (limited to 'framework')
-rw-r--r-- | framework/source/services/mediatypedetectionhelper.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/source/services/mediatypedetectionhelper.cxx b/framework/source/services/mediatypedetectionhelper.cxx index 3848cf0b5465..ef9e3a219bca 100644 --- a/framework/source/services/mediatypedetectionhelper.cxx +++ b/framework/source/services/mediatypedetectionhelper.cxx @@ -95,8 +95,8 @@ sal_Bool SAL_CALL MediaTypeDetectionHelper::mapStrings( OUString& rUrl = rSeq[i]; INetContentType eType = INetContentTypes::GetContentTypeFromURL( rUrl ); - UniString aType( INetContentTypes::GetContentType( eType ) ); - if( aType.Len() ) + rtl::OUString aType( INetContentTypes::GetContentType( eType ) ); + if (!aType.isEmpty()) { rUrl = aType; bModified = sal_True; |