summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--svx/source/dialog/paraprev.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/dialog/paraprev.cxx b/svx/source/dialog/paraprev.cxx
index 66661c0bc3f1..418ed7ca8f70 100644
--- a/svx/source/dialog/paraprev.cxx
+++ b/svx/source/dialog/paraprev.cxx
@@ -85,7 +85,7 @@ void SvxParaPrevWindow::DrawParagraph(vcl::RenderContext& rRenderContext)
if (i == 3)
{
rRenderContext.SetFillColor(COL_GRAY);
- long nTop = nUpper * aLineSiz.Height() / aSize.Height();
+ auto nTop = nUpper * aLineSiz.Height() / aSize.Height();
aPnt.AdjustY(nTop * 2 );
}