20
0

remove unnecessary log output

This commit is contained in:
Liu Ming 2015-10-30 16:03:44 +08:00
parent ddee605f8f
commit 6130495e06
2 changed files with 0 additions and 6 deletions

View File

@ -4,7 +4,6 @@ import (
"bytes"
"encoding/binary"
"io"
"log"
"unicode/utf16"
)
@ -136,7 +135,6 @@ func (wb *WorkBook) parseBof(buf io.ReadSeeker, b *bof, pre *bof, offset_pre int
binary.Read(buf_item, binary.LittleEndian, &f.Head)
f.str = wb.get_string(buf_item, f.Head.Size)
wb.addFormat(f)
log.Println(f.Head.Index, f.str)
}
return
}

View File

@ -4,7 +4,6 @@ import (
"encoding/binary"
"fmt"
"io"
"log"
"unicode/utf16"
)
@ -126,7 +125,6 @@ func (w *WorkSheet) parseBof(buf io.ReadSeeker, b *bof, pre *bof) *bof {
buf.Seek(2, 1)
hy.ExtendedFilePath = b.utf16String(buf, count/2+1)
}
log.Println(hy)
}
}
if flag&0x8 != 0 {
@ -139,10 +137,8 @@ func (w *WorkSheet) parseBof(buf io.ReadSeeker, b *bof, pre *bof) *bof {
w.addRange(&hy.CellRange, &hy)
case 0x809:
log.Println("sheet start")
buf.Seek(int64(b.Size), 1)
case 0xa:
log.Println("sheet end")
default:
// log.Printf("Unknow %X,%d\n", b.Id, b.Size)
buf.Seek(int64(b.Size), 1)