summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/lualatex/odsfile/odsfile.lua
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/lualatex/odsfile/odsfile.lua')
-rw-r--r--Master/texmf-dist/tex/lualatex/odsfile/odsfile.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/lualatex/odsfile/odsfile.lua b/Master/texmf-dist/tex/lualatex/odsfile/odsfile.lua
index 406700b9b3a..ffd47229aca 100644
--- a/Master/texmf-dist/tex/lualatex/odsfile/odsfile.lua
+++ b/Master/texmf-dist/tex/lualatex/odsfile/odsfile.lua
@@ -87,8 +87,7 @@ function getColumnCount(tbl)
local columns = tbl["table:table-column"] or {}
local x = 0
for _, c in pairs(columns) do
- local attr = c["_attr"] or {}
- local rep = attr["table:number-columns-repeated"] or 1
+ local rep = c["table:number-columns-repeated"] or 1
x = x + rep
end
return x