Kaydet (Commit) 1ad38d06 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

No apparent reason to limit nWidthRelation to sal_uInt16 instead of long

Change-Id: I946e2a74ac5f03132791132e8d5b07d573cb76c5
üst 97d31dfe
......@@ -2319,7 +2319,7 @@ void SvxNumberingPreview::Paint(vcl::RenderContext& rRenderContext, const ::tool
if (pActNum)
{
sal_uInt16 nWidthRelation = 30; // chapter dialog
long nWidthRelation = 30; // chapter dialog
// height per level
sal_uInt16 nXStep = sal::static_int_cast<sal_uInt16>(aSize.Width() / (3 * pActNum->GetLevelCount()));
......
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