aknlayoutcompiler/src/Extract.cpp
changeset 1 b700e12870ca
parent 0 f58d6ec98e88
equal deleted inserted replaced
0:f58d6ec98e88 1:b700e12870ca
    69 	if (args.size() < 4)
    69 	if (args.size() < 4)
    70 		throw LayoutExtractArgsErr();
    70 		throw LayoutExtractArgsErr();
    71 
    71 
    72 	iDocName = args[2];
    72 	iDocName = args[2];
    73 
    73 
    74 	int layoutIndex = 3;
    74 	unsigned int layoutIndex = 3;
    75 	if (args[3][0] == '-')
    75 	if (args[3][0] == '-')
    76 		{
    76 		{
    77 		if (args[3].size() < 3 || args[3][1] != 'o')
    77 		if (args[3].size() < 3 || args[3][1] != 'o')
    78 			throw LayoutExtractArgsErr();
    78 			throw LayoutExtractArgsErr();
    79 
    79