summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/text/inftxt.hxx7
1 files changed, 5 insertions, 2 deletions
diff --git a/sw/source/core/text/inftxt.hxx b/sw/source/core/text/inftxt.hxx
index 1396c7a52ab0..99c777b1890a 100644
--- a/sw/source/core/text/inftxt.hxx
+++ b/sw/source/core/text/inftxt.hxx
@@ -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.