diff options
| author | 2023-02-08 00:39:56 -0500 | |
|---|---|---|
| committer | 2023-02-08 00:39:56 -0500 | |
| commit | ae103e148eb3c15606b816505492d870ef062ad3 (patch) | |
| tree | b7916225d76ac8d1db28feff7aa46a4ee672b3dc /lib/roo/excelx/workbook.rb | |
| parent | f5fb17e5a64b215644bc104f099dad8c2f10c37d (diff) | |
New upstream version 2.10.0.upstream/2.10.0
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) |
