summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-12-15 14:57:53 +0000
committerCaolán McNamara <caolanm@redhat.com>2012-12-17 09:35:24 +0000
commitfd84daf696a368c2c7561b5253b32a63ecdeca4a (patch)
tree49a32e1364d7adf7413aa18d5e0245b9378c8d9a /sw
parenta1175f3d6ba3e16f81bb12b55c590fc605695b5f (diff)
UniString::ToUpperAscii -> OUString::toAsciiUpperCase
Change-Id: I70f2238021c79a34b97a6bdbcc374d8b1ffb2a31
Diffstat (limited to 'sw')
-rw-r--r--sw/source/ui/docvw/srcedtw.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/ui/docvw/srcedtw.cxx b/sw/source/ui/docvw/srcedtw.cxx
index 1e4058657c97..0e5e46dfbba4 100644
--- a/sw/source/ui/docvw/srcedtw.cxx
+++ b/sw/source/ui/docvw/srcedtw.cxx
@@ -139,8 +139,8 @@ static void lcl_Highlight(const String& rSource, SwTextPortions& aPortionList)
if(nSrchPos > nActPos + 1)
{
// some string was found
- String sToken = rSource.Copy(nActPos + 1, nSrchPos - nActPos - 1 );
- sToken.ToUpperAscii();
+ OUString sToken = rSource.Copy(nActPos + 1, nSrchPos - nActPos - 1 );
+ sToken = sToken.toAsciiUpperCase();
int nToken = ::GetHTMLToken(sToken);
if(nToken)
{
@@ -154,7 +154,7 @@ static void lcl_Highlight(const String& rSource, SwTextPortions& aPortionList)
// what was that?
SAL_WARN(
"sw.level2",
- "Token " << rtl::OUString(sToken)
+ "Token " << sToken
<< " not recognised!");
}