diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2018-01-30 17:31:02 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2018-01-30 21:13:50 +0100 |
commit | 111c4c24becd1c3fe367593df9870e4071495fd1 (patch) | |
tree | bde60e9ee2c3ec9d13f8e0c11b468f567cc5aa8e | |
parent | d9253918391fab227da4b8a4d5eaee29a3306878 (diff) |
No apparent reason to limit nYMiddle to sal_uInt16 instead of long
Change-Id: I58958b7c7eae9f764cd88d3c1e3ca175af9fc370
-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 c7605255b7cf..8b03a1e23dda 100644 --- a/cui/source/tabpages/numpages.cxx +++ b/cui/source/tabpages/numpages.cxx @@ -2511,7 +2511,7 @@ void SvxNumberingPreview::Paint(vcl::RenderContext& rRenderContext, const ::tool { if (rFmt.IsShowSymbol()) { - sal_uInt16 nYMiddle = nYStart + ( nFontHeight / 2 ); + long nYMiddle = nYStart + ( nFontHeight / 2 ); nTextOffset = lcl_DrawGraphic(pVDev.get(), rFmt, nXStart, nYMiddle, nWidthRelation); nTextOffset = nTextOffset + nXStep; } |