diff options
author | Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> | 2015-05-20 13:05:49 +0200 |
---|---|---|
committer | Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> | 2015-05-20 13:05:49 +0200 |
commit | ab465b90f6c6da5595393a0ba73f33a1e71a2b65 (patch) | |
tree | 36b77192de2799a11b4bf0b269cb3f74d0a0bb1f /sw/source/core/text/itrpaint.hxx | |
parent | 0db96caf0fcce09b87621c11b584a6d81cc7df86 (diff) |
bin/rename-sw-abbreviations.sh
libreoffice-5-0-branch-point
renames the most annoying abbreviations in Writer (and partially
in the shared code too).
Change-Id: I9a62759138126c1537cc5c985ba05cf54d6132d9
Diffstat (limited to 'sw/source/core/text/itrpaint.hxx')
-rw-r--r-- | sw/source/core/text/itrpaint.hxx | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/sw/source/core/text/itrpaint.hxx b/sw/source/core/text/itrpaint.hxx index 3f5bb35f65f3..20fb2df23259 100644 --- a/sw/source/core/text/itrpaint.hxx +++ b/sw/source/core/text/itrpaint.hxx @@ -20,10 +20,10 @@ #define INCLUDED_SW_SOURCE_CORE_TEXT_ITRPAINT_HXX #include "itrtxt.hxx" -class SwSaveClip; // SwTxtPainter +class SwSaveClip; // SwTextPainter class SwMultiPortion; -class SwTxtPainter : public SwTxtCursor +class SwTextPainter : public SwTextCursor { bool bPaintDrop; @@ -31,18 +31,18 @@ class SwTxtPainter : public SwTxtCursor void CheckSpecialUnderline( const SwLinePortion* pPor, long nAdjustBaseLine = 0 ); protected: - void CtorInitTxtPainter( SwTxtFrm *pFrm, SwTxtPaintInfo *pInf ); - SwTxtPainter(SwTxtNode* pTxtNode) - : SwTxtCursor(pTxtNode) + void CtorInitTextPainter( SwTextFrm *pFrm, SwTextPaintInfo *pInf ); + SwTextPainter(SwTextNode* pTextNode) + : SwTextCursor(pTextNode) , bPaintDrop(false) { } public: - SwTxtPainter(SwTxtFrm *pTxtFrm, SwTxtPaintInfo *pTxtPaintInf) - : SwTxtCursor(pTxtFrm->GetTxtNode()) + SwTextPainter(SwTextFrm *pTextFrm, SwTextPaintInfo *pTextPaintInf) + : SwTextCursor(pTextFrm->GetTextNode()) { - CtorInitTxtPainter( pTxtFrm, pTxtPaintInf ); + CtorInitTextPainter( pTextFrm, pTextPaintInf ); } void DrawTextLine( const SwRect &rPaint, SwSaveClip &rClip, const bool bUnderSz ); @@ -53,10 +53,10 @@ public: const SwMultiPortion* pEnvPor = 0 ); inline void SetPaintDrop( const bool bNew ) { bPaintDrop = bNew; } inline bool IsPaintDrop() const { return bPaintDrop; } - inline SwTxtPaintInfo &GetInfo() - { return static_cast<SwTxtPaintInfo&>(SwTxtIter::GetInfo()); } - inline const SwTxtPaintInfo &GetInfo() const - { return static_cast<const SwTxtPaintInfo&>(SwTxtIter::GetInfo()); } + inline SwTextPaintInfo &GetInfo() + { return static_cast<SwTextPaintInfo&>(SwTextIter::GetInfo()); } + inline const SwTextPaintInfo &GetInfo() const + { return static_cast<const SwTextPaintInfo&>(SwTextIter::GetInfo()); } }; bool IsUnderlineBreak( const SwLinePortion& rPor, const SwFont& rFnt ); |