Kaydet (Commit) e7580427 authored tarafından Caolán McNamara's avatar Caolán McNamara

don't relatively move FAR_AWAY things away from FAR_AWAY

to avoid the dread 64bit

vcl/source/outdev/map.cxx:391: long int ImplLogicToPixel(long int, long int, long int, long int, long int): Assertion `std::abs(n) < std::numeric_limits<long>::max() / nMapNum / nDPI'

assert on executing...

soffice.bin abi10619-1.doc --convert-to pdf

Change-Id: Id81d8e7eb9a962a5bc7f50d9c02da052cee24da1
üst 3bf543f1
......@@ -1815,7 +1815,11 @@ static void lcl_MoveAllLowers( SwFrm* pFrm, const Point& rOffset )
const SwRect aFrm( pFrm->Frm() );
// first move the current frame
pFrm->Frm().Pos() += rOffset;
Point &rPoint = pFrm->Frm().Pos();
if (rPoint.X() != FAR_AWAY)
rPoint.X() += rOffset.X();
if (rPoint.Y() != FAR_AWAY)
rPoint.Y() += rOffset.Y();
// Don't forget accessibility:
if( pFrm->IsAccessibleFrm() )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment