vcl/source/window/builder.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit e0dd0e821b9b29e7489e0a17f7c43ef45c0941e9
Author: Terrence Enger <ten...@iseries-guru.com>
Date:   Wed Apr 3 10:44:58 2013 +0100

    Resolves: fdo#61688 SIGABRT with debug build in 
sortIntoBestTabTraversalOrder
    
    Change-Id: I28b125405eda3362d0c71a1e1052ef4d3afbcf34

diff --git a/vcl/source/window/builder.cxx b/vcl/source/window/builder.cxx
index d466f42..a971614 100644
--- a/vcl/source/window/builder.cxx
+++ b/vcl/source/window/builder.cxx
@@ -1389,6 +1389,8 @@ void VclBuilder::handleTabChild(Window *pParent, 
xmlreader::XmlReader &reader)
 //we sort these into a best-tab-order sequence
 bool VclBuilder::sortIntoBestTabTraversalOrder::operator()(const Window *pA, 
const Window *pB) const
 {
+    if (pA == pB)
+        return false;
     //sort child order within parent list by grid position
     sal_Int32 nTopA = pA->get_grid_top_attach();
     sal_Int32 nTopB = pB->get_grid_top_attach();
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to