Modify unused variables of Canvas to resolve Klocwork issue
authorhoonik.lee <hoonik.lee@samsung.com>
Mon, 30 Sep 2013 04:49:04 +0000 (13:49 +0900)
committerhoonik.lee <hoonik.lee@samsung.com>
Mon, 30 Sep 2013 04:49:04 +0000 (13:49 +0900)
Change-Id: I233f02c109cadd03e4377113d94ab97921c6f45e
Signed-off-by: hoonik.lee <hoonik.lee@samsung.com>
src/graphics/FGrp_CanvasGpArc.cpp
src/graphics/FGrp_CanvasImpl.cpp

index 05465dd..f9a18b7 100644 (file)
@@ -36,7 +36,6 @@ namespace // unnamed
 {
 
 const int _ARC_DELTA_SOLID_LINE = 4;
-const int _ARC_DELTA_DOT_LINE = 1;
 const int _MAX_ARC_OUTLINE_POINTS = 20000;
 const int _MAX_STACK_COUNT = 200;
 
index 0554071..cdaf16a 100644 (file)
@@ -2895,7 +2895,7 @@ _CanvasImpl::SetClipBounds(const Rectangle& vcRect)
 
                if (IsSucceeded(r))
                {
-                       _Util::Rectangle<int> vcRect =
+                       _Util::Rectangle<int> vcRevisedRect =
                        {
                                revisedVcRect.x,
                                revisedVcRect.y,
@@ -2903,7 +2903,7 @@ _CanvasImpl::SetClipBounds(const Rectangle& vcRect)
                                revisedVcRect.height
                        };
 
-                       this->_pCoordHolder->AssignClipBoundsFromVcSize(vcRect);
+                       this->_pCoordHolder->AssignClipBoundsFromVcSize(vcRevisedRect);
                }
 
                return r;
@@ -2914,7 +2914,7 @@ _CanvasImpl::SetClipBounds(const Rectangle& vcRect)
 
                if (IsSucceeded(r))
                {
-                       _Util::Rectangle<int> vcRect =
+                       _Util::Rectangle<int> vcRevisedRect =
                        {
                                revisedVcRect.x,
                                revisedVcRect.y,
@@ -2922,7 +2922,7 @@ _CanvasImpl::SetClipBounds(const Rectangle& vcRect)
                                revisedVcRect.height
                        };
 
-                       this->_pCoordHolder->AssignClipBoundsFromVcSize(vcRect);
+                       this->_pCoordHolder->AssignClipBoundsFromVcSize(vcRevisedRect);
                }
 
                return r;