summaryrefslogtreecommitdiff
path: root/toolkit/source/awt/vclxfont.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-09-16 08:58:50 +0200
committerNoel Grandin <noel@peralex.com>2013-09-17 09:05:34 +0200
commit5eab9486c325a0d907f6fc382dceb5c47d336b65 (patch)
tree42088887b49353c00306a3469b2d7f1530a10f78 /toolkit/source/awt/vclxfont.cxx
parent75be8fd665d1ded3bb71febfc81eb42a4d1b30e3 (diff)
convert TOOLKIT module from String to OUString
Change-Id: Ibc5ffbffa0ddc6a80c3a95406b324cda09f7c9e1
Diffstat (limited to 'toolkit/source/awt/vclxfont.cxx')
-rw-r--r--toolkit/source/awt/vclxfont.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/toolkit/source/awt/vclxfont.cxx b/toolkit/source/awt/vclxfont.cxx
index 01ef619fdd11..929af4513486 100644
--- a/toolkit/source/awt/vclxfont.cxx
+++ b/toolkit/source/awt/vclxfont.cxx
@@ -197,8 +197,8 @@ sal_Bool VCLXFont::hasGlyphs( const OUString& aText )
OutputDevice* pOutDev = VCLUnoHelper::GetOutputDevice( mxDevice );
if ( pOutDev )
{
- String aStr( aText );
- if ( pOutDev->HasGlyphs( maFont, aStr, 0, aStr.Len() ) == STRING_LEN )
+ OUString aStr( aText );
+ if ( pOutDev->HasGlyphs( maFont, aStr, 0, aStr.getLength() ) == STRING_LEN )
{
return sal_True;
}