diff options
author | Matúš Kukan <matus.kukan@collabora.com> | 2014-06-20 14:18:09 +0200 |
---|---|---|
committer | Matúš Kukan <matus.kukan@collabora.com> | 2014-06-21 09:40:04 +0200 |
commit | fc577e4f414b6fe838dff0163bceeea012c92de9 (patch) | |
tree | 26da8cce0fc135710fb1c83656a5b1f97c0dd06e /editeng/source/editeng/impedit3.cxx | |
parent | b6e49ad5ddd68d71c9f872d565881023dae526a9 (diff) |
Revert "bnc#882631: keep line visible if proportional line spacing is < 100%."
This reverts commit 339e5d44a2afa0f5309a970f1ff11968103e336a
and commit d1987a3eaccfc3add35e6b9f8307ede857c5468e
"fix sd_import_tests after e42c05c1f96832572e525d85d89590f56f5a29dd".
It would need more work and understanding, so just revert.
Also, the problem with bnc#882631 is somewhere else, though this helped too.
Diffstat (limited to 'editeng/source/editeng/impedit3.cxx')
-rw-r--r-- | editeng/source/editeng/impedit3.cxx | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/editeng/source/editeng/impedit3.cxx b/editeng/source/editeng/impedit3.cxx index 7678ef1ff89b..2881a81cae52 100644 --- a/editeng/source/editeng/impedit3.cxx +++ b/editeng/source/editeng/impedit3.cxx @@ -2924,13 +2924,6 @@ void ImpEditEngine::Paint( OutputDevice* pOutDev, Rectangle aClipRect, Point aSt aTmpPos.X() += pLine->GetStartPosX(); aTmpPos.Y() += pLine->GetMaxAscent(); aStartPos.Y() += pLine->GetHeight(); - if (nLine == 0) - { - // First line needs to be visible, so add more space if text height is bigger. - const sal_Int32 nDiff = pLine->GetTxtHeight() - pLine->GetHeight(); - aTmpPos.Y() += nDiff; - aStartPos.Y() += nDiff; - } if (nLine != nLastLine) aStartPos.Y() += nVertLineSpacing; } |