tdf#125556 URL fragment leaked from one object..

to another when importing Powerpoint ppt file

regression from
    commit 4245454d0c
    Date:   Wed Feb 28 15:50:29 2018 +0200
    loplugin:useuniqueptr in SdrPowerPointImport

Change-Id: I5f415dfa1f6125629b9f3be1d799cb596c64c605
Reviewed-on: https://gerrit.libreoffice.org/73602
Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org>
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
This commit is contained in:
Noel Grandin
2019-06-06 13:31:52 +02:00
parent 1d959beba1
commit e6adec29be

View File

@@ -378,9 +378,9 @@ bool ImplSdPPTImport::Import()
nPropCount /= 6; // 6 properties per hyperlink
SdHyperlinkEntry aHyperlink;
for ( i = 0; i < nPropCount; i++ )
{
SdHyperlinkEntry aHyperlink;
aHyperlink.nIndex = 0;
aPropItem.ReadUInt32( nType );
if ( nType != VT_I4 )