diff options
author | Michael Stahl <mstahl@redhat.com> | 2012-09-05 15:01:25 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-09-05 13:31:49 +0000 |
commit | ac5345c4d9ac03cff9e6efc7f6269a2282119ea5 (patch) | |
tree | 04dadac62904c7d54cf1ab886b95dd8f1b97e17a /idlc | |
parent | 0e6054f8f5e2d41e50a50645defa5861599fe375 (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
(cherry picked from commit 39c3a4d6644ae78783aa8877557e4c021cba7973)
Reviewed-on: https://gerrit.libreoffice.org/566
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Stephan Bergmann <sbergman@redhat.com>
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 4d15b2fec1fb..0fd721fd925f 100644 --- a/idlc/source/idlc.cxx +++ b/idlc/source/idlc.cxx @@ -279,6 +279,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() |