summaryrefslogtreecommitdiff
path: root/vcl/source/gdi/font.cxx
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@suse.cz>2013-04-07 12:06:47 +0200
committerLuboš Luňák <l.lunak@suse.cz>2013-04-07 14:23:11 +0200
commit1946794ae09ba732022fe6a74ea45e304ab70b84 (patch)
treee32bd7ba61fa021ecc7f8c85959df8ca837d6e81 /vcl/source/gdi/font.cxx
parent5b08c6e7a21dda94d5b755eea0b1ed1e9c199bec (diff)
mass removal of rtl:: prefixes for O(U)String*
Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk have kept them, in order not to break external API (the automatic using declaration is LO-internal). Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
Diffstat (limited to 'vcl/source/gdi/font.cxx')
-rw-r--r--vcl/source/gdi/font.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/vcl/source/gdi/font.cxx b/vcl/source/gdi/font.cxx
index 50c105dc3ca9..4d313c5f1d43 100644
--- a/vcl/source/gdi/font.cxx
+++ b/vcl/source/gdi/font.cxx
@@ -334,7 +334,7 @@ void Font::SetAlign( FontAlign eAlign )
}
}
-void Font::SetName( const rtl::OUString& rFamilyName )
+void Font::SetName( const OUString& rFamilyName )
{
DBG_CHKTHIS( Font, NULL );
@@ -783,7 +783,7 @@ namespace
if( aInfo.ufamily )
o_rResult.SetName( aInfo.ufamily );
else if( aInfo.family )
- o_rResult.SetName( rtl::OStringToOUString( aInfo.family, RTL_TEXTENCODING_ASCII_US ) );
+ o_rResult.SetName( OStringToOUString( aInfo.family, RTL_TEXTENCODING_ASCII_US ) );
// set weight
if( aInfo.weight )
{
@@ -838,9 +838,9 @@ namespace
// set style name
if( aInfo.usubfamily )
- o_rResult.SetStyleName( rtl::OUString( aInfo.usubfamily ) );
+ o_rResult.SetStyleName( OUString( aInfo.usubfamily ) );
else if( aInfo.subfamily )
- o_rResult.SetStyleName( rtl::OUString::createFromAscii( aInfo.subfamily ) );
+ o_rResult.SetStyleName( OUString::createFromAscii( aInfo.subfamily ) );
// cleanup
CloseTTFont( pTTF );
@@ -898,7 +898,7 @@ namespace
pClose++;
if( pClose - pOpen > 1 )
{
- o_rResult.SetName( rtl::OStringToOUString( rtl::OString( pOpen+1, pClose-pOpen-1 ), RTL_TEXTENCODING_ASCII_US ) );
+ o_rResult.SetName( OStringToOUString( OString( pOpen+1, pClose-pOpen-1 ), RTL_TEXTENCODING_ASCII_US ) );
}
}