[Libreoffice-commits] core.git: idlc/inc idlc/source
Stephan Bergmann
sbergman at redhat.com
Tue Feb 21 06:37:33 UTC 2017
idlc/inc/idlc.hxx | 1 -
idlc/source/idlc.cxx | 2 --
2 files changed, 3 deletions(-)
New commits:
commit e972d6bb36efaa14eb4983c835491cbcd6283e91
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Tue Feb 21 07:37:08 2017 +0100
Idlc::m_pErrorHandler is unused
Change-Id: I41fea5e08381e21dff12f61142a4d54f07a502f4
diff --git a/idlc/inc/idlc.hxx b/idlc/inc/idlc.hxx
index 20665ba..2811c6b 100644
--- a/idlc/inc/idlc.hxx
+++ b/idlc/inc/idlc.hxx
@@ -117,7 +117,6 @@ private:
Options* m_pOptions;
AstStack* m_pScopes;
AstModule* m_pRoot;
- ErrorHandler* m_pErrorHandler;
OString m_fileName;
OString m_mainFileName;
OString m_realFileName;
diff --git a/idlc/source/idlc.cxx b/idlc/source/idlc.cxx
index 74e4c35..2d2a94a 100644
--- a/idlc/source/idlc.cxx
+++ b/idlc/source/idlc.cxx
@@ -212,7 +212,6 @@ Idlc::Idlc(Options* pOptions)
m_pScopes = new AstStack();
// init root object after construction
m_pRoot = nullptr;
- m_pErrorHandler = new ErrorHandler();
m_bGenerateDoc = m_pOptions->isValid("-C");
}
@@ -220,7 +219,6 @@ Idlc::~Idlc()
{
delete m_pRoot;
delete m_pScopes;
- delete m_pErrorHandler;
}
void Idlc::init()
More information about the Libreoffice-commits
mailing list