summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArnaud Versini <arnaud.versini@gmail.com>2012-09-23 21:23:28 +0200
committerBosdonnat Cedric <cedric.bosdonnat@free.fr>2012-09-24 09:15:49 +0000
commit18bad3e45ce8ae41f3d75821ed9c70b189404b9b (patch)
tree0da5c7c883e1f80c781918080321d14fd4224d3d
parent78b99d37b58831922be1645ca73e3bb7f50c0e44 (diff)
Remove unused member SwDoc::pMacroTable
Change-Id: Ic09b960b675d674a16f7f252ed2a974c4e25505b Reviewed-on: https://gerrit.libreoffice.org/680 Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr> Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
-rw-r--r--sw/inc/doc.hxx1
-rw-r--r--sw/source/core/doc/docnew.cxx3
2 files changed, 0 insertions, 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 )
{