From 167554bfeca1bca54e36d761e2be159358736c9e Mon Sep 17 00:00:00 2001 From: xuri Date: Mon, 14 May 2018 10:12:46 +0800 Subject: Improve unit testing, remove redundant code. --- sheet.go | 6 ------ 1 file changed, 6 deletions(-) (limited to 'sheet.go') diff --git a/sheet.go b/sheet.go index cb50d61..10a0fdb 100644 --- a/sheet.go +++ b/sheet.go @@ -193,12 +193,6 @@ func (f *File) setAppXML() { // library doesn't multiple namespace declarations in a single element of a // document. This function is a horrible hack to fix that after the XML // marshalling is completed. -func replaceRelationshipsNameSpace(workbookMarshal string) string { - oldXmlns := `` - newXmlns := `` - return strings.Replace(workbookMarshal, oldXmlns, newXmlns, -1) -} - func replaceRelationshipsNameSpaceBytes(workbookMarshal []byte) []byte { oldXmlns := []byte(``) newXmlns := []byte(``) -- cgit v1.2.1