Unnecessary log was removed.
authorKeuckdo Bang <keuckdo.bang@samsung.net>
Thu, 18 Jul 2013 07:25:04 +0000 (16:25 +0900)
committerKeuckdo Bang <keuckdo.bang@samsung.net>
Thu, 18 Jul 2013 07:25:04 +0000 (16:25 +0900)
Change-Id: I1e7907807684f16d5f29a17ba5b47cb54c8402bb

src/ui/controls/FUiCtrl_FrameImpl.cpp
src/ui/controls/FUiCtrl_Indicator.cpp

index 5c0b378..6a49dca 100755 (executable)
@@ -248,7 +248,10 @@ _FormImpl*
 _FrameImpl::GetCurrentForm(void) const
 {
        _Control* pFormCore = GetCore().GetCurrentForm();
-       SysTryReturn(NID_UI_CTRL, pFormCore, null, GetLastResult(), "[%s] Propagating.", GetErrorMessage(GetLastResult()));
+       if (!pFormCore)
+       {
+               return null;
+       }
 
        _FormImpl* pFormImpl = static_cast<_FormImpl*>(pFormCore->GetUserData());
 
index 6a9283f..7327877 100644 (file)
@@ -469,27 +469,6 @@ _Indicator::OnChangeLayout(_ControlOrientation orientation)
                        ecore_x_e_illume_indicator_opacity_set(win, ECORE_X_ILLUME_INDICATOR_OPAQUE);
                }
        }
-
-       _EcoreEvas* pEcoreEvas = GetEcoreEvasMgr()->GetEcoreEvas();
-       int rotation = 0;
-       Ecore_Evas *pPortraitEe = ecore_evas_object_ecore_evas_get(__pPortraitIndicatorEvasObject);
-       SysTryReturnVoidResult(NID_UI_CTRL, pPortraitEe, E_SYSTEM, "[E_SYSTEM] Unable to get evas.");
-       Ecore_Evas *pLandscapeEe = ecore_evas_object_ecore_evas_get(__pLandscapeIndicatorEvasObject);
-       SysTryReturnVoidResult(NID_UI_CTRL, pLandscapeEe, E_SYSTEM, "[E_SYSTEM] Unable to get evas.");
-
-       if (pEcoreEvas && __pWindow)
-       {
-               rotation = pEcoreEvas->GetWindowRotation(*__pWindow);
-       }
-
-       if(rotation == 0 || rotation == 180)
-       {
-               ecore_evas_msg_parent_send(pPortraitEe, MSG_DOMAIN_CONTROL_INDICATOR, MSG_ID_INDICATOR_ROTATION, &rotation, sizeof(int));
-       }
-       else
-       {
-               ecore_evas_msg_parent_send(pLandscapeEe, MSG_DOMAIN_CONTROL_INDICATOR, MSG_ID_INDICATOR_ROTATION, &rotation, sizeof(int));
-       }
 }
 
 result