summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-01-30 17:39:33 +0100
committerStephan Bergmann <sbergman@redhat.com>2018-01-30 21:13:51 +0100
commit0b560a3ac7f66d8ba4140bcd6a8c73a455341eac (patch)
tree64eb998b96487c348056ce2e2313cbd8b6e79d93 /cui
parent3e23dc67cfc2d396cf3cbd843d21db40558f5ffa (diff)
No apparent reason to limit nLineHeight to sal_uInt16 instead of long
Change-Id: I6431da3ff753feadead8f59119f502b54669fdc3
Diffstat (limited to 'cui')
-rw-r--r--cui/source/tabpages/numpages.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/cui/source/tabpages/numpages.cxx b/cui/source/tabpages/numpages.cxx
index 4032b4db4016..e563c60b22cd 100644
--- a/cui/source/tabpages/numpages.cxx
+++ b/cui/source/tabpages/numpages.cxx
@@ -2343,7 +2343,7 @@ void SvxNumberingPreview::Paint(vcl::RenderContext& rRenderContext, const ::tool
if (bPosition)
{
- sal_uInt16 nLineHeight = nFontHeight * 8 / 7;
+ long nLineHeight = nFontHeight * 8 / 7;
sal_uInt8 nStart = 0;
while (!(nActLevel & (1<<nStart)))
{