mirror of
https://gitee.com/openharmony/graphic_graphic_2d
synced 2024-11-23 15:11:51 +00:00
Fix codecheck issues
Signed-off-by: Ilya Tihobaev <tihobaev.ilya@huawei-partners.com> Change-Id: I200d24de6c72cc4df09c278f65950c50ca931233
This commit is contained in:
parent
11e29286e4
commit
9906e2de6d
@ -502,7 +502,6 @@ napi_value JsPen::GetFillPath(napi_env env, napi_callback_info info)
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
|
||||
Rect* rect = nullptr;
|
||||
napi_valuetype isRectNullptr;
|
||||
napi_typeof(env, argv[ARGC_TWO], &isRectNullptr);
|
||||
@ -521,7 +520,6 @@ napi_value JsPen::GetFillPath(napi_env env, napi_callback_info info)
|
||||
|
||||
return CreateJsValue(env, pen->GetFillPath(*src->GetPath(),
|
||||
*dst->GetPath(), rect, matrix->GetMatrix() ? *matrix->GetMatrix().get() : Matrix()));
|
||||
|
||||
}
|
||||
|
||||
Pen* JsPen::GetPen()
|
||||
|
Loading…
Reference in New Issue
Block a user