lib/write_xlsx/workbook.rb in write_xlsx-1.11.0 vs lib/write_xlsx/workbook.rb in write_xlsx-1.11.1
- old
+ new
@@ -986,10 +986,9 @@
#
def prepare_num_formats # :nodoc:
num_formats = []
unique_num_formats = {}
index = 164
- num_format_count = 0
(@xf_formats + @dxf_formats).each do |format|
num_format = format.num_format
# Check if num_format is an index to a built-in number format.