diff options
Diffstat (limited to 'vcl')
-rwxr-xr-x | vcl/win/source/gdi/winlayout.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/win/source/gdi/winlayout.cxx b/vcl/win/source/gdi/winlayout.cxx index 26cdc9cd7587..24f45d6cba1e 100755 --- a/vcl/win/source/gdi/winlayout.cxx +++ b/vcl/win/source/gdi/winlayout.cxx @@ -2017,7 +2017,7 @@ int UniscribeLayout::GetNextGlyphs( int nLen, sal_GlyphId* pGlyphs, Point& rPos, void UniscribeLayout::MoveGlyph( int nStartx8, long nNewXPos ) { - DBG_ASSERT( (nStartx8 & 0xff), "USP::MoveGlyph(): glyph injection not disabled!" ); + DBG_ASSERT( !(nStartx8 & 0xff), "USP::MoveGlyph(): glyph injection not disabled!" ); int nStart = nStartx8 >> 8; if( nStart > mnGlyphCount ) return; @@ -2063,7 +2063,7 @@ void UniscribeLayout::MoveGlyph( int nStartx8, long nNewXPos ) void UniscribeLayout::DropGlyph( int nStartx8 ) { - DBG_ASSERT( (nStartx8 & 0xff), "USP::MoveGlyph(): glyph injection not disabled!" ); + DBG_ASSERT( !(nStartx8 & 0xff), "USP::DropGlyph(): glyph injection not disabled!" ); int nStart = nStartx8 >> 8; DBG_ASSERT( nStart<=mnGlyphCount, "USPLayout::MoveG nStart overflow" ); |