incubator-ooo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject svn commit: r1142830 - /incubator/ooo/site/trunk/lib/view.pm
Date Mon, 04 Jul 2011 22:26:54 GMT
Author: joes
Date: Mon Jul  4 22:26:54 2011
New Revision: 1142830

URL: http://svn.apache.org/viewvc?rev=1142830&view=rev
Log:
careful not to reduce num of cols on empty entries

Modified:
    incubator/ooo/site/trunk/lib/view.pm

Modified: incubator/ooo/site/trunk/lib/view.pm
URL: http://svn.apache.org/viewvc/incubator/ooo/site/trunk/lib/view.pm?rev=1142830&r1=1142829&r2=1142830&view=diff
==============================================================================
--- incubator/ooo/site/trunk/lib/view.pm (original)
+++ incubator/ooo/site/trunk/lib/view.pm Mon Jul  4 22:26:54 2011
@@ -198,7 +198,7 @@ sub sort_tables {
             next;
         }
         my @rows;
-        push @rows, [split /\s*\|\s*/, shift @orig]
+        push @rows, [split /\s*\|\s*/, shift(@orig), -1]
             while $orig[0] =~ /^\|/;
         shift @$_ for @rows; # dump empty entry at front
         @rows = sort { $a->[$col] cmp $b->[$col] } @rows;



Mime
View raw message