From: wonyoung12.lee Date: Thu, 4 Apr 2013 06:07:12 +0000 (+0900) Subject: Modify Prevent X-Git-Tag: accepted/tizen_2.1/20130425.033138~456^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4b001f99e93728ab8fa1ada017b98f5a4b2d77f3;p=platform%2Fframework%2Fnative%2Fuifw.git Modify Prevent Change-Id: I78eb13e7f505f5f402fed9db8ed3b2068901a973 Signed-off-by: wonyoung12.lee --- diff --git a/src/ui/controls/FUiCtrl_IconListPresenter.cpp b/src/ui/controls/FUiCtrl_IconListPresenter.cpp old mode 100755 new mode 100644 index 3e21abb..ce20b2a --- a/src/ui/controls/FUiCtrl_IconListPresenter.cpp +++ b/src/ui/controls/FUiCtrl_IconListPresenter.cpp @@ -3422,6 +3422,11 @@ _IconListPresenter::OnTickOccurred(const VisualElementAnimation& animation, cons { Canvas* pCanvas = __pCheckAnimationVE->GetCanvasN(); + if (pCanvas == null) + { + return; + } + const Bitmap* pBitmap = null; pBitmap = IsItemChecked(__checkedIndex) ? __pItemDrawingProperty->GetCheckBitmap(): null; @@ -4470,6 +4475,12 @@ _IconListPresenter::StartCheckAnimation(int index) const Bitmap* pBackgroundBitmap = __pListModel->IsItemEnabled(DEFAULT_GROUP_INDEX, index) ? (IsItemChecked(index) ? __pItemDrawingProperty->GetCheckedBackgroundBitmap() : __pItemDrawingProperty->GetUnCheckedBackgroundBitmap()) : __pItemDrawingProperty->GetDisabledCheckBitmap(); Canvas* pCheckBgCanvas = pItem->GetCheckBGVisualElement()->GetCanvasN(); + + if (pCheckBgCanvas == null) + { + return; + } + pCheckBgCanvas->SetBackgroundColor(Color(0, 0, 0, 0)); pCheckBgCanvas->Clear();