[LocalContent] Change deprecated api
authorSeokpil Park <seokpil.park@samsung.com>
Wed, 8 May 2013 02:49:41 +0000 (11:49 +0900)
committerSeokpil Park <seokpil.park@samsung.com>
Wed, 8 May 2013 02:49:44 +0000 (11:49 +0900)
Change-Id: I2e8e4e82ed27d3f4f01d6ba947141b0bed4e9aba
Signed-off-by: Seokpil Park <seokpil.park@samsung.com>
project/src/MainForm.cpp
project/src/SearchResultForm.cpp

index e60bd35..c9be87e 100644 (file)
@@ -100,7 +100,7 @@ MainForm::OnInitializing(void)
        TryCatch(E_SUCCESS == r, , "ListView::SetItemProvider() failed by %s.", GetErrorMessage(r));
 
        __pListView->AddListViewItemEventListener(*this);
-       r = this->AddControl(*__pListView);
+       r = this->AddControl(__pListView);
        TryCatch(E_SUCCESS == r, , "AddControl() failed by %s.", GetErrorMessage(r));
 
        SetDefaultContentType();
index 36bb66f..34f3d39 100644 (file)
@@ -74,7 +74,7 @@ SearchResultForm::OnInitializing(void)
        __pListView->SetTextOfEmptyList(L"Empty list");
        __pListView->SetItemProvider(*this);
        __pListView->AddListViewItemEventListener(*this);
-    AddControl(*__pListView);
+    AddControl(__pListView);
 
        return r;
 }