diff options
author | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2016-03-22 15:41:04 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2016-03-22 17:04:14 +0000 |
commit | 01ba19094272cb661f781c091fd11f3a01dc1ea0 (patch) | |
tree | c72cc73f05b3528370c6de2a32133d192192971c | |
parent | 0f567d9316941f0fcca4c260ad1e92fbe1a0df2d (diff) |
Change-Id: I7e11c7072ba0ec82237985da79f8572fdda05778
Reviewed-on: https://gerrit.libreoffice.org/23430
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
-rw-r--r-- | sw/source/core/layout/flycnt.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/layout/flycnt.cxx b/sw/source/core/layout/flycnt.cxx index a500fe3779ab..0423ea72eb2c 100644 --- a/sw/source/core/layout/flycnt.cxx +++ b/sw/source/core/layout/flycnt.cxx @@ -1221,7 +1221,7 @@ void SwFlyAtCntFrm::SetAbsPos( const Point &rNew ) nY -= pCnt->GetUpperSpaceAmountConsideredForPrevFrmAndPageGrid(); } else - nY = rNew.Y() - pCnt->Frm().Top() + pCnt->GetUpperSpaceAmountConsideredForPrevFrmAndPageGrid(); + nY = rNew.Y() - pCnt->Frm().Top() - pCnt->GetUpperSpaceAmountConsideredForPrevFrmAndPageGrid(); } else { |