Kaydet (Commit) f50f76ce authored tarafından Miklos Vajna's avatar Miklos Vajna Kaydeden (comit) Andras Timar

sw: outline SwTextFormatInfo ctor

Change-Id: I07b3a7768def547a34cbcdd8966157065605d5fb
(cherry picked from commit d3456256)
üst 9b627e59
...@@ -1467,6 +1467,12 @@ void SwTextFormatInfo::Init() ...@@ -1467,6 +1467,12 @@ void SwTextFormatInfo::Init()
SetPaintOfst(0); SetPaintOfst(0);
} }
SwTextFormatInfo::SwTextFormatInfo(SwTextFrm *pFrame, const bool bInterHyphL,
const bool bQuickL, const bool bTst)
{
CtorInitTextFormatInfo(pFrame, bInterHyphL, bQuickL, bTst);
}
/** /**
* There are a few differences between a copy constructor * There are a few differences between a copy constructor
* and the following constructor for multi-line formatting. * and the following constructor for multi-line formatting.
......
...@@ -563,9 +563,8 @@ class SwTextFormatInfo : public SwTextPaintInfo ...@@ -563,9 +563,8 @@ class SwTextFormatInfo : public SwTextPaintInfo
public: public:
void CtorInitTextFormatInfo( SwTextFrm *pFrm, const bool bInterHyph = false, void CtorInitTextFormatInfo( SwTextFrm *pFrm, const bool bInterHyph = false,
const bool bQuick = false, const bool bTst = false ); const bool bQuick = false, const bool bTst = false );
inline SwTextFormatInfo(SwTextFrm *pFrame, const bool bInterHyphL = false, SwTextFormatInfo(SwTextFrm *pFrame, const bool bInterHyphL = false,
const bool bQuickL = false, const bool bTst = false) const bool bQuickL = false, const bool bTst = false);
{ CtorInitTextFormatInfo( pFrame, bInterHyphL, bQuickL, bTst ); }
// For the formatting inside a double line in a line (multi-line portion) // For the formatting inside a double line in a line (multi-line portion)
// we need a modified text-format-info: // we need a modified text-format-info:
......
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