Fixed N_SE-38563, N_SE-38552
[apps/osp/Settings.git] / src / StWifiApDetailForm.cpp
index 4e2c962..23277d8 100644 (file)
@@ -298,8 +298,8 @@ WifiApDetailForm::CreateGroupItem(int groupIndex, int itemWidth)
                pLabel->SetTextColor(itemLableTextColor);
 
                relativeLayout.SetMargin(*pLabel, itemRectLable.x, RELATIVE_LAYOUT_RIGHT_MARGIN, 0, 0);
-               relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);
-               relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_RIGHT_TO_RIGHT);
+               relativeLayout.SetRelation(*pLabel, pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);
+               relativeLayout.SetRelation(*pLabel, pItem, RECT_EDGE_RELATION_RIGHT_TO_RIGHT);
                pItem->AddControl(pLabel);
        }
 
@@ -573,8 +573,8 @@ WifiApDetailForm::CreateItem(int groupIndex, int itemIndex, int itemWidth)
 
        pItem->AddControl(pLabel);
        relativeLayout.SetMargin(*pLabel, itemRectangle.x, RELATIVE_LAYOUT_RIGHT_MARGIN, 0, 0);
-       relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);
-       relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_RIGHT_TO_RIGHT);
+       relativeLayout.SetRelation(*pLabel, pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);
+       relativeLayout.SetRelation(*pLabel, pItem, RECT_EDGE_RELATION_RIGHT_TO_RIGHT);
 
        if (isTwoLineItemText == true)
        {
@@ -610,8 +610,8 @@ WifiApDetailForm::CreateItem(int groupIndex, int itemIndex, int itemWidth)
 
                pItem->AddControl(pSecondLabel);
                relativeLayout.SetMargin(*pSecondLabel, itemRectSecondLabel.x, RELATIVE_LAYOUT_RIGHT_MARGIN, 0, 0);
-               relativeLayout.SetRelation(*pSecondLabel, *pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);
-               relativeLayout.SetRelation(*pSecondLabel, *pItem, RECT_EDGE_RELATION_RIGHT_TO_RIGHT);
+               relativeLayout.SetRelation(*pSecondLabel, pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);
+               relativeLayout.SetRelation(*pSecondLabel, pItem, RECT_EDGE_RELATION_RIGHT_TO_RIGHT);
        }
 
        if (__wifiApConnectCheck == true)
@@ -974,4 +974,4 @@ WifiApDetailForm::OnWifiPresentationModelEventCompleted(WifiPresentationModelEve
        default:
                break;
        }
-}
\ No newline at end of file
+}