diff options
author | Armin Le Grand <Armin.Le.Grand@cib.de> | 2017-10-26 10:54:03 +0200 |
---|---|---|
committer | Armin Le Grand <Armin.Le.Grand@cib.de> | 2017-10-30 12:13:16 +0100 |
commit | 75d4e779e408bd532ddeda2b18923806c920b4a7 (patch) | |
tree | 7c24e614b8c54d38f650b7ceb96f07beeeb446f8 /sw/source/core/text/porrst.cxx | |
parent | f6edddfa230d6478571ef67ebdc506c54f589648 (diff) |
Adapted to get/setSwFrame and get/setSwPrint
Change-Id: I6cce40ec49dd5bd32d94fe06b9d2dabd368448be
Diffstat (limited to 'sw/source/core/text/porrst.cxx')
-rw-r--r-- | sw/source/core/text/porrst.cxx | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/sw/source/core/text/porrst.cxx b/sw/source/core/text/porrst.cxx index d3a443c64033..8350073d613c 100644 --- a/sw/source/core/text/porrst.cxx +++ b/sw/source/core/text/porrst.cxx @@ -188,11 +188,11 @@ SwArrowPortion::SwArrowPortion( const SwLinePortion &rPortion ) : SwArrowPortion::SwArrowPortion( const SwTextPaintInfo &rInf ) : bLeft( false ) { - Height( (sal_uInt16)(rInf.GetTextFrame()->PrintRA().Height()) ); - aPos.X() = rInf.GetTextFrame()->FrameRA().Left() + - rInf.GetTextFrame()->PrintRA().Right(); - aPos.Y() = rInf.GetTextFrame()->FrameRA().Top() + - rInf.GetTextFrame()->PrintRA().Bottom(); + Height( (sal_uInt16)(rInf.GetTextFrame()->getSwPrint().Height()) ); + aPos.X() = rInf.GetTextFrame()->getSwFrame().Left() + + rInf.GetTextFrame()->getSwPrint().Right(); + aPos.Y() = rInf.GetTextFrame()->getSwFrame().Top() + + rInf.GetTextFrame()->getSwPrint().Bottom(); SetWhichPor( POR_ARROW ); } @@ -264,8 +264,8 @@ SwTwips SwTextFrame::EmptyHeight() const SwTwips nRet; if( !pOut ) nRet = IsVertical() ? - PrintRA().SSize().Width() + 1 : - PrintRA().SSize().Height() + 1; + getSwPrint().SSize().Width() + 1 : + getSwPrint().SSize().Height() + 1; else { pFnt->SetFntChg( true ); @@ -301,7 +301,7 @@ bool SwTextFrame::FormatEmpty() SwTextFly aTextFly( this ); SwRect aRect; - bool bFirstFlyCheck = 0 != PrintRA().Height(); + bool bFirstFlyCheck = 0 != getSwPrint().Height(); if ( !bCollapse && bFirstFlyCheck && aTextFly.IsOn() && aTextFly.IsAnyObj( aRect ) ) return false; @@ -317,7 +317,7 @@ bool SwTextFrame::FormatEmpty() } SwRectFnSet aRectFnSet(this); - const SwTwips nChg = nHeight - aRectFnSet.GetHeight(PrintRA()); + const SwTwips nChg = nHeight - aRectFnSet.GetHeight(getSwPrint()); if( !nChg ) SetUndersized( false ); |