diff options
author | Jim Raykowski <raykowj@gmail.com> | 2017-10-21 12:21:44 -0800 |
---|---|---|
committer | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2017-10-25 11:30:13 +0200 |
commit | 4d65adb2fa02645e3c9e946a0b896af51ef27a7d (patch) | |
tree | 8199f8c1b99acb85e1cd9844f60f55c2973903fd /svx | |
parent | 57f649dc9a72e043901582a6e3da916da18ca4ed (diff) |
tdf#107643 Fix paragraph preview line spacing
Change-Id: I265f440ed8133d1fd557bed00f766170fffa6cd5
Reviewed-on: https://gerrit.libreoffice.org/43682
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Yousuf Philips <philipz85@hotmail.com>
Tested-by: Yousuf Philips <philipz85@hotmail.com>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/dialog/paraprev.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/svx/source/dialog/paraprev.cxx b/svx/source/dialog/paraprev.cxx index 5a7bc24c3440..a0e36c087d25 100644 --- a/svx/source/dialog/paraprev.cxx +++ b/svx/source/dialog/paraprev.cxx @@ -118,6 +118,9 @@ void SvxParaPrevWindow::DrawParagraph(vcl::RenderContext& rRenderContext) { case SvxPrevLineSpace::N1: break; + case SvxPrevLineSpace::N115: + aPnt.Y() += nH / 6.67; // 1/.15 = 6.(6) + break; case SvxPrevLineSpace::N15: aPnt.Y() += nH / 2; break; |