Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 279559
Collapse All | Expand All

(-)branches/KDE/3.5/kdegraphics/ksvg/impl/SVGList.h (-1 / +5 lines)
Lines 94-100 Link Here
94
94
95
	T *insertItemBefore(T *newItem, unsigned int index)
95
	T *insertItemBefore(T *newItem, unsigned int index)
96
	{
96
	{
97
		m_impl.insert(index, newItem);
97
		if (index < m_vector.size()) {
98
			m_vector.insert(index, newItem);
99
		} else {
100
			m_vector.append(newItem);
101
		}
98
		return newItem;
102
		return newItem;
99
	}
103
	}
100
104

Return to bug 279559