Kaydet (Commit) 0b560a3a authored tarafından Stephan Bergmann's avatar Stephan Bergmann

No apparent reason to limit nLineHeight to sal_uInt16 instead of long

Change-Id: I6431da3ff753feadead8f59119f502b54669fdc3
üst 3e23dc67
...@@ -2343,7 +2343,7 @@ void SvxNumberingPreview::Paint(vcl::RenderContext& rRenderContext, const ::tool ...@@ -2343,7 +2343,7 @@ void SvxNumberingPreview::Paint(vcl::RenderContext& rRenderContext, const ::tool
if (bPosition) if (bPosition)
{ {
sal_uInt16 nLineHeight = nFontHeight * 8 / 7; long nLineHeight = nFontHeight * 8 / 7;
sal_uInt8 nStart = 0; sal_uInt8 nStart = 0;
while (!(nActLevel & (1<<nStart))) while (!(nActLevel & (1<<nStart)))
{ {
......
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