diff options
Diffstat (limited to 'svx/source/form/navigatortree.cxx')
-rw-r--r-- | svx/source/form/navigatortree.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/svx/source/form/navigatortree.cxx b/svx/source/form/navigatortree.cxx index d3c8f9783470..29d6d8711e86 100644 --- a/svx/source/form/navigatortree.cxx +++ b/svx/source/form/navigatortree.cxx @@ -801,7 +801,7 @@ namespace svxform // 0) the root entry is part of the list (can't DnD the root!) // 1) one of the draged entries is to be dropped onto it's own parent // 2) - " - is to be dropped onto itself - // 3) - " - is a Form and to be dropped onto one of it's descendants + // 3) - " - is a Form and to be dropped onto one of its descendants // 4) one of the entries is a control and to be dropped onto the root // 5) a control or form will be dropped onto a control which is _not_ a sibling (dropping onto a sibling // means moving the control) @@ -1358,7 +1358,7 @@ namespace svxform } catch ( const Exception& ) { - OSL_FAIL("NavigatorTree::NewForm : could not set esssential properties !"); + OSL_FAIL("NavigatorTree::NewForm : could not set essential properties!"); } @@ -1844,7 +1844,7 @@ namespace svxform { // actually i would have to test, if parent is part of m_arr_CurrentSelection ... // but if it's selected, than it's in m_arrCurrentSelection - // or one of it's ancestors, which was selected earlier. + // or one of its ancestors, which was selected earlier. // In both cases IsSelected is enough if (IsSelected(pParentLoop)) break; @@ -1915,11 +1915,11 @@ namespace svxform } // now SelectList contains only entries, which have to be selected - // two possabilities : 1) run through SelectList, get SvTreeListEntry for every entry and select it (is more intuitive) + // two possibilities : 1) run through SelectList, get SvTreeListEntry for every entry and select it (is more intuitive) // 2) run through my SvLBoxEntries and select those, i can find in the SelectList // 1) needs =(k*n) (k=length of SelectList, n=number of entries), // plus the fact, that FindEntry uses extensive IsEqualWithoutChilden instead of comparing pointer to UserData - // 2) needs =(n*log k), dublicates some code from FindEntry + // 2) needs =(n*log k), duplicates some code from FindEntry // This may be a frequently used code ( at every change in mark of the view!), // so i use latter one SvTreeListEntry* pLoop = First(); |