Kaydet (Commit) 3b998365 authored tarafından Caolán McNamara's avatar Caolán McNamara

pLayout can't be null here

Change-Id: Ic8a9691a8ddf32eaf58227a9533113f9bac596eb
üst a8a9d0ad
......@@ -371,12 +371,12 @@ LwpVirtualLayout* LwpVirtualLayout::FindChildByType(LWP_LAYOUT_TYPE eType)
while(!rID.IsNull())
{
LwpVirtualLayout * pLayout = dynamic_cast<LwpVirtualLayout *>(rID.obj().get());
if(!pLayout)
if (!pLayout)
{
break;
}
if (pLayout && pLayout->GetLayoutType() == eType)
if (pLayout->GetLayoutType() == eType)
{
return pLayout;
}
......
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