summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-06-06 13:31:52 +0200
committerMichael Stahl <Michael.Stahl@cib.de>2019-07-29 14:37:30 +0200
commitd2cb70bf110135a02553fe82c5bf51e5f0f47071 (patch)
tree7d1360a87be2065d11e7dfa9095f53ff8a8bad9e /sd
parent8edc7023a14d26a7a6201f154b5c0e8edb47b1d9 (diff)
tdf#125556 URL fragment leaked from one object..
to another when importing Powerpoint ppt file regression from commit 4245454d0c3d6df2d0e0a75aed6f22f0a26ce3e2 Date: Wed Feb 28 15:50:29 2018 +0200 loplugin:useuniqueptr in SdrPowerPointImport Change-Id: I5f415dfa1f6125629b9f3be1d799cb596c64c605 Reviewed-on: https://gerrit.libreoffice.org/73607 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> (cherry picked from commit 3309893de4e99a7d89fb1e9b4616631b1f040df0) Reviewed-on: https://gerrit.libreoffice.org/76309 Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Diffstat (limited to 'sd')
-rw-r--r--sd/source/filter/ppt/pptin.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/filter/ppt/pptin.cxx b/sd/source/filter/ppt/pptin.cxx
index cb0e17d450b5..9b45a7b84416 100644
--- a/sd/source/filter/ppt/pptin.cxx
+++ b/sd/source/filter/ppt/pptin.cxx
@@ -392,9 +392,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 )