Change-Id: I78eb13e7f505f5f402fed9db8ed3b2068901a973
Signed-off-by: wonyoung12.lee <wonyoung12.lee@samsung.com>
{
Canvas* pCanvas = __pCheckAnimationVE->GetCanvasN();
+ if (pCanvas == null)
+ {
+ return;
+ }
+
const Bitmap* pBitmap = null;
pBitmap = IsItemChecked(__checkedIndex) ? __pItemDrawingProperty->GetCheckBitmap(): null;
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();