diff options
author | Michael Stahl <mstahl@redhat.com> | 2012-09-05 15:01:25 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2012-09-05 15:07:29 +0200 |
commit | 39c3a4d6644ae78783aa8877557e4c021cba7973 (patch) | |
tree | 7dba47a63665af09a7b3c5676b79672b6da44730 /idlc | |
parent | 24391f605703bda1bcfa99ef06e5a73c6b52d267 (diff) |
idlc: clear include file set in Idlc::reset():
Resetting the set between files reduces the size of the generated
offapi.d from 41M to 4.5M.
Change-Id: I221e6dfb75cbadb5d970f18eccfc85ffdb83ce6c
Diffstat (limited to 'idlc')
-rw-r--r-- | idlc/source/idlc.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/idlc/source/idlc.cxx b/idlc/source/idlc.cxx index cd427c51dcba..a064e7b1d4a3 100644 --- a/idlc/source/idlc.cxx +++ b/idlc/source/idlc.cxx @@ -270,6 +270,8 @@ void Idlc::reset() // push the root node on the stack m_pScopes->push(m_pRoot); initializePredefinedTypes(m_pRoot); + + m_includes.clear(); } sal_Bool Idlc::isDocValid() |