summaryrefslogtreecommitdiff
path: root/svl
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 /svl
parentaae1b8ffade1ef0756899436497fa049b396fc26 (diff)
death to some UniStrings
Change-Id: I0fa0c60e12c418d25f8bd96cc04c6abd74b1a608
Diffstat (limited to 'svl')
-rw-r--r--svl/source/misc/inettype.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/svl/source/misc/inettype.cxx b/svl/source/misc/inettype.cxx
index edf11cbdcb17..fac059bff228 100644
--- a/svl/source/misc/inettype.cxx
+++ b/svl/source/misc/inettype.cxx
@@ -958,7 +958,7 @@ bool INetContentTypes::parse(UniString const & rMediaType,
}
if (p == pToken)
return false;
- rType = UniString(pToken, sal::static_int_cast< xub_StrLen >(p - pToken));
+ rType = rtl::OUString(pToken, p - pToken);
if (bDowncase)
rType.ToLowerAscii();
@@ -976,8 +976,7 @@ bool INetContentTypes::parse(UniString const & rMediaType,
}
if (p == pToken)
return false;
- rSubType = UniString(
- pToken, sal::static_int_cast< xub_StrLen >(p - pToken));
+ rSubType = rtl::OUString(pToken, p - pToken);
if (bDowncase)
rSubType.ToLowerAscii();