diff options
author | Sergey Pisarchik <pisarchik@mapswithme.com> | 2014-05-18 06:42:42 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:15:34 +0300 |
commit | 8b52ed81b681cdaa369819f38d5dd6ac89c34db6 (patch) | |
tree | 98ffff23ebd4b5f6e38bc403b309b07135696ab2 /tizen/MapsWithMe | |
parent | 45c958c21ace186f0e23e4a2076cbed5dedc8ebe (diff) |
[Tizen] review fix
Diffstat (limited to 'tizen/MapsWithMe')
-rw-r--r-- | tizen/MapsWithMe/src/FormFactory.cpp | 8 | ||||
-rw-r--r-- | tizen/MapsWithMe/src/MapsWithMeForm.cpp | 6 |
2 files changed, 7 insertions, 7 deletions
diff --git a/tizen/MapsWithMe/src/FormFactory.cpp b/tizen/MapsWithMe/src/FormFactory.cpp index ffa82ed869..bf4760515f 100644 --- a/tizen/MapsWithMe/src/FormFactory.cpp +++ b/tizen/MapsWithMe/src/FormFactory.cpp @@ -44,11 +44,11 @@ Tizen::Ui::Controls::Form * FormFactory::CreateFormN(String const & formId, Scen pNewForm = pForm; } else if (formId == FORM_ABOUT) - { + { AboutForm * pForm = new (std::nothrow) AboutForm(); - pForm->Initialize(); - pNewForm = pForm; - } + pForm->Initialize(); + pNewForm = pForm; + } return pNewForm; } diff --git a/tizen/MapsWithMe/src/MapsWithMeForm.cpp b/tizen/MapsWithMe/src/MapsWithMeForm.cpp index 54e07702a8..22674c29ce 100644 --- a/tizen/MapsWithMe/src/MapsWithMeForm.cpp +++ b/tizen/MapsWithMe/src/MapsWithMeForm.cpp @@ -144,7 +144,7 @@ void MapsWithMeForm::OnActionPerformed(Tizen::Ui::Control const & source, int ac break; case ID_BUTTON_SETTINGS: { - SceneManager* pSceneManager = SceneManager::GetInstance(); + SceneManager * pSceneManager = SceneManager::GetInstance(); pSceneManager->GoForward(ForwardSceneTransition(SCENE_SETTINGS, SCENE_TRANSITION_ANIMATION_TYPE_LEFT, SCENE_HISTORY_OPTION_ADD_HISTORY, SCENE_DESTROY_OPTION_KEEP)); break; } @@ -173,7 +173,7 @@ void MapsWithMeForm::OnLocationUpdated(const Tizen::Locations::Location& locatio { ::Framework * pFramework = tizen::Framework::GetInstance(); location::GpsInfo info; - Coordinates const & coord = location.GetCoordinates(); + Coordinates const & coord = location.GetCoordinates(); info.m_source = location::ETizen; info.m_timestamp = detail::ConverToSecondsFrom1970(location.GetTimestamp());//!< seconds from 1st Jan 1970 info.m_latitude = coord.GetLatitude(); //!< degrees @@ -343,7 +343,7 @@ void MapsWithMeForm::OnTouchFocusOut(Tizen::Ui::Control const & source, void MapsWithMeForm::OnFormBackRequested(Tizen::Ui::Controls::Form& source) { - UiApp* pApp = UiApp::GetInstance(); + UiApp * pApp = UiApp::GetInstance(); AppAssert(pApp); pApp->Terminate(); } |