Fixed N_SE-38563, N_SE-38552
[apps/osp/Settings.git] / src / StAccessibilityForm.cpp
index 13cf004..60aaec1 100644 (file)
@@ -233,8 +233,8 @@ AccessibilityForm::CreateGroupItem(int groupIndex, int itemWidth)
        pItem->AddControl(pLabel);
        pItem->SetEnabled(false);
        relativeLayout.SetMargin(*pLabel, itemMainRectangle.x, 0, 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);
 
        return pItem;
 }
@@ -399,8 +399,8 @@ AccessibilityForm::CreateItem(int groupIndex, int itemIndex, int itemWidth)
        {
                relativeLayout.SetMargin(*pLabel, startGap, 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 (itemSubText.IsEmpty() == false)
        {
@@ -413,8 +413,8 @@ AccessibilityForm::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);
        }
 
        return pItem;