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:
@@ -378,9 +378,9 @@ bool ImplSdPPTImport::Import()
|
|||||||
|
|
||||||
nPropCount /= 6; // 6 properties per hyperlink
|
nPropCount /= 6; // 6 properties per hyperlink
|
||||||
|
|
||||||
SdHyperlinkEntry aHyperlink;
|
|
||||||
for ( i = 0; i < nPropCount; i++ )
|
for ( i = 0; i < nPropCount; i++ )
|
||||||
{
|
{
|
||||||
|
SdHyperlinkEntry aHyperlink;
|
||||||
aHyperlink.nIndex = 0;
|
aHyperlink.nIndex = 0;
|
||||||
aPropItem.ReadUInt32( nType );
|
aPropItem.ReadUInt32( nType );
|
||||||
if ( nType != VT_I4 )
|
if ( nType != VT_I4 )
|
||||||
|
Reference in New Issue
Block a user