diff options
Diffstat (limited to 'idl/source/prj/command.cxx')
-rw-r--r-- | idl/source/prj/command.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/idl/source/prj/command.cxx b/idl/source/prj/command.cxx index 4db8ca592d27..2967e054850c 100644 --- a/idl/source/prj/command.cxx +++ b/idl/source/prj/command.cxx @@ -29,6 +29,7 @@ #include <command.hxx> #include <globals.hxx> #include <database.hxx> +#include <parser.hxx> char const * SyntaxStrings[] = { "basic-type:", @@ -126,7 +127,8 @@ bool ReadIdl( SvIdlWorkingBase * pDataBase, const SvCommand & rCommand ) if( aStm.GetError() == SVSTREAM_OK ) { SvTokenStream aTokStm( aStm, aFileName ); - if( !pDataBase->ReadSvIdl( aTokStm, false, rCommand.aPath ) ) + SvIdlParser aParser; + if( !aParser.ReadSvIdl( *pDataBase, aTokStm, false, rCommand.aPath ) ) return false; } else |