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

Jochen Nitschke j.nitschke+logerrit at ok.de
Wed Dec 7 18:49:34 UTC 2016


 writerfilter/source/dmapper/TablePropertiesHandler.cxx |    7 -------
 writerfilter/source/dmapper/TablePropertiesHandler.hxx |    1 -
 2 files changed, 8 deletions(-)

New commits:
commit feb3881658f23abce8e737f55c455209091c8884
Author: Jochen Nitschke <j.nitschke+logerrit at ok.de>
Date:   Mon Dec 5 19:38:19 2016 +0100

    remove member write in dtor
    
    none of the other members hold references to it.
    This made the whole dtor obsolete.
    
    Change-Id: I21f49b6e05ca8efda8b466930b5e3b156bc5b868
    Reviewed-on: https://gerrit.libreoffice.org/31681
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>

diff --git a/writerfilter/source/dmapper/TablePropertiesHandler.cxx b/writerfilter/source/dmapper/TablePropertiesHandler.cxx
index 5d42d00..e8a7aff 100644
--- a/writerfilter/source/dmapper/TablePropertiesHandler.cxx
+++ b/writerfilter/source/dmapper/TablePropertiesHandler.cxx
@@ -46,13 +46,6 @@ namespace dmapper {
     {
     }
 
-
-    TablePropertiesHandler::~TablePropertiesHandler( )
-    {
-        // Do not delete the table manager... this will be done somewhere else
-        m_pTableManager = nullptr;
-    }
-
     bool TablePropertiesHandler::sprm(Sprm & rSprm)
     {
 #ifdef DEBUG_WRITERFILTER
diff --git a/writerfilter/source/dmapper/TablePropertiesHandler.hxx b/writerfilter/source/dmapper/TablePropertiesHandler.hxx
index 5a52aed..4007651 100644
--- a/writerfilter/source/dmapper/TablePropertiesHandler.hxx
+++ b/writerfilter/source/dmapper/TablePropertiesHandler.hxx
@@ -43,7 +43,6 @@ private:
 
 public:
     TablePropertiesHandler();
-    ~TablePropertiesHandler( );
 
     bool sprm(Sprm & sprm);
 


More information about the Libreoffice-commits mailing list