From 8986229648df7f4adaad2606c9fe16b54569781e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Thu, 25 Feb 2016 18:54:44 +0100 Subject: [PATCH] =?utf8?q?PDF::Table:=20Zus=C3=A4tzliche=20header=20richti?= =?utf8?q?grum=20anzeigen?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- modules/override/PDF/Table.pm | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/modules/override/PDF/Table.pm b/modules/override/PDF/Table.pm index fd83d0438..7ebe16fa4 100644 --- a/modules/override/PDF/Table.pm +++ b/modules/override/PDF/Table.pm @@ -584,11 +584,9 @@ sub table if( ref $header_props and $header_props->{'repeat'}) { - for my $idx (0 .. $header_props->{num_header_rows} - 1) { - unshift @$data, [ @{ $header_rows[$idx] } ]; - unshift @$row_col_widths, [ @{ $header_row_widths[$idx] } ]; - unshift @$rows_height, $header_row_heights[$idx]; - } + unshift @$data, @header_rows; + unshift @$row_col_widths, @header_row_widths; + unshift @$rows_height, @header_row_heights; $remaining_header_rows = $header_props->{num_header_rows}; } } -- 2.20.1