[Libreoffice-commits] .: Branch 'libreoffice-3-6' - idlc/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Wed Sep 5 06:32:12 PDT 2012


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

New commits:
commit ac5345c4d9ac03cff9e6efc7f6269a2282119ea5
Author: Michael Stahl <mstahl at 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
    (cherry picked from commit 39c3a4d6644ae78783aa8877557e4c021cba7973)
    Reviewed-on: https://gerrit.libreoffice.org/566
    Reviewed-by: Stephan Bergmann <sbergman at redhat.com>
    Tested-by: Stephan Bergmann <sbergman at redhat.com>

diff --git a/idlc/source/idlc.cxx b/idlc/source/idlc.cxx
index 4d15b2f..0fd721f 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()


More information about the Libreoffice-commits mailing list