Kaydet (Commit) 23648e82 authored tarafından Thorsten Behrens's avatar Thorsten Behrens

Fix crash in ppd parser.

Only access pKey after we've set it.

Change-Id: If0be3972c36b3da9d9a456fe3746224372a443dc
üst 6835d9f3
......@@ -935,8 +935,10 @@ void PPDParser::parse( ::std::list< OString >& rLines )
OUString aUniKey(OStringToOUString(aKey, RTL_TEXTENCODING_MS_1252));
keyit = m_aKeys.find( aUniKey );
if(keyit != m_aKeys.end())
{
pKey = keyit->second;
pKey->insertValue("Custom", eInvocation, true);
pKey->insertValue("Custom", eInvocation, true);
}
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