diff options
author | Michael Stahl <Michael.Stahl@cib.de> | 2018-06-01 20:12:50 +0200 |
---|---|---|
committer | Michael Stahl <Michael.Stahl@cib.de> | 2018-06-08 21:51:35 +0200 |
commit | 7cd4c21c61ee7e38c96626e1aceddf49c9173fd6 (patch) | |
tree | dae5273b5e8837abcdf02cff3180e85aed017427 /sw/source/core/layout/flylay.cxx | |
parent | 03605bc73891e54559579dea58ed69e8947234a7 (diff) |
sw_redlinehide: trivial GetNode() in atrfrm.cxx,fly.cxx,flylay.cxx
Change-Id: Id15b867e8a275529822bab8ce82da5eb2eeb484b
Diffstat (limited to 'sw/source/core/layout/flylay.cxx')
-rw-r--r-- | sw/source/core/layout/flylay.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/layout/flylay.cxx b/sw/source/core/layout/flylay.cxx index f07f386e63d4..36bc46ba762c 100644 --- a/sw/source/core/layout/flylay.cxx +++ b/sw/source/core/layout/flylay.cxx @@ -598,7 +598,7 @@ void SwFlyFreeFrame::CheckClip( const SwFormatFrameSize &rSz ) // Note: section frames seems to be not critical - didn't found // any critical layout situation so far. if ( Lower() && Lower()->IsNoTextFrame() && - ( static_cast<SwContentFrame*>(Lower())->GetNode()->GetOLENode() || + (static_cast<SwNoTextFrame*>(Lower())->GetNode()->GetOLENode() || !HasEnvironmentAutoSize() ) ) { // If width and height got adjusted, then the bigger @@ -638,7 +638,7 @@ void SwFlyFreeFrame::CheckClip( const SwFormatFrameSize &rSz ) // attributes permanently. Maybe one day somebody dares to remove // this code. if ( aFrameRect.HasArea() && - static_cast<SwContentFrame*>(Lower())->GetNode()->GetOLENode() && + static_cast<SwNoTextFrame*>(Lower())->GetNode()->GetOLENode() && ( m_bWidthClipped || m_bHeightClipped ) ) { SwFlyFrameFormat *pFormat = GetFormat(); |