summaryrefslogtreecommitdiff
path: root/sw/source/core/frmedt/fedesc.cxx
diff options
context:
space:
mode:
authorArmin Le Grand <Armin.Le.Grand@cib.de>2017-10-30 21:30:32 +0100
committerArmin Le Grand <Armin.Le.Grand@cib.de>2017-10-31 10:41:43 +0100
commitf55a9b77b8bfe6fc5e0fbceb0c89aed66660e107 (patch)
tree4ab09c0b426c702fccbded3eb58848d2e0622015 /sw/source/core/frmedt/fedesc.cxx
parent420452e56c2f18b85e6a59dbba80c06d96e28abd (diff)
RotateFlyFrame2: Unified FrameAreaDefinition
Isolated all Frame AreaDefinition and it's layout flags to SwFrameAreaDefinition class which is now base for SwFrame. Adapted calls to get/set and WriteAccess hekper classes accordingly. This allows much deeper understanding what Writer is doing when layouting it's frames and needed when reaction on such changes is necessary Change-Id: I96220a1d140e69c76cc63023aae26e4ed17f3504
Diffstat (limited to 'sw/source/core/frmedt/fedesc.cxx')
-rw-r--r--sw/source/core/frmedt/fedesc.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/frmedt/fedesc.cxx b/sw/source/core/frmedt/fedesc.cxx
index da44435f05ed..b8ea451526bc 100644
--- a/sw/source/core/frmedt/fedesc.cxx
+++ b/sw/source/core/frmedt/fedesc.cxx
@@ -147,7 +147,7 @@ size_t SwFEShell::GetMousePageDesc( const Point &rPt ) const
static_cast<const SwPageFrame*>( GetLayout()->Lower() );
if( pPage )
{
- while( pPage->GetNext() && rPt.Y() > pPage->getSwFrame().Bottom() )
+ while( pPage->GetNext() && rPt.Y() > pPage->getFrameArea().Bottom() )
pPage = static_cast<const SwPageFrame*>( pPage->GetNext() );
SwDoc *pMyDoc = GetDoc();
size_t nPos;