| 1775 | (int)item.context, stack.Size()); |
| 1776 | } |
| 1777 | |
| 1778 | for (int i = 0; i < _sections.Size(); i++) |
| 1779 | { |
| 1780 | _sections[i].fields.Compact(); |
| 1781 | _sections[i].names.Compact(); |
| 1782 | _sections[i].rows.Compact(); |
| 1783 | } |
| 1784 | _sections.Compact(); |
| 1785 | _bookmarks.Compact(); |
| 1786 | } |
| 1787 | |
| 1788 | void CHTMLContainer::RemoveSection(int s) |
| 1789 | { |
| 1790 | _sections.Delete(s); |
| 1791 | } |
| 1792 | |
| 1793 | void CHTMLContainer::CopySection(int from, int to) |
| 1794 | { |
| 1795 | if (from < 0 || from >= _sections.Size()) |
| 1796 | { |
| 1797 | return; |
| 1798 | } |
| 1799 | if (to < 0 || to >= _sections.Size()) |
| 1800 | { |
no test coverage detected