Kaydet (Commit) e0dd0e82 authored tarafından Terrence Enger's avatar Terrence Enger Kaydeden (comit) Caolán McNamara

Resolves: fdo#61688 SIGABRT with debug build in sortIntoBestTabTraversalOrder

Change-Id: I28b125405eda3362d0c71a1e1052ef4d3afbcf34
üst 7470c93a
...@@ -1389,6 +1389,8 @@ void VclBuilder::handleTabChild(Window *pParent, xmlreader::XmlReader &reader) ...@@ -1389,6 +1389,8 @@ void VclBuilder::handleTabChild(Window *pParent, xmlreader::XmlReader &reader)
//we sort these into a best-tab-order sequence //we sort these into a best-tab-order sequence
bool VclBuilder::sortIntoBestTabTraversalOrder::operator()(const Window *pA, const Window *pB) const 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 //sort child order within parent list by grid position
sal_Int32 nTopA = pA->get_grid_top_attach(); sal_Int32 nTopA = pA->get_grid_top_attach();
sal_Int32 nTopB = pB->get_grid_top_attach(); sal_Int32 nTopB = pB->get_grid_top_attach();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment