summaryrefslogtreecommitdiffstats
path: root/sw/source/core/edit/edattr.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/edit/edattr.cxx')
-rw-r--r--sw/source/core/edit/edattr.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/edit/edattr.cxx b/sw/source/core/edit/edattr.cxx
index 25d7368dc2d3..494caa87c150 100644
--- a/sw/source/core/edit/edattr.cxx
+++ b/sw/source/core/edit/edattr.cxx
@@ -503,8 +503,8 @@ bool SwEditShell::IsMoveLeftMargin( bool bRight, bool bModulus ) const
if ( pFrame )
{
const sal_uInt16 nFrameWidth = static_cast<sal_uInt16>( pFrame->IsVertical() ?
- pFrame->Frame().Height() :
- pFrame->Frame().Width() );
+ pFrame->getSwFrame().Height() :
+ pFrame->getSwFrame().Width() );
bRet = nFrameWidth > ( nNext + MM50 );
}
else