docvor.cxx (d119d52d) | docvor.cxx (1776ad39) |
---|---|
1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 732 unchanged lines hidden (view full) --- 741 while(i < 2 && p[i+1] != INDEX_IGNORE) 742 { 743 pChildIter = FirstChild(pParentIter); 744 // bis zum Index der aktuellen Ebene 745 for(sal_uInt16 j = 0; j < p[i]; ++j) 746 pChildIter = NextSibling(pChildIter); 747 // gfs Fuellen bei Items onDemand 748 ++i; | 1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 732 unchanged lines hidden (view full) --- 741 while(i < 2 && p[i+1] != INDEX_IGNORE) 742 { 743 pChildIter = FirstChild(pParentIter); 744 // bis zum Index der aktuellen Ebene 745 for(sal_uInt16 j = 0; j < p[i]; ++j) 746 pChildIter = NextSibling(pChildIter); 747 // gfs Fuellen bei Items onDemand 748 ++i; |
749 if(p[i+1] != INDEX_IGNORE && | 749 if((i < 2) && p[i+1] != INDEX_IGNORE && |
750 pChildIter->HasChildsOnDemand() && 751 !GetModel()->HasChilds(pChildIter)) 752 RequestingChilds(pChildIter); 753 pParentIter = pChildIter; 754 } 755 rIdx = p[i]; 756 pNewParent = pParentIter; 757 if(!IsExpanded(pNewParent) && --- 1719 unchanged lines hidden --- | 750 pChildIter->HasChildsOnDemand() && 751 !GetModel()->HasChilds(pChildIter)) 752 RequestingChilds(pChildIter); 753 pParentIter = pChildIter; 754 } 755 rIdx = p[i]; 756 pNewParent = pParentIter; 757 if(!IsExpanded(pNewParent) && --- 1719 unchanged lines hidden --- |