diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2018-01-30 17:23:41 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2018-01-30 21:13:50 +0100 |
commit | 97d31dfebc0a06614a8edd0e6123928c5b0fa72e (patch) | |
tree | 457a4476bc587f78da51f1472e8ac1eb605a878c /cui/source | |
parent | 3426cb606cd22d04af3119cd0628a6f1fbf13cda (diff) |
No apparent reason to limit nYMiddle to sal_uInt16 instead of long
Change-Id: I3c1d082c99af94078a0a1505d3e69368aa5070ab
Diffstat (limited to 'cui/source')
-rw-r--r-- | cui/source/tabpages/numpages.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cui/source/tabpages/numpages.cxx b/cui/source/tabpages/numpages.cxx index 780ba663c216..8abeee1c852f 100644 --- a/cui/source/tabpages/numpages.cxx +++ b/cui/source/tabpages/numpages.cxx @@ -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()) |