lib/axlsx/package.rb in axlsx-1.2.2 vs lib/axlsx/package.rb in axlsx-1.2.3
- old
+ new
@@ -240,10 +240,9 @@
# Appends override objects for drawings, charts, and sheets as they exist in your workbook to the default content types.
# @return [ContentType]
# @private
def content_types
c_types = base_content_types
-
workbook.drawings.each do |drawing|
c_types << Axlsx::Override.new(:PartName => "/xl/#{drawing.pn}",
:ContentType => DRAWING_CT)
end