cid#1500516 Explicit null dereferenced
Change-Id: I3fda15451e55d4ee1b296cddb1f6933d81faae3f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/138924 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
This commit is contained in:
parent
97622503fe
commit
aa81005151
1 changed files with 1 additions and 1 deletions
|
@ -264,8 +264,8 @@ void SwWW8ImplReader::ReadEmbeddedData(SvStream& rStrm, SwDocShell const * pDocS
|
|||
{
|
||||
xLongName.reset(new OUString(read_uInt16s_ToOUString(rStrm, nStrLen - 1)));
|
||||
rStrm.SeekRel(sizeof(sal_Unicode)); // skip null-byte at end
|
||||
lclGetAbsPath( *xLongName, 0 , pDocShell);
|
||||
}
|
||||
lclGetAbsPath( *xLongName, 0 , pDocShell);
|
||||
}
|
||||
// file link or URL
|
||||
else if( ::get_flag( nFlags, WW8_HLINK_BODY ) )
|
||||
|
|
Loading…
Reference in a new issue