diff options
author | Noel Grandin <noel@peralex.com> | 2013-12-04 11:26:19 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-12-04 11:29:14 +0200 |
commit | b273106226ab7e21f68b9e0470e8b28b27f6b726 (patch) | |
tree | fe92cf8be49dfe25692e40442654715cf5a10349 /toolkit/source/awt/vclxfont.cxx | |
parent | 79eab004dca8413cf99ea688291083df2d146230 (diff) |
convert OutputDevice::HasGlyphs from xub_StrLen->sal_Int32
Change-Id: Ic8f0ae3d263d6cb02e6faa7226db0241681fc45f
Diffstat (limited to 'toolkit/source/awt/vclxfont.cxx')
-rw-r--r-- | toolkit/source/awt/vclxfont.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toolkit/source/awt/vclxfont.cxx b/toolkit/source/awt/vclxfont.cxx index 929af4513486..a2bce6193176 100644 --- a/toolkit/source/awt/vclxfont.cxx +++ b/toolkit/source/awt/vclxfont.cxx @@ -198,7 +198,7 @@ sal_Bool VCLXFont::hasGlyphs( const OUString& aText ) if ( pOutDev ) { OUString aStr( aText ); - if ( pOutDev->HasGlyphs( maFont, aStr, 0, aStr.getLength() ) == STRING_LEN ) + if ( pOutDev->HasGlyphs( maFont, aStr ) == -1 ) { return sal_True; } |