diff options
Diffstat (limited to 'idl/source/prj/command.cxx')
-rw-r--r-- | idl/source/prj/command.cxx | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/idl/source/prj/command.cxx b/idl/source/prj/command.cxx index 39c1bc45450d..44dd4918e479 100644 --- a/idl/source/prj/command.cxx +++ b/idl/source/prj/command.cxx @@ -116,15 +116,10 @@ char CommandLineSyntax[] = void Init() { - if( !IDLAPP->pHashTable ) - IDLAPP->pHashTable = new SvStringHashTable( 2801 ); - if( !IDLAPP->pGlobalNames ) - IDLAPP->pGlobalNames = new SvGlobalHashNames(); -} - -void DeInit() -{ - delete IDLAPP; + if( !GetIdlApp().pHashTable ) + GetIdlApp().pHashTable = new SvStringHashTable( 2801 ); + if( !GetIdlApp().pGlobalNames ) + GetIdlApp().pGlobalNames = new SvGlobalHashNames(); } bool ReadIdl( SvIdlWorkingBase * pDataBase, const SvCommand & rCommand ) |