You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by jo...@apache.org on 2011/07/05 00:59:54 UTC
svn commit: r1142843 - /incubator/ooo/site/trunk/lib/view.pm
Author: joes
Date: Mon Jul 4 22:59:54 2011
New Revision: 1142843
URL: http://svn.apache.org/viewvc?rev=1142843&view=rev
Log:
evade warning at eof
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=1142843&r1=1142842&r2=1142843&view=diff
==============================================================================
--- incubator/ooo/site/trunk/lib/view.pm (original)
+++ incubator/ooo/site/trunk/lib/view.pm Mon Jul 4 22:59:54 2011
@@ -196,7 +196,7 @@ sub sort_tables {
$cur++;
}
unless (defined $col) {
- push @out, shift @orig while $orig[0] =~ /^\|/;
+ push @out, shift @orig while @orig and $orig[0] =~ /^\|/;
next;
}
my @rows;