Fixed Coding Idioms Violations
[platform/framework/native/uifw.git] / src / ui / controls / FUiCtrl_Toolbar.cpp
index e3bc1f0..bc6e2a0 100644 (file)
@@ -2886,7 +2886,7 @@ _Toolbar::SetTitleText(const String& text, HorizontalAlignment alignment)
                GetAccessibilityContainer()->AddElement(*__pTitleTextElement);
        }
 
-       if( __descriptionText.IsEmpty())
+       if(__descriptionText.IsEmpty())
        {
                __pTitleTextElement->SetLabel(__titleText);
                __pTitleTextElement->SetBounds(FloatRectangle(__pToolbarPresenter->GetTitleTextBoundsF()));
@@ -3461,7 +3461,7 @@ _Toolbar::OnBoundsChanged(void)
 
        if(__pTitleTextElement)
        {
-               if( __descriptionText.IsEmpty())
+               if(__descriptionText.IsEmpty())
                {
                        __pTitleTextElement->SetBounds(FloatRectangle(__pToolbarPresenter->GetTitleTextBoundsF()));
                }
@@ -5963,7 +5963,7 @@ _Toolbar::OnDraw(void)
 
        if(__pTitleTextElement)
        {
-               if( __descriptionText.IsEmpty())
+               if(__descriptionText.IsEmpty())
                {
                        __pTitleTextElement->SetBounds(FloatRectangle(__pToolbarPresenter->GetTitleTextBoundsF()));
                }
@@ -8374,7 +8374,7 @@ _Toolbar::RearrangeFooterSegmentedItems(void)
                GET_SHAPE_CONFIG(HEADER::SEGMENTED_ITEM_FONT_SIZE, GetOrientation(), fontSize);
                GET_SHAPE_CONFIG(HEADER::SEGMENTED_ITEM_MULTILINE_FONT_SIZE, GetOrientation(), multilineFontSize);
        }
-       else if ( __itemCount == 2)
+       else if (__itemCount == 2)
        {
                if (__pButtonItems[LEFT_BUTTON])
                {