[Libreoffice-commits] core.git: filter/source

Noel Grandin noel.grandin at collabora.co.uk
Tue Mar 20 06:46:44 UTC 2018


 filter/source/flash/swfexporter.cxx |    4 ----
 filter/source/flash/swfexporter.hxx |    4 ----
 2 files changed, 8 deletions(-)

New commits:
commit 1083e405b6138867ea2d8ff74706237c0a68dc75
Author: Noel Grandin <noel.grandin at collabora.co.uk>
Date:   Mon Mar 19 14:28:34 2018 +0200

    remove unused maShapesVector
    
    Change-Id: I6ce10a74ed9c665ff20d6408fe2f6b31faf46bcc
    Reviewed-on: https://gerrit.libreoffice.org/51552
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>

diff --git a/filter/source/flash/swfexporter.cxx b/filter/source/flash/swfexporter.cxx
index 641f4d72ca8d..2b9d8acd675b 100644
--- a/filter/source/flash/swfexporter.cxx
+++ b/filter/source/flash/swfexporter.cxx
@@ -61,10 +61,6 @@ PageInfo::PageInfo()
 
 PageInfo::~PageInfo()
 {
-    for (auto const& shape : maShapesVector)
-    {
-        delete shape;
-    }
 }
 
 
diff --git a/filter/source/flash/swfexporter.hxx b/filter/source/flash/swfexporter.hxx
index b8ca54cdbfcd..8e72bd6ef33c 100644
--- a/filter/source/flash/swfexporter.hxx
+++ b/filter/source/flash/swfexporter.hxx
@@ -60,12 +60,8 @@ struct PageInfo
     sal_uInt16      mnObjectsID;
     sal_uInt16      mnForegroundID;
 
-    ::std::vector<ShapeInfo*>
-                    maShapesVector;
-
     PageInfo();
     ~PageInfo();
-
 };
 
 


More information about the Libreoffice-commits mailing list