diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2009-01-15 15:41:38 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2009-01-15 15:41:38 +0000 |
commit | 5983fb92e98c9f553768902765fe9835420fd314 (patch) | |
tree | fa48363a081d386eb4244f33e8e8c337c722669f /vcl/win | |
parent | d82fe9eceed3a3346e0db5c521526f5343c541a4 (diff) |
#i10000#: fix assertion
Diffstat (limited to 'vcl/win')
-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" ); |