Fixed N_SE-38563, N_SE-38552
[apps/osp/Settings.git] / src / StBluetoothDetailForm.cpp
index 2b7022a..2c9bb39 100644 (file)
@@ -212,8 +212,8 @@ BluetoothDetailForm::CreateGroupItem(int groupIndex, int itemWidth)
        pItem->AddControl(pLabel);
        pItem->SetEnabled(false);
        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);
 
        return pItem;
 }
@@ -313,8 +313,8 @@ BluetoothDetailForm::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);
        if (isItemSubText)
        {
                Label* pSecondLabel = new (std::nothrow) Label();
@@ -338,8 +338,8 @@ BluetoothDetailForm::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;
@@ -471,4 +471,4 @@ BluetoothDetailForm::OnBluetoothPresentationModelEventCompletedN(BluetoothPresen
        {
                AppLogDebug("BluetoothPresentationModelEvent is unknown");
        }
-}
\ No newline at end of file
+}