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:35:55 UTC
svn commit: r1142834 - /incubator/ooo/site/trunk/lib/view.pm
Author: joes
Date: Mon Jul 4 22:35:55 2011
New Revision: 1142834
URL: http://svn.apache.org/viewvc?rev=1142834&view=rev
Log:
stop at first sorted col
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=1142834&r1=1142833&r2=1142834&view=diff
==============================================================================
--- incubator/ooo/site/trunk/lib/view.pm (original)
+++ incubator/ooo/site/trunk/lib/view.pm Mon Jul 4 22:35:55 2011
@@ -186,10 +186,12 @@ sub sort_tables {
if ($data =~ tr/v/v/) {
$col = $cur;
$direction = -1;
+ last;
}
elsif ($data =~ tr/^/^/) {
$col = $cur;
$direction = 1;
+ last;
}
$cur++;
}