idlc/source/idlc.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 39c3a4d6644ae78783aa8877557e4c021cba7973
Author: Michael Stahl <mst...@redhat.com>
Date:   Wed Sep 5 15:01:25 2012 +0200

    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

diff --git a/idlc/source/idlc.cxx b/idlc/source/idlc.cxx
index cd427c5..a064e7b 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()
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to