Kaydet (Commit) 2ee1de71 authored tarafından Caolán McNamara's avatar Caolán McNamara

Related: fdo#54186 show JCL options, parse JCLOpenUI the same as OpenUI

Change-Id: I495583b56502f349cd789466e9daeb6528ea9048
üst 8dc5b9d6
...@@ -973,17 +973,19 @@ void PPDParser::parse( ::std::list< OString >& rLines ) ...@@ -973,17 +973,19 @@ void PPDParser::parse( ::std::list< OString >& rLines )
aKey = aKey.copy(0, nPos); aKey = aKey.copy(0, nPos);
aKey = aKey.copy(1); // remove the '*' aKey = aKey.copy(1); // remove the '*'
if (aKey.equalsL(RTL_CONSTASCII_STRINGPARAM("CloseUI")) || if ((aKey == "CloseUI") ||
aKey.equalsL(RTL_CONSTASCII_STRINGPARAM("OpenGroup")) || (aKey == "JCLCloseUI") ||
aKey.equalsL(RTL_CONSTASCII_STRINGPARAM("CloseGroup")) || (aKey == "OpenGroup") ||
aKey.equalsL(RTL_CONSTASCII_STRINGPARAM("End")) || (aKey == "CloseGroup") ||
aKey.equalsL(RTL_CONSTASCII_STRINGPARAM("OpenSubGroup")) || (aKey == "End") ||
aKey.equalsL(RTL_CONSTASCII_STRINGPARAM("CloseSubGroup"))) (aKey == "JCLEnd") ||
(aKey == "OpenSubGroup") ||
(aKey == "CloseSubGroup"))
{ {
continue; continue;
} }
if (aKey.equalsL(RTL_CONSTASCII_STRINGPARAM("OpenUI"))) if ((aKey == "OpenUI") || (aKey == "JCLOpenUI"))
{ {
parseOpenUI( aCurrentLine ); parseOpenUI( aCurrentLine );
continue; continue;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment