Fixed N_SE-38563, N_SE-38552
[apps/osp/Settings.git] / src / StCertificateUserForm.cpp
index 021a2d6..b02d792 100644 (file)
@@ -260,8 +260,8 @@ CertificateUserForm::CreateItem(int groupIndex, int itemIndex, int itemWidth)
 
        pItem->AddControl(pLabel);
        relativeLayout.SetMargin(*pLabel, 0, 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);
 
        Label* pSecondLabel = new (std::nothrow) Label();
        result r = pSecondLabel->Construct(itemSubRectangle, itemSecondText);
@@ -279,8 +279,8 @@ CertificateUserForm::CreateItem(int groupIndex, int itemIndex, int itemWidth)
 
        pItem->AddControl(pSecondLabel);
        relativeLayout.SetMargin(*pSecondLabel, 0, 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);
 
        return pItem;
 }
@@ -552,4 +552,4 @@ CertificateUserForm::HideAlertPopup(void)
        __isPopupVisible = false;
        __installFromSDCardPopup->SetShowState(false);
        __installFromSDCardPopup->Invalidate(true);
-}
\ No newline at end of file
+}