From 36b7990d6ba1036823abf7a01ec8cf74509d4910 Mon Sep 17 00:00:00 2001 From: xuri Date: Mon, 15 Feb 2021 00:09:35 +0800 Subject: lint issue fixed and new formula function: ATAN, AVERAGE, AVERAGEA, CONCAT, CONCATENATE, COUNT, COUNTBLANK, MAX --- drawing.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'drawing.go') diff --git a/drawing.go b/drawing.go index f0eb7e9..2518651 100644 --- a/drawing.go +++ b/drawing.go @@ -1,4 +1,4 @@ -// Copyright 2016 - 2020 The excelize Authors. All rights reserved. Use of +// Copyright 2016 - 2021 The excelize Authors. All rights reserved. Use of // this source code is governed by a BSD-style license that can be found in // the LICENSE file. // @@ -51,7 +51,6 @@ func (f *File) prepareChartSheetDrawing(cs *xlsxChartsheet, drawingID int, sheet cs.Drawing = &xlsxDrawing{ RID: "rId" + strconv.Itoa(rID), } - return } // addChart provides a function to create chart as xl/charts/chart%d.xml by @@ -1272,7 +1271,6 @@ func (f *File) addSheetDrawingChart(drawingXML string, rID int, formatSet *forma } content.AbsoluteAnchor = append(content.AbsoluteAnchor, &absoluteAnchor) f.Drawings[drawingXML] = content - return } // deleteDrawing provides a function to delete chart graphic frame by given by -- cgit v1.2.1