diff options
author | Tor Lillqvist <tml@collabora.com> | 2014-04-18 11:29:16 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2014-04-18 12:25:48 +0300 |
commit | d1b2a6f63731a77f40ee1561f37a3805a99cac15 (patch) | |
tree | ba785fa4e9b8ca440ac0a8949c38c9a65a31f054 /sw/source/core/draw/dflyobj.cxx | |
parent | 23f15c5d4806ca570e81c8e9c95a3158197cb84a (diff) |
Thanks Badaa and Jiayanmin but we don't use in-line commit comments
Change-Id: Iff5f70602e8451ea2b8432a58804bb38156d6b46
Diffstat (limited to 'sw/source/core/draw/dflyobj.cxx')
-rw-r--r-- | sw/source/core/draw/dflyobj.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sw/source/core/draw/dflyobj.cxx b/sw/source/core/draw/dflyobj.cxx index 002dbe5d909c..7c190ead3e6b 100644 --- a/sw/source/core/draw/dflyobj.cxx +++ b/sw/source/core/draw/dflyobj.cxx @@ -618,7 +618,7 @@ void SwVirtFlyDrawObj::NbcMove(const Size& rSiz) { //lXDiff -= rVert.GetPos(); //lYDiff += rHori.GetPos(); - //Badaa: 2008-04-18 * Support for Classical Mongolian Script (SCMS) joint with Jiayanmin + if ( GetFlyFrm()->GetAnchorFrm()->IsVertLR() ) { lXDiff += rVert.GetPos(); @@ -737,7 +737,6 @@ void SwVirtFlyDrawObj::NbcResize(const Point& rRef, const sal_Bool bRTL = pTmpFrm->IsRightToLeft(); - //Badaa: 2008-04-18 * Support for Classical Mongolian Script (SCMS) joint with Jiayanmin const bool bVertL2RX = pTmpFrm->IsVertLR(); const Point aNewPos( ( bVertX && !bVertL2RX ) || bRTL ? aOutRect.Right() + 1 : @@ -814,7 +813,6 @@ void SwVirtFlyDrawObj::NbcResize(const Point& rRef, { if( aOutRect.TopRight() != aNewPos ) { - //Badaa: 2008-04-18 * Support for Classical Mongolian Script (SCMS) joint with Jiayanmin SwTwips nDeltaX; if ( bVertL2RX ) nDeltaX = aNewPos.X() - aOutRect.Left(); |