Fix cording rule. 99/103999/1
authorWoochan Lee <wc0917.lee@samsung.com>
Mon, 12 Dec 2016 05:23:47 +0000 (14:23 +0900)
committerWoochan Lee <wc0917.lee@samsung.com>
Mon, 12 Dec 2016 05:24:53 +0000 (14:24 +0900)
Change-Id: I1f3496a0c6b6be70a141185dda3c9614efaf167f

src/lib/efl/mobile/UiTabView.cpp
src/lib/efl/mobile/c/ui_application.cpp
src/lib/efl/mobile/c/ui_tab_view.cpp
src/lib/interface/UiIfaceView.cpp
src/lib/interface/UiIfaceViewmgr.cpp

index 79877796a55f884384683b65e22d3c0976eaa82e..a61dba39e9ca82ee7a39d8f53d52c08d6805ef7e 100644 (file)
@@ -270,8 +270,7 @@ int UiTabViewImpl::setTabIcon(int id, const char *icon)
        if (icon && !this->_icon) {
                elm_object_signal_emit(this->_layout, "elm,state,tabbar,icon,show", "viewmgr");
                this->_icon = true;
-       }
-       else if (this->_icon) {
+       } else if (this->_icon) {
                elm_object_signal_emit(this->_layout, "elm,state,tabbar,show", "viewmgr");
                this->_icon = false;
        }
@@ -420,8 +419,7 @@ int UiTabViewImpl::selectTab(int id)
 
        if (evas_object_visible_get(this->_toolbar)) {
                elm_toolbar_item_selected_set(it->_item, EINA_TRUE);
-       }
-       else {
+       } else {
                this->_selectedItem = it;
        }
 
index 6cfc6330c78da6ceadf8b3a5c9eab445cf17b67a..bb845ac135ddc3a56501020483108985d4c0dd6b 100644 (file)
@@ -146,13 +146,10 @@ EAPI int ui_application_run(int argc, char **argv, ui_application_event_s *event
 
        for (int i = 0; i < count; i++)
        {
-               if (events[i].event_type < UI_APPLICATION_EVENT_CREATE)
-               {
+               if (events[i].event_type < UI_APPLICATION_EVENT_CREATE) {
                        LOGE("events[%d] is invalid(%d)", i, events[i].event_type);
                        ret = UI_VIEWMGR_ERROR_INVALID_PARAMETER;
-               }
-               else
-               {
+               } else {
                        app->set_event_cb(events[i].event_type, events[i].event_cb, user_data);
                }
        }
index f8f71388984243eef6c20e6f940e2540fffc024b..95a47d9f44cd4e1eda4cbc58a2a5efbbfcbeb47d 100644 (file)
@@ -316,7 +316,7 @@ EAPI const char *ui_tab_view_get_tab_icon(ui_tab_view *view, int id)
        return capi_view->getTabIcon(id);
 }
 
-EAPI const char *ui_tab_view_get_tab_label(ui_tab_view *view,int id)
+EAPI const char *ui_tab_view_get_tab_label(ui_tab_view *view, int id)
 {
        UiTabViewCapi *capi_view = validate_view(view);
        if (!capi_view) return NULL;
index 88c7fa5c59004c625f9da6e5762e9c535ff5e9f2..683de16ba238b09fd98c8ad6f0480c018d516ede 100644 (file)
@@ -245,8 +245,7 @@ const int *UiIfaceViewImpl::getAvailableRotations(unsigned int *count) const noe
        if (this->_rotationCount > 0) {
                *count = this->_rotationCount;
                return this->_rotations;
-       }
-       else {
+       } else {
                *count = MAX_NUM_OF_AVAILABLE_ROTATIONS;
                return rots;
        }
index 2d73bf8f627d377140b04b3679f47f5cdf40cdc2..a323da8f0cce1bb148fcd47e502148ca7286dae9 100644 (file)
@@ -101,12 +101,9 @@ int UiIfaceViewmgrImpl::insertViewAfter(UiIfaceView *view, UiIfaceView *after)
                if (after == *it) {
                        //If the after is a last item of list, view has to push now.
                        auto it2 = it;
-                       if ((++it2) == this->_viewList.end())
-                       {
+                       if ((++it2) == this->_viewList.end()) {
                                return this->_inst->pushView(view);
-                       }
-                       else
-                       {
+                       } else {
                                this->_viewList.insert(++it, view);
                                return UI_VIEWMGR_ERROR_NONE;
                        }