summaryrefslogtreecommitdiff
path: root/sw/source/core/layout/flylay.cxx
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2015-10-05 09:05:37 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2015-10-05 09:06:15 +0200
commit0e30cae512f91bc7b92b214e3c9760a38d873026 (patch)
tree42499cda2267b71e39fffd746d8a3fda8e8773e5 /sw/source/core/layout/flylay.cxx
parent0e30af6fdc496ee1b935d68e979aa63729cef878 (diff)
sw: prefix members of SwFlyFrm
Change-Id: I69ff87617e4be128b1db6a04c80ce948c1901683
Diffstat (limited to 'sw/source/core/layout/flylay.cxx')
-rw-r--r--sw/source/core/layout/flylay.cxx30
1 files changed, 15 insertions, 15 deletions
diff --git a/sw/source/core/layout/flylay.cxx b/sw/source/core/layout/flylay.cxx
index d34f9d23dc47..7b6727d1f01b 100644
--- a/sw/source/core/layout/flylay.cxx
+++ b/sw/source/core/layout/flylay.cxx
@@ -127,7 +127,7 @@ void SwFlyFreeFrm::MakeAll(vcl::RenderContext* /*pRenderContext*/)
if ( IsClipped() )
{
- mbValidSize = bHeightClipped = bWidthClipped = false;
+ mbValidSize = m_bHeightClipped = m_bWidthClipped = false;
// no invalidation of position,
// if anchored object is anchored inside a Writer fly frame,
// its position is already locked, and it follows the text flow.
@@ -146,7 +146,7 @@ void SwFlyFreeFrm::MakeAll(vcl::RenderContext* /*pRenderContext*/)
int nLoopControlRuns = 0;
const int nLoopControlMax = 10;
- while ( !mbValidPos || !mbValidSize || !mbValidPrtArea || bFormatHeightOnly || !m_bValidContentPos )
+ while ( !mbValidPos || !mbValidSize || !mbValidPrtArea || m_bFormatHeightOnly || !m_bValidContentPos )
{
SWRECTFN( this )
const SwFormatFrmSize *pSz;
@@ -168,11 +168,11 @@ void SwFlyFreeFrm::MakeAll(vcl::RenderContext* /*pRenderContext*/)
m_bValidContentPos = false;
}
- if ( !mbValidSize || bFormatHeightOnly )
+ if ( !mbValidSize || m_bFormatHeightOnly )
{
mbValidSize = false;
Format( getRootFrm()->GetCurrShell()->GetOut(), &rAttrs );
- bFormatHeightOnly = false;
+ m_bFormatHeightOnly = false;
}
}
@@ -219,7 +219,7 @@ void SwFlyFreeFrm::MakeAll(vcl::RenderContext* /*pRenderContext*/)
#if OSL_DEBUG_LEVEL > 0
SWRECTFN( this )
- OSL_ENSURE( bHeightClipped || ( (Frm().*fnRect->fnGetHeight)() > 0 &&
+ OSL_ENSURE( m_bHeightClipped || ( (Frm().*fnRect->fnGetHeight)() > 0 &&
(Prt().*fnRect->fnGetHeight)() > 0),
"SwFlyFreeFrm::Format(), flipping Fly." );
@@ -302,7 +302,7 @@ void SwFlyFreeFrm::CheckClip( const SwFormatFrmSize &rSz )
Frm().Pos().Y() = std::max( aClip.Top(), nClipBot - Frm().Height() );
if ( Frm().Top() != nOld )
bAgain = true;
- bHeightClipped = true;
+ m_bHeightClipped = true;
}
}
if ( bRig )
@@ -319,7 +319,7 @@ void SwFlyFreeFrm::CheckClip( const SwFormatFrmSize &rSz )
else
bAgain = true;
}
- bWidthClipped = true;
+ m_bWidthClipped = true;
}
if ( bAgain )
mbValidSize = false;
@@ -342,7 +342,7 @@ void SwFlyFreeFrm::CheckClip( const SwFormatFrmSize &rSz )
nDiff -= aFrmRect.Top(); // nDiff represents the available distance
nDiff = aFrmRect.Height() - nDiff;
aFrmRect.Height( aFrmRect.Height() - nDiff );
- bHeightClipped = true;
+ m_bHeightClipped = true;
}
if ( bRig )
{
@@ -350,7 +350,7 @@ void SwFlyFreeFrm::CheckClip( const SwFormatFrmSize &rSz )
nDiff -= aFrmRect.Left();// nDiff represents the available distance
nDiff = aFrmRect.Width() - nDiff;
aFrmRect.Width( aFrmRect.Width() - nDiff );
- bWidthClipped = true;
+ m_bWidthClipped = true;
}
// #i17297# - no proportional
@@ -384,14 +384,14 @@ void SwFlyFreeFrm::CheckClip( const SwFormatFrmSize &rSz )
{
aFrmRect.Height( aFrmRect.Width() * aOldSize.Height() /
aOldSize.Width() );
- bHeightClipped = true;
+ m_bHeightClipped = true;
}
// Adjusted the height? change width proportionally
else if( aFrmRect.Height() != aOldSize.Height() )
{
aFrmRect.Width( aFrmRect.Height() * aOldSize.Width() /
aOldSize.Height() );
- bWidthClipped = true;
+ m_bWidthClipped = true;
}
// #i17297# - reactivate change
@@ -405,7 +405,7 @@ void SwFlyFreeFrm::CheckClip( const SwFormatFrmSize &rSz )
// this code.
if ( aFrmRect.HasArea() &&
static_cast<SwContentFrm*>(Lower())->GetNode()->GetOLENode() &&
- ( bWidthClipped || bHeightClipped ) )
+ ( m_bWidthClipped || m_bHeightClipped ) )
{
SwFlyFrameFormat *pFormat = GetFormat();
pFormat->LockModify();
@@ -441,8 +441,8 @@ void SwFlyFreeFrm::CheckClip( const SwFormatFrmSize &rSz )
} while ( pLow );
::CalcContent( this );
ColUnlock();
- if ( !mbValidSize && !bWidthClipped )
- bFormatHeightOnly = mbValidSize = true;
+ if ( !mbValidSize && !m_bWidthClipped )
+ m_bFormatHeightOnly = mbValidSize = true;
}
else
{
@@ -470,7 +470,7 @@ bool SwFlyFreeFrm::IsFormatPossible() const
SwFlyLayFrm::SwFlyLayFrm( SwFlyFrameFormat *pFormat, SwFrm* pSib, SwFrm *pAnch ) :
SwFlyFreeFrm( pFormat, pSib, pAnch )
{
- bLayout = true;
+ m_bLayout = true;
}
// #i28701#