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 9f203542cae5..66661c0bc3f1 100644
--- a/svx/source/dialog/paraprev.cxx
+++ b/svx/source/dialog/paraprev.cxx
@@ -200,7 +200,7 @@ void SvxParaPrevWindow::DrawParagraph(vcl::RenderContext& rRenderContext)
if (5 == i)
{
- long nBottom = nLower * aLineSiz.Height() / aSize.Height();
+ auto nBottom = nLower * aLineSiz.Height() / aSize.Height();
aPnt.AdjustY(nBottom * 2 );
}