diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-07-06 23:10:38 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-07-07 07:48:12 +0200 |
commit | e294fa9283071cb2816b6d8c759ed76ee552410e (patch) | |
tree | 10fc4d353de9409d769e74675536b8be4acf7c03 /idl/source/prj/command.cxx | |
parent | af1be90e528ceeca70ee8f266fc6f6d8682b2c0d (diff) |
Replace GetAppData(SHL_IDL) with an rtl::Static
Change-Id: Ia7a75c4686734aa811006858343666d2edfde8a1
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 ) |