Kaydet (Commit) 97d31dfe authored tarafından Stephan Bergmann's avatar Stephan Bergmann

No apparent reason to limit nYMiddle to sal_uInt16 instead of long

Change-Id: I3c1d082c99af94078a0a1505d3e69368aa5070ab
üst 3426cb60
......@@ -2391,7 +2391,7 @@ void SvxNumberingPreview::Paint(vcl::RenderContext& rRenderContext, const ::tool
long nBulletWidth = 0;
if (SVX_NUM_BITMAP == (rFmt.GetNumberingType() &(~LINK_TOKEN)))
{
sal_uInt16 nYMiddle = nYStart + ( nFontHeight / 2 );
long nYMiddle = nYStart + ( nFontHeight / 2 );
nBulletWidth = rFmt.IsShowSymbol() ? lcl_DrawGraphic(pVDev.get(), rFmt, nNumberXPos, nYMiddle, nWidthRelation) : 0;
}
else if (SVX_NUM_CHAR_SPECIAL == rFmt.GetNumberingType())
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment