[Libreoffice-commits] .: sw/inc sw/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Mon Sep 24 02:16:12 PDT 2012


 sw/inc/doc.hxx                |    1 -
 sw/source/core/doc/docnew.cxx |    3 ---
 2 files changed, 4 deletions(-)

New commits:
commit 18bad3e45ce8ae41f3d75821ed9c70b189404b9b
Author: Arnaud Versini <arnaud.versini at gmail.com>
Date:   Sun Sep 23 21:23:28 2012 +0200

    Remove unused member SwDoc::pMacroTable
    
    Change-Id: Ic09b960b675d674a16f7f252ed2a974c4e25505b
    Reviewed-on: https://gerrit.libreoffice.org/680
    Tested-by: Bosdonnat Cedric <cedric.bosdonnat at free.fr>
    Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat at free.fr>

diff --git a/sw/inc/doc.hxx b/sw/inc/doc.hxx
index 9346d04..682a97a 100644
--- a/sw/inc/doc.hxx
+++ b/sw/inc/doc.hxx
@@ -343,7 +343,6 @@ class SW_DLLPUBLIC SwDoc :
     SwLineNumberInfo*pLineNumberInfo;
     SwFtnIdxs       *pFtnIdxs;
     SwDocStat       *pDocStat;          ///< Statistics information.
-    SvxMacroTableDtor *pMacroTable;     ///< table of macros.
 
     SwDocShell      *pDocShell;         ///< Ptr to SfxDocShell of Doc.
     SfxObjectShellLock xTmpDocShell;    ///< A temporary shell that is used to copy OLE-Nodes
diff --git a/sw/source/core/doc/docnew.cxx b/sw/source/core/doc/docnew.cxx
index 73029d5..92b6edc 100644
--- a/sw/source/core/doc/docnew.cxx
+++ b/sw/source/core/doc/docnew.cxx
@@ -367,8 +367,6 @@ SwDoc::SwDoc()
     // COMPATIBILITY FLAGS END
     //
 
-    pMacroTable = new SvxMacroTableDtor;
-
     mpGrammarContact = ::createGrammarContact();
 
     /*
@@ -574,7 +572,6 @@ SwDoc::~SwDoc()
     // The BookMarks contain indices to the Content. These must be deleted
     // before deleting the Nodes.
     pMarkManager->clearAllMarks();
-    DELETEZ( pMacroTable );
 
     if( pExtInputRing )
     {


More information about the Libreoffice-commits mailing list