From 9bba2d6a5ce91d851cfa15cbef3ba06e6907bc49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Mon, 9 Sep 2013 20:16:37 +0100 Subject: [PATCH] CID#1079152 uninitialized m_bOnWin Change-Id: I8f7e56ce86e7097379a8e063405bf95405616318 --- sw/source/core/text/inftxt.hxx | 7 +++++-- 1 file 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.