summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2016-05-25 14:58:27 +0300
committerTor Lillqvist <tml@collabora.com>2016-05-25 14:59:58 +0300
commit5f459af600597d3508676252b23ff8b5e00427dd (patch)
treecee44b003632d649d45a911fbdaffec821e084f1
parent472219209849daee7a9924f0f54d5f0bdfe4b772 (diff)
tdf#98792: This assertion is not needed
In some cases this assert() even prevents stuff from working nicely. (In a build where assertions are active, obviously, so this commit has no effect on "production" builds.) See bug report for some (fairly clueless) comments by me. Change-Id: Id1847f6e0a7dc30e63e6dd7d5800515c4229b9d1
-rw-r--r--vcl/win/gdi/winlayout.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/vcl/win/gdi/winlayout.cxx b/vcl/win/gdi/winlayout.cxx
index d00a49e59c71..7133a7cea00c 100644
--- a/vcl/win/gdi/winlayout.cxx
+++ b/vcl/win/gdi/winlayout.cxx
@@ -2373,7 +2373,6 @@ int UniscribeLayout::GetNextGlyphs( int nLen, sal_GlyphId* pGlyphs, Point& rPos,
if( mpGlyphs2Chars ) // unless explicitly requested+provided
{
nCharPos = mpGlyphs2Chars[ nStart ];
- assert(-1 != nCharPos);
}
// inject kashida glyphs if needed