From 18bad3e45ce8ae41f3d75821ed9c70b189404b9b Mon Sep 17 00:00:00 2001 From: Arnaud Versini Date: Sun, 23 Sep 2012 21:23:28 +0200 Subject: Remove unused member SwDoc::pMacroTable Change-Id: Ic09b960b675d674a16f7f252ed2a974c4e25505b Reviewed-on: https://gerrit.libreoffice.org/680 Tested-by: Bosdonnat Cedric Reviewed-by: Bosdonnat Cedric --- sw/inc/doc.hxx | 1 - sw/source/core/doc/docnew.cxx | 3 --- 2 files changed, 4 deletions(-) diff --git a/sw/inc/doc.hxx b/sw/inc/doc.hxx index 9346d04edda5..682a97aaba71 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 73029d57c10b..92b6edc74fb5 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 ) { -- cgit v1.2.3