diff options
Diffstat (limited to 'idl/source/prj/command.cxx')
-rw-r--r-- | idl/source/prj/command.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/idl/source/prj/command.cxx b/idl/source/prj/command.cxx index 50d410819c28..740d384add60 100644 --- a/idl/source/prj/command.cxx +++ b/idl/source/prj/command.cxx @@ -108,9 +108,9 @@ char const CommandLineSyntax[] = void Init() { if( !GetIdlApp().pHashTable ) - GetIdlApp().pHashTable = new SvStringHashTable; + GetIdlApp().pHashTable.reset( new SvStringHashTable ); if( !GetIdlApp().pGlobalNames ) - GetIdlApp().pGlobalNames = new SvGlobalHashNames(); + GetIdlApp().pGlobalNames.reset( new SvGlobalHashNames() ); } bool ReadIdl( SvIdlWorkingBase * pDataBase, const SvCommand & rCommand ) |