lib/writeexcel/properties.rb in writeexcel-1.0.5 vs lib/writeexcel/properties.rb in writeexcel-1.0.6
- old
+ new
@@ -176,10 +176,10 @@
#
# Pack an OLE property type: VT_I2, 16-bit signed integer.
#
def pack_VT_I2(value) #:nodoc:
type = 0x0002
- data = [type, value].pack('VV')
+ [type, value].pack('VV')
end
###############################################################################
#
# _pack_VT_LPSTR().