diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-06-20 23:57:47 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-06-21 15:07:52 +0100 |
commit | c3f2401d49b1374431da54e799a23bc122c5def7 (patch) | |
tree | 81ea39989af360ca879c7a84e7b1643698255589 /svl | |
parent | unused aName (diff) | |
download | core-c3f2401d49b1374431da54e799a23bc122c5def7.tar.gz core-c3f2401d49b1374431da54e799a23bc122c5def7.zip |
reduce scope and replace some String::CreateFromAscii
Change-Id: I8c375e3bfbcd3d7046a8bdb1968934b7d7ca96f8
Diffstat (limited to 'svl')
-rw-r--r-- | svl/source/misc/inettype.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/svl/source/misc/inettype.cxx b/svl/source/misc/inettype.cxx index fac059bff228..0a110f7aa253 100644 --- a/svl/source/misc/inettype.cxx +++ b/svl/source/misc/inettype.cxx @@ -765,9 +765,7 @@ UniString INetContentTypes::GetContentType(INetContentType eTypeID) if (aTypeName.Len() == 0) { OSL_FAIL("INetContentTypes::GetContentType(): Bad ID"); - return - UniString::CreateFromAscii(RTL_CONSTASCII_STRINGPARAM( - CONTENT_TYPE_STR_APP_OCTSTREAM)); + return rtl::OUString(CONTENT_TYPE_STR_APP_OCTSTREAM); } return aTypeName; } |