Slight gantt export refactoring (#3229).
Authored by: jplang 2009-04-25
Parent: [r2689]
Child: [r2691]