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

No apparent reason to limit nXStart to sal_uInt16 instead of long

Change-Id: I6775c36c9b0eb3b1e56968b4ca212fcd43a3be1b
üst a7a9919b
......@@ -2485,7 +2485,7 @@ void SvxNumberingPreview::Paint(vcl::RenderContext& rRenderContext, const ::tool
{
const SvxNumberFormat &rFmt = pActNum->GetLevel(nLevel);
aNum.GetLevelVal()[ nLevel ] = rFmt.GetStart();
sal_uInt16 nXStart( 0 );
long nXStart( 0 );
pVDev->SetFillColor( aBackColor );
if (rFmt.GetPositionAndSpaceMode() == SvxNumberFormat::LABEL_WIDTH_AND_POSITION)
......@@ -2501,7 +2501,7 @@ void SvxNumberingPreview::Paint(vcl::RenderContext& rRenderContext, const ::tool
}
else
{
nXStart = static_cast<sal_uInt16>(nTmpXStart);
nXStart = nTmpXStart;
}
}
nXStart /= 2;
......
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