CID#1079152 uninitialized m_bOnWin

Change-Id: I8f7e56ce86e7097379a8e063405bf95405616318
This commit is contained in:
Caolán McNamara
2013-09-09 20:16:37 +01:00
parent c119ec426b
commit 9bba2d6a5c

View File

@@ -205,10 +205,13 @@ public:
const sal_Int32 nIdx = 0,
const xub_StrLen nLen = STRING_LEN );
inline SwTxtSizeInfo( SwTxtFrm *pTxtFrm, SwFont *pTxtFnt = 0,
SwTxtSizeInfo( SwTxtFrm *pTxtFrm, SwFont *pTxtFnt = 0,
const sal_Int32 nIndex = 0,
const xub_StrLen nLength = STRING_LEN )
{ CtorInitTxtSizeInfo( pTxtFrm, pTxtFnt, nIndex, nLength ); }
: m_bOnWin(false)
{
CtorInitTxtSizeInfo( pTxtFrm, pTxtFnt, nIndex, nLength );
}
// GetMultiAttr returns the text attribute of the multiportion,
// if rPos is inside any multi-line part.