summaryrefslogtreecommitdiff
path: root/sw/source/core/edit/autofmt.cxx
diff options
context:
space:
mode:
authorArmin Le Grand <Armin.Le.Grand@cib.de>2017-10-26 10:54:03 +0200
committerArmin Le Grand <Armin.Le.Grand@cib.de>2017-10-30 12:13:16 +0100
commit75d4e779e408bd532ddeda2b18923806c920b4a7 (patch)
tree7c24e614b8c54d38f650b7ceb96f07beeeb446f8 /sw/source/core/edit/autofmt.cxx
parentf6edddfa230d6478571ef67ebdc506c54f589648 (diff)
Adapted to get/setSwFrame and get/setSwPrint
Change-Id: I6cce40ec49dd5bd32d94fe06b9d2dabd368448be
Diffstat (limited to 'sw/source/core/edit/autofmt.cxx')
-rw-r--r--sw/source/core/edit/autofmt.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sw/source/core/edit/autofmt.cxx b/sw/source/core/edit/autofmt.cxx
index b60a593da594..4e9b12be7d14 100644
--- a/sw/source/core/edit/autofmt.cxx
+++ b/sw/source/core/edit/autofmt.cxx
@@ -251,10 +251,10 @@ SwTextFrame* SwAutoFormat::GetFrame( const SwTextNode& rTextNd ) const
if( m_aFlags.bAFormatByInput && !pFrame->IsValid() )
{
DisableCallbackAction a(const_cast<SwRootFrame&>(*pFrame->getRootFrame()));
- SwRect aTmpFrame( pFrame->FrameRA() );
- SwRect aTmpPrt( pFrame->PrintRA() );
+ SwRect aTmpFrame( pFrame->getSwFrame() );
+ SwRect aTmpPrt( pFrame->getSwPrint() );
pFrame->Calc(pFrame->getRootFrame()->GetCurrShell()->GetOut());
- if( pFrame->FrameRA() != aTmpFrame || pFrame->PrintRA() != aTmpPrt ||
+ if( pFrame->getSwFrame() != aTmpFrame || pFrame->getSwPrint() != aTmpPrt ||
( pFrame->IsTextFrame() && !const_cast<SwTextFrame*>(static_cast<const SwTextFrame*>(pFrame))->Paint().IsEmpty() ) )
pFrame->SetCompletePaint();
}
@@ -652,7 +652,7 @@ bool SwAutoFormat::DoTable()
{
eHori = text::HoriOrientation::NONE;
// then - as last - we need to add the current frame width into the array
- aPosArr.push_back( static_cast<sal_uInt16>(m_pCurTextFrame->FrameRA().Width()) );
+ aPosArr.push_back( static_cast<sal_uInt16>(m_pCurTextFrame->getSwFrame().Width()) );
}
else
eHori = text::HoriOrientation::LEFT;
@@ -1374,7 +1374,7 @@ void SwAutoFormat::BuildEnum( sal_uInt16 nLvl, sal_uInt16 nDigitLevel )
bool bBreak = true;
// first, determine current indentation and frame width
- SwTwips nFrameWidth = m_pCurTextFrame->PrintRA().Width();
+ SwTwips nFrameWidth = m_pCurTextFrame->getSwPrint().Width();
SwTwips nLeftTextPos;
{
sal_Int32 nPos(0);