diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-09-09 20:16:37 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-09-09 20:16:37 +0100 |
commit | 9bba2d6a5ce91d851cfa15cbef3ba06e6907bc49 (patch) | |
tree | 2592a029485d6ab2a6622a602f282239b6fbb508 | |
parent | CID#1079180 initialize buffer (diff) | |
download | core-9bba2d6a5ce91d851cfa15cbef3ba06e6907bc49.tar.gz core-9bba2d6a5ce91d851cfa15cbef3ba06e6907bc49.zip |
CID#1079152 uninitialized m_bOnWin
Change-Id: I8f7e56ce86e7097379a8e063405bf95405616318
-rw-r--r-- | sw/source/core/text/inftxt.hxx | 7 |
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. |