Fixed Svace issues 57/74057/2 submit/tizen/20160610.145239
authorAleksandr Sapozhnik <a.sapozhnik@samsung.com>
Fri, 10 Jun 2016 14:01:45 +0000 (17:01 +0300)
committerAleksandr Sapozhnik <a.sapozhnik@samsung.com>
Fri, 10 Jun 2016 14:03:43 +0000 (17:03 +0300)
Change-Id: I3e9c1353d811c71cd116edb64fe2ff8fb1a97ee3
Signed-off-by: Aleksandr Sapozhnik <a.sapozhnik@samsung.com>
lib-phone/src/Phone/Dialer/DialerView.cpp

index 313d96d..fd0a5fb 100644 (file)
@@ -104,10 +104,10 @@ void DialerView::onPageAttached(Ui::NavigatorPage *page)
 
 void DialerView::onNavigation(bool isCurrentView)
 {
-       Evas_Object *conf = findParent<Ui::Window>()->getConformant();
-       if (!conf) {
-               return;
-       }
+       Ui::Window *window = findParent<Ui::Window>();
+       RETM_IF(!window, "findParent() failed");
+
+       Evas_Object *conf = window->getConformant();
        if (isCurrentView) {
                elm_object_signal_emit(conf, "elm,state,virtualkeypad,disable", "");
                elm_object_signal_emit(conf, "elm,state,clipboard,disable", "");