prefix SwFlyCntPortion member var names

Change-Id: Ia46b4a4f869390f452f565cf9a8f5d94bcf79ca7
Reviewed-on: https://gerrit.libreoffice.org/32320
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
This commit is contained in:
Bjoern Michaelsen
2016-12-22 02:48:10 +01:00
committed by Björn Michaelsen
parent c31bc15510
commit 2c1a6138e4
2 changed files with 11 additions and 11 deletions

View File

@@ -254,8 +254,8 @@ void sw::DrawFlyCntPortion::Paint(const SwTextPaintInfo&) const
* Use the dimensions of pFly->OutRect()
*/
SwFlyCntPortion::SwFlyCntPortion()
: bMax(false)
, eAlign(sw::LineAlign::NONE)
: m_bMax(false)
, m_eAlign(sw::LineAlign::NONE)
{
nLineLength = 1;
SetWhichPor(POR_FLYCNT);
@@ -381,7 +381,7 @@ void SwFlyCntPortion::SetBase( const SwTextFrame& rFrame, const Point &rBase,
SetAlign( aObjPositioning.GetLineAlignment() );
aRef = aObjPositioning.GetAnchorPos();
m_aRef = aObjPositioning.GetAnchorPos();
if( nFlags & AsCharFlags::Rotate )
SvXSize( aObjPositioning.GetObjBoundRectInclSpacing().SSize() );
else

View File

@@ -45,19 +45,19 @@ public:
/// This portion represents an as-character anchored fly (shape, frame, etc.)
class SwFlyCntPortion : public SwLinePortion
{
Point aRef; // Relatively to this point we calculate the AbsPos
bool bMax; // Line adjustment and height == line height
sw::LineAlign eAlign;
Point m_aRef; // Relatively to this point we calculate the AbsPos
bool m_bMax; // Line adjustment and height == line height
sw::LineAlign m_eAlign;
virtual SdrObject* GetSdrObj(const SwTextFrame&) =0;
public:
SwFlyCntPortion();
inline const Point& GetRefPoint() const { return aRef; }
inline bool IsMax() const { return bMax; }
inline sw::LineAlign GetAlign() const { return eAlign; }
inline void SetAlign(sw::LineAlign eNew) { eAlign = eNew; }
inline void SetMax(bool bNew) { bMax = bNew; }
inline const Point& GetRefPoint() const { return m_aRef; }
inline bool IsMax() const { return m_bMax; }
inline sw::LineAlign GetAlign() const { return m_eAlign; }
inline void SetAlign(sw::LineAlign eAlign) { m_eAlign = eAlign; }
inline void SetMax(bool bMax) { m_bMax = bMax; }
void SetBase(const SwTextFrame& rFrame, const Point& rBase, long nLnAscent, long nLnDescent, long nFlyAscent, long nFlyDescent, AsCharFlags nFlags);
virtual bool Format(SwTextFormatInfo& rInf) override;
OUTPUT_OPERATOR_OVERRIDE