summaryrefslogtreecommitdiff
path: root/svl/source
diff options
context:
space:
mode:
Diffstat (limited to 'svl/source')
-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;
}