From: seungho Date: Thu, 17 Dec 2020 03:21:06 +0000 (+0900) Subject: Remove unnecessary log in the npatch-loader X-Git-Tag: dali_2.0.6~4 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=commitdiff_plain;h=fc027ff84ee578856b2dc2fc201b5bf2777d6b98 Remove unnecessary log in the npatch-loader - GetNPatchData method is allowed that can be called before npatchData is created.(like GetNaturalSize) - And, to fail to find cache with the id is not an error too. - Therefore, this patch removes the error log from the GetCacheIndexFromId Change-Id: If88dc611d8e5ad7431ae4485a5cbc8e2e08a4111 Signed-off-by: seungho --- diff --git a/dali-toolkit/internal/visuals/npatch-loader.cpp b/dali-toolkit/internal/visuals/npatch-loader.cpp index f5d92ab..f0b154a 100644 --- a/dali-toolkit/internal/visuals/npatch-loader.cpp +++ b/dali-toolkit/internal/visuals/npatch-loader.cpp @@ -155,7 +155,6 @@ int32_t NPatchLoader::GetCacheIndexFromId( const NPatchData::NPatchDataId id ) } } - DALI_LOG_ERROR("Wrong NPatchDataId is used\n"); return INVALID_CACHE_INDEX; }