summaryrefslogtreecommitdiff
path: root/svl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-06-20 23:57:47 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-06-21 15:07:52 +0100
commitc3f2401d49b1374431da54e799a23bc122c5def7 (patch)
tree81ea39989af360ca879c7a84e7b1643698255589 /svl
parent3d506e814719ecaa5862663bce467994ccf31a4d (diff)
reduce scope and replace some String::CreateFromAscii
Change-Id: I8c375e3bfbcd3d7046a8bdb1968934b7d7ca96f8
Diffstat (limited to 'svl')
-rw-r--r--svl/source/misc/inettype.cxx4
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;
}