summaryrefslogtreecommitdiff
path: root/sw/source/core/text/porfly.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/text/porfly.cxx')
-rw-r--r--sw/source/core/text/porfly.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/core/text/porfly.cxx b/sw/source/core/text/porfly.cxx
index bc16953ddca9..f0e2d81f5644 100644
--- a/sw/source/core/text/porfly.cxx
+++ b/sw/source/core/text/porfly.cxx
@@ -216,10 +216,10 @@ void sw::FlyContentPortion::Paint(const SwTextPaintInfo& rInf) const
rInf.GetTextFrame()->SwitchHorizontalToVertical(aRepaintRect);
if((m_pFly->IsCompletePaint() ||
- m_pFly->getSwFrame().IsOver(aRepaintRect)) &&
+ m_pFly->geFrameArea().IsOver(aRepaintRect)) &&
SwFlyFrame::IsPaint(m_pFly->GetVirtDrawObj(), m_pFly->getRootFrame()->GetCurrShell()))
{
- SwRect aRect(m_pFly->getSwFrame());
+ SwRect aRect(m_pFly->geFrameArea());
if(!m_pFly->IsCompletePaint())
aRect.Intersection_(aRepaintRect);
@@ -358,12 +358,12 @@ void SwFlyCntPortion::SetBase( const SwTextFrame& rFrame, const Point &rBase,
SwFormatHoriOrient aHori(pTextBox->GetHoriOrient());
aHori.SetHoriOrient(css::text::HoriOrientation::NONE);
- sal_Int32 nLeft = aTextRectangle.getX() - rFrame.getSwFrame().Left();
+ sal_Int32 nLeft = aTextRectangle.getX() - rFrame.geFrameArea().Left();
aHori.SetPos(nLeft);
SwFormatVertOrient aVert(pTextBox->GetVertOrient());
aVert.SetVertOrient(css::text::VertOrientation::NONE);
- sal_Int32 nTop = aTextRectangle.getY() - rFrame.getSwFrame().Top() - nFlyAsc;
+ sal_Int32 nTop = aTextRectangle.getY() - rFrame.geFrameArea().Top() - nFlyAsc;
aVert.SetPos(nTop);
pTextBox->LockModify();