Kaydet (Commit) 0ce23d3f authored tarafından Caolán McNamara's avatar Caolán McNamara Kaydeden (comit) Andras Timar

Related: ofz#8226 + valgrind: uninitialized value

Change-Id: I63dea876dffe2d9e17b506dbd8515da2d97fbf08
Reviewed-on: https://gerrit.libreoffice.org/54114Reviewed-by: 's avatarMichael Stahl <Michael.Stahl@cib.de>
Tested-by: 's avatarJenkins <ci@libreoffice.org>
(cherry picked from commit 0ec74577)
üst d2acd20d
...@@ -2852,7 +2852,7 @@ void MathType::HandleSetSize() ...@@ -2852,7 +2852,7 @@ void MathType::HandleSetSize()
bool MathType::HandleChar(sal_Int32 &rTextStart, int &rSetSize, int nLevel, bool MathType::HandleChar(sal_Int32 &rTextStart, int &rSetSize, int nLevel,
sal_uInt8 nTag, sal_uInt8 nSelector, sal_uInt8 nVariation, bool bSilent) sal_uInt8 nTag, sal_uInt8 nSelector, sal_uInt8 nVariation, bool bSilent)
{ {
sal_Unicode nChar; sal_Unicode nChar(0);
bool bRet = true; bool bRet = true;
if (xfAUTO(nTag)) if (xfAUTO(nTag))
...@@ -2865,7 +2865,7 @@ bool MathType::HandleChar(sal_Int32 &rTextStart, int &rSetSize, int nLevel, ...@@ -2865,7 +2865,7 @@ bool MathType::HandleChar(sal_Int32 &rTextStart, int &rSetSize, int nLevel,
pS->ReadUChar( nTypeFace ); pS->ReadUChar( nTypeFace );
if (nVersion < 3) if (nVersion < 3)
{ {
sal_uInt8 nChar8; sal_uInt8 nChar8(0);
pS->ReadUChar( nChar8 ); pS->ReadUChar( nChar8 );
nChar = nChar8; nChar = nChar8;
} }
......
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