diff options
| author | 2023-02-08 00:40:16 -0500 | |
|---|---|---|
| committer | 2023-02-08 00:40:16 -0500 | |
| commit | b0bc0772184c68b8d4baac678c5fb707dc23af7f (patch) | |
| tree | 62c95563dd5d57e9db8268227acf4cc91e75af04 /lib/roo/excelx/workbook.rb | |
| parent | e44f5d5d1935ee40a6bbb232e649d91e8aa9ce74 (diff) | |
| parent | ae103e148eb3c15606b816505492d870ef062ad3 (diff) | |
Update upstream source from tag 'upstream/2.10.0'
Update to upstream version '2.10.0'
with Debian dir 3c0f78b1f632920ec992d7bf7e43a8b0ced0b21d
Diffstat (limited to 'lib/roo/excelx/workbook.rb')
| -rw-r--r-- | lib/roo/excelx/workbook.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/roo/excelx/workbook.rb b/lib/roo/excelx/workbook.rb index c21bb1f..aba5720 100644 --- a/lib/roo/excelx/workbook.rb +++ b/lib/roo/excelx/workbook.rb @@ -32,6 +32,7 @@ module Roo doc.xpath('//definedName').each_with_object({}) do |defined_name, hash| # "Sheet1!$C$5" sheet, coordinates = defined_name.text.split('!$', 2) + next unless coordinates col, row = coordinates.split('$') name = defined_name['name'] hash[name] = Label.new(name, sheet, row, col) |
