diff options
author | dohyunglim <delight.lim@samsung.com> | 2017-07-12 02:02:21 +0000 |
---|---|---|
committer | Lim DoHyung <delight.lim@samsung.com> | 2017-07-12 07:54:59 +0000 |
commit | d433ac0e708a2c14afca15bf2639b418f63802ec (patch) | |
tree | a38af83ce9ddf6536cf8f82a7912e071e8a2d58f | |
parent | ccbe4b3e3a4e47fe16c810bfb1107d8ed3e47322 (diff) | |
download | browser-d433ac0e708a2c14afca15bf2639b418f63802ec.tar.gz browser-d433ac0e708a2c14afca15bf2639b418f63802ec.tar.bz2 browser-d433ac0e708a2c14afca15bf2639b418f63802ec.zip |
svace WGID 4044 fixed.
[Issue] Svace
[Problem] HistoryUI have svace initialize issue.
[Solution] I have added to initial code.
[Verify] svace check that pass and browser working done.
Change-Id: I485de0137ca06744ddbd43e2b6d1ff72373e5710
Signed-off-by: dohyunglim <delight.lim@samsung.com>
-rwxr-xr-x | services/HistoryUI/HistoryDaysListManager/mob/WebsiteHistoryItem/WebsiteHistoryItemVisitItemsMob.cpp | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/services/HistoryUI/HistoryDaysListManager/mob/WebsiteHistoryItem/WebsiteHistoryItemVisitItemsMob.cpp b/services/HistoryUI/HistoryDaysListManager/mob/WebsiteHistoryItem/WebsiteHistoryItemVisitItemsMob.cpp index de6a0cd..dfaf301 100755 --- a/services/HistoryUI/HistoryDaysListManager/mob/WebsiteHistoryItem/WebsiteHistoryItemVisitItemsMob.cpp +++ b/services/HistoryUI/HistoryDaysListManager/mob/WebsiteHistoryItem/WebsiteHistoryItemVisitItemsMob.cpp @@ -33,6 +33,14 @@ WebsiteHistoryItemVisitItemsMob::WebsiteHistoryItemVisitItemsMob(WebsiteVisitIte , m_layoutMain(nullptr) , m_boxMainVertical(nullptr) { + m_websiteVisitItem.websiteVisitItemData = websiteVisitItem; + m_websiteVisitItem.layoutVisitItemObjects.layout = nullptr; + m_websiteVisitItem.layoutVisitItemObjects.buttonSelect = nullptr; + m_websiteVisitItem.layoutVisitItemObjects.layerGesture = nullptr; + m_websiteVisitItem.layoutVisitItemObjects.boxMain = nullptr; + m_websiteVisitItem.layoutVisitItemObjects.layoutButtonDelete = nullptr; + m_websiteVisitItem.layoutVisitItemObjects.buttonDelete = nullptr; + m_websiteVisitItem.layoutVisitItemObjects.clickBlocked = false; } WebsiteHistoryItemVisitItemsMob::~WebsiteHistoryItemVisitItemsMob() @@ -102,9 +110,9 @@ WebsiteHistoryItemVisitItemsMob::createLayoutVisitItem( ret.layout = layout; ret.buttonSelect = elm_object_part_content_get(layoutContent, "buttonSelect"); ret.layerGesture = layerGesture; - ret.boxMain= boxMain; + ret.boxMain = boxMain; ret.layoutButtonDelete = layoutButtonDelete; - ret.buttonDelete= elm_object_part_content_get(layoutButtonDelete, "buttonSelect"); + ret.buttonDelete = elm_object_part_content_get(layoutButtonDelete, "buttonSelect"); ret.clickBlocked = false; return ret; } @@ -128,11 +136,11 @@ Evas_Object* WebsiteHistoryItemVisitItemsMob::createLayoutContent(Evas_Object* p char buffer[80]; struct tm ts_ret; - if (localtime_r(&rawtime, &ts_ret)==NULL){ + if (localtime_r(&rawtime, &ts_ret) == NULL) { BROWSER_LOGE("[%s:%d] Warning: Unhandled localtime_r", __PRETTY_FUNCTION__, __LINE__); return nullptr; } - std::strftime(buffer,80,"%R",&ts_ret); + std::strftime(buffer, 80, "%R", &ts_ret); elm_object_translatable_part_text_set(layoutContent, "textTime", buffer); |