summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjoern Michaelsen <bjoern.michaelsen@canonical.com>2016-03-25 01:44:19 +0100
committerBjoern Michaelsen <bjoern.michaelsen@canonical.com>2016-03-25 02:27:56 +0100
commit7296b98445f270beb73cf07d22fc4263fdaff53f (patch)
tree9e1b125041fc1fa726f278886b7e78c6dc5bec5d
parent600ad9d1552e5458bb0a8c47c892bebe219ebb01 (diff)
fix another involuntary behaviour change from 0c5cbcd7
Change-Id: Idd8e48777b2a5e8e91754ec0afa9dd5b50d8bf00
-rw-r--r--sw/source/core/layout/flycnt.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sw/source/core/layout/flycnt.cxx b/sw/source/core/layout/flycnt.cxx
index f95b4a6e13ac..cafb5c30403d 100644
--- a/sw/source/core/layout/flycnt.cxx
+++ b/sw/source/core/layout/flycnt.cxx
@@ -1217,6 +1217,8 @@ void SwFlyAtContentFrame::SetAbsPos( const Point &rNew )
nY = pCnt->Frame().Left() - rNew.X();
if ( bVertL2R )
nY = -nY;
+ else
+ nY += pCnt->Frame().Width() - Frame().Width();
nY -= pCnt->GetUpperSpaceAmountConsideredForPrevFrameAndPageGrid();
}
else