Related: fdo#54186 show JCL options, parse JCLOpenUI the same as OpenUI
Change-Id: I495583b56502f349cd789466e9daeb6528ea9048
This commit is contained in:
@@ -973,17 +973,19 @@ void PPDParser::parse( ::std::list< OString >& rLines )
|
||||
aKey = aKey.copy(0, nPos);
|
||||
aKey = aKey.copy(1); // remove the '*'
|
||||
|
||||
if (aKey.equalsL(RTL_CONSTASCII_STRINGPARAM("CloseUI")) ||
|
||||
aKey.equalsL(RTL_CONSTASCII_STRINGPARAM("OpenGroup")) ||
|
||||
aKey.equalsL(RTL_CONSTASCII_STRINGPARAM("CloseGroup")) ||
|
||||
aKey.equalsL(RTL_CONSTASCII_STRINGPARAM("End")) ||
|
||||
aKey.equalsL(RTL_CONSTASCII_STRINGPARAM("OpenSubGroup")) ||
|
||||
aKey.equalsL(RTL_CONSTASCII_STRINGPARAM("CloseSubGroup")))
|
||||
if ((aKey == "CloseUI") ||
|
||||
(aKey == "JCLCloseUI") ||
|
||||
(aKey == "OpenGroup") ||
|
||||
(aKey == "CloseGroup") ||
|
||||
(aKey == "End") ||
|
||||
(aKey == "JCLEnd") ||
|
||||
(aKey == "OpenSubGroup") ||
|
||||
(aKey == "CloseSubGroup"))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
if (aKey.equalsL(RTL_CONSTASCII_STRINGPARAM("OpenUI")))
|
||||
if ((aKey == "OpenUI") || (aKey == "JCLOpenUI"))
|
||||
{
|
||||
parseOpenUI( aCurrentLine );
|
||||
continue;
|
||||
|
Reference in New Issue
Block a user