Fixed N_SE-38563, N_SE-38552
[apps/osp/Settings.git] / src / StBluetoothForm.cpp
index c4f88dc..a7f2885 100644 (file)
@@ -374,8 +374,8 @@ BluetoothForm::CreateGroupItem(int groupIndex, 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);
        pItem->SetBackgroundColor(COLOR_BG_GROUP_INDEX_DEFAULT);
        pItem->SetEnabled(false);
 
@@ -624,8 +624,8 @@ BluetoothForm::CreateItem(int groupIndex, int itemIndex, int itemWidth)
 
                pItem->AddControl(pLabel);
                relativeLayout.SetMargin(*pLabel, itemIconRect.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);
 
                delete pBitmap;
        }
@@ -662,8 +662,8 @@ BluetoothForm::CreateItem(int groupIndex, int itemIndex, int itemWidth)
        {
                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)
        {
@@ -689,8 +689,8 @@ BluetoothForm::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 ((__groupIndexTranslateTable[ID_GROUP_TOTAL_COUNT] == groupIndex + ID_BLUETOOTH_COUNT_DEFAULT)
@@ -1544,7 +1544,7 @@ BluetoothForm::UpdateItem(int groupIndex, int itemIndex, Tizen::Ui::Controls::Ta
                                        AppLogDebug("pAnimation is null");
                                        return;
                                }
-                               pItem->RemoveControl(*pAnimation);
+                               pItem->RemoveControl(pAnimation);
                        }
                }
                break;
@@ -1721,4 +1721,4 @@ BluetoothForm::OnBluetoothPresentationModelEventCompletedN(BluetoothPresentation
        default:
                break;
        }
-}
\ No newline at end of file
+}