Kaydet (Commit) 683196be authored tarafından Miklos Vajna's avatar Miklos Vajna

sw: prefix members of SwUnderlineFont

Change-Id: Icd6c6e1bb8a5603f6832921472615f44901e169a
üst 267c89fd
...@@ -958,8 +958,8 @@ inline void SwFont::SetHighlightColor( const Color& aNewColor ) ...@@ -958,8 +958,8 @@ inline void SwFont::SetHighlightColor( const Color& aNewColor )
// Used for the "continuous underline" feature. // Used for the "continuous underline" feature.
class SwUnderlineFont class SwUnderlineFont
{ {
Point aPos; Point m_aPos;
SwFont* pFnt; SwFont* m_pFont;
public: public:
// sets the font which should paint the common baseline // sets the font which should paint the common baseline
...@@ -969,12 +969,12 @@ public: ...@@ -969,12 +969,12 @@ public:
SwFont& GetFont() SwFont& GetFont()
{ {
OSL_ENSURE( pFnt, "No underline font" ); OSL_ENSURE( m_pFont, "No underline font" );
return *pFnt; return *m_pFont;
} }
const Point& GetPos() const { return aPos; } const Point& GetPos() const { return m_aPos; }
// the x coordinate of the starting point has to be set for each portion // the x coordinate of the starting point has to be set for each portion
void SetPos( const Point& rPoint ) { aPos = rPoint; } void SetPos( const Point& rPoint ) { m_aPos = rPoint; }
}; };
#ifdef DBG_UTIL #ifdef DBG_UTIL
......
...@@ -1507,13 +1507,13 @@ void SwDrawTextInfo::Shift( sal_uInt16 nDir ) ...@@ -1507,13 +1507,13 @@ void SwDrawTextInfo::Shift( sal_uInt16 nDir )
* @note Used for the "continuous underline" feature. * @note Used for the "continuous underline" feature.
**/ **/
SwUnderlineFont::SwUnderlineFont( SwFont& rFnt, const Point& rPoint ) SwUnderlineFont::SwUnderlineFont( SwFont& rFnt, const Point& rPoint )
: aPos( rPoint ), pFnt( &rFnt ) : m_aPos( rPoint ), m_pFont( &rFnt )
{ {
}; };
SwUnderlineFont::~SwUnderlineFont() SwUnderlineFont::~SwUnderlineFont()
{ {
delete pFnt; delete m_pFont;
} }
/// Helper for filters to find true lineheight of a font /// Helper for filters to find true lineheight of a font
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment