mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-04-07 13:55:33 +08:00
Fix Link Border
This commit is contained in:
@ -516,8 +516,6 @@ CAnnot::CBorderType* getBorder(Object* oBorder, bool bBSorBorder)
|
|||||||
{
|
{
|
||||||
pBorderType->nType = annotBorderSolid;
|
pBorderType->nType = annotBorderSolid;
|
||||||
pBorderType->dWidth = ArrGetNum(oBorder, 2);
|
pBorderType->dWidth = ArrGetNum(oBorder, 2);
|
||||||
if (!pBorderType->dWidth)
|
|
||||||
pBorderType->dWidth = 1.0;
|
|
||||||
|
|
||||||
Object oObj;
|
Object oObj;
|
||||||
if (oBorder->arrayGetLength() > 3 && oBorder->arrayGet(3, &oObj)->isArray() && oObj.arrayGetLength() > 1)
|
if (oBorder->arrayGetLength() > 3 && oBorder->arrayGet(3, &oObj)->isArray() && oObj.arrayGetLength() > 1)
|
||||||
|
|||||||
Reference in New Issue
Block a user