Kaydet (Commit) 111c4c24 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

No apparent reason to limit nYMiddle to sal_uInt16 instead of long

Change-Id: I58958b7c7eae9f764cd88d3c1e3ca175af9fc370
üst d9253918
...@@ -2511,7 +2511,7 @@ void SvxNumberingPreview::Paint(vcl::RenderContext& rRenderContext, const ::tool ...@@ -2511,7 +2511,7 @@ void SvxNumberingPreview::Paint(vcl::RenderContext& rRenderContext, const ::tool
{ {
if (rFmt.IsShowSymbol()) if (rFmt.IsShowSymbol())
{ {
sal_uInt16 nYMiddle = nYStart + ( nFontHeight / 2 ); long nYMiddle = nYStart + ( nFontHeight / 2 );
nTextOffset = lcl_DrawGraphic(pVDev.get(), rFmt, nXStart, nYMiddle, nWidthRelation); nTextOffset = lcl_DrawGraphic(pVDev.get(), rFmt, nXStart, nYMiddle, nWidthRelation);
nTextOffset = nTextOffset + nXStep; nTextOffset = nTextOffset + nXStep;
} }
......
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